if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_2HSWORD) { bonus bCritAtkRate,20; } bonus bCritAtkRate,2*(getrefine()/2);