Boots of Good and Evil (Spirit Handler)

Item ID 470212 Name Boots of Good and Evil (Spirit Handler)
A pair of boots which contain the power of good and evil.
_______________________
For each 2 Refine Levels:
MaxHP +1%, MaxSP +1%.
_______________________
Refine Level +7:
ATK +7%, MATK +7%
_______________________
Refine Level +9:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +11:
Decreases Fixed Casting Time by 0.5 seconds.
_______________________
[Bonus by Grade]
[Grade D]: RES +50, MRES +50.
[Grade C]: Damage against enemies of every size +10%.
[Grade B]: P.ATK +7, S.MATK +7.
[Grade A]: Fixed Casting Time -0.5 seconds.
_______________________
Type: Shoes
Defense: 20
Weight: 60
Armor Level: 2
_______________________
Requirement:
Base Level 210
Spirit Handler
Weapon Level 0 Identifier FateSin_Boots_SH
Attack 0 Type Armor
MATK 0 Equip Locations Footgear
Defense 20 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 60 Min Equip Level 210
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bMaxHP,500;
bonus bMaxSP,100;
bonus bMaxHPrate,(.@r/2);
bonus bMaxSPrate,(.@r/2);
if (.@r>=7) {
   bonus bAtkRate,7;
   bonus bMatkRate,7;
   if (.@r>=9) {
      bonus bVariableCastrate,-10;
      if (.@r>=11) {
         bonus bFixedCast,-500;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMRes,50;
   bonus bRes,50;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bAddSize,Size_All,10;
      bonus2 bMagicAddSize,Size_All,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bPAtk,7;
         bonus bSMatk,7;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bFixedCast,-500;
         }
      }
   }
}