.@r = getrefine();
bonus bMatkRate,5;
if (getiteminfo(getequipid(EQI_HAND_R),11) == W_2HSTAFF) {
   bonus2 bMagicAtkEle,Ele_All,10+2*(.@r/3);
   if (BaseLevel>=200 && eaclass()&EAJL_THIRD && BaseJob == Job_Wizard) {
      bonus2 bMagicAtkEle,Ele_All,3*(.@r/3);
   }
}