.@r = getequiprefinerycnt(EQI_HAND_R); .@matk = 15*.@r; if (.@r >= 10) { .@matk += 50; bonus bVariableCastrate,-10; } bonus bMatk,.@matk;