Unknown Vitality Boots

Item ID 470073 Name Unknown Vitality Boots
Old shoes that have been eroded by an unknown force.
Whenever the wearer feels pain, he can feel the boots react.
_______________________
For each 2 Refine Levels:
ATK +10
MATK +10
_______________________
For each 3 Refine Levels:
MaxHP +150
MaxSP +15
_______________________
Refine Level +9:
Decreases Variable Casting Time by 5%.
Increases Attack Speed (decreases After Attack Delay by 5%).
_______________________
Refine Level +11:
Physical and magical attacks have a random chance to increase VIT by 175 for 10 seconds.
_______________________
Refine Level +13:
Decreases After Skill Delay by 5%.
_______________________
[Bonus by Grade]
[Grade D]: Physical and magical attacks have a random chance to increase VIT by 25 for 10 seconds.
[Grade C]: Physical and magical attacks have a random chance to increase VIT by 25 for 10 seconds.
_______________________
Type: Shoes
Defense: 65
Weight: 75
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier MD_Airboat_Boots3
Attack 0 Type Armor
MATK 0 Equip Locations Footgear
Defense 65 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 75 Min Equip Level 230
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMatk,10*(.@r/2);
bonus bBaseAtk,10*(.@r/2);
bonus bMaxHP,150*(.@r/3);
bonus bMaxSP,15*(.@r/3);
if (.@r>=9) {
   bonus bAspdRate,5;
   bonus bVariableCastrate,-5;
   if (.@r>=11) {
      autobonus "{ .@g = getenchantgrade(); if (.@g >= ENCHANTGRADE_D) { .@val = 25; if (.@g >= ENCHANTGRADE_C) { .@val += 25; } } bonus bVit,175+.@val; }",1,10000,BF_WEAPON|BF_MAGIC;
      if (.@r>=13) {
         bonus bDelayrate,-5;
      }
   }
}

Set Script
Song of Hero
Unknown Vitality Boots
bonus bAllStats,10;
bonus bDelayrate,-25;