Item Use Script |
1 .@r = getrefine(); bonus2 bStuffResistRate,4,10*.@r; bonus2 bSubEle,Ele_Earth,.@r; bonus2 bAddEle,Ele_Earth,.@r; bonus2 bMagicAddEle,Ele_Earth,.@r; if(readparam(bStr)>=99) { bonus bNoWeaponDamage,7; } if(readparam(bAgi)>=99) { bonus bDelayrate,-7; } if(readparam(bVit)>=99) { bonus bAddItemHealRate,10; } if(readparam(bInt)>=99) { bonus bNoMagicDamage,7; } if(readparam(bDex)>=90) { bonus bCastrate,-7; } if(readparam(bLuk)>=99) { bonus bCriticalDef,10; bonus2 bResEff,Eff_All,1000; } callfunc "GetArmorDef",EQI_VHEAVY,EQI_HAND_L,yes,no; |