.@r = getequiprefinerycnt(EQI_HAND_R);
if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_STAFF || getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_2HSTAFF) {
   bonus2 bMagicAtkEle,Ele_Wind,10;
}
if (.@r>=10) {
   bonus2 bMagicAtkEle,Ele_Wind,10;
}
if (.@r>=14) {
   bonus2 bMagicAtkEle,Ele_Wind,10;
}