Unknown Luck Boots

Item ID 470077 Name Unknown Luck Boots
Old shoes that have been eroded by an unknown force.
Whenever the wearer is lucky, he can feel the boots react.
_______________________
For each 2 Refine Levels:
ATK +15
_______________________
For each 3 Refine Levels:
MaxHP +100
MaxSP +8
_______________________
Refine Level +9:
Increases Attack Speed (decreases After Attack Delay by 7%).
_______________________
Refine Level +11:
Physical attacks have a random chance to increase LUK by 175 for 10 seconds.
_______________________
Refine Level +13:
Critical +7
Increases Critical Damage by 7%.
ATK +7%
_______________________
[Bonus by Grade]
[Grade D]: Physical attacks have a random chance to increase LUK by 25 for 10 seconds.
[Grade C]: Physical attacks have a random chance to increase LUK by 25 for 10 seconds.
_______________________
Type: Shoes
Defense: 65
Weight: 72
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier MD_Airboat_Boots6
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 72 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 bBaseAtk,15*(.@r/2);
bonus bMaxHP,100*(.@r/3);
bonus bMaxSP,8*(.@r/3);
if (.@r>=9) {
   bonus bAspdRate,7;
   if (.@r>=11) {
      autobonus "{ .@g = getenchantgrade(); if (.@g >= ENCHANTGRADE_D) { .@val = 25; if (.@g >= ENCHANTGRADE_C) { .@val += 25; } } bonus bLuk,175+.@val; }",1,10000,BF_WEAPON;
      if (.@r>=13) {
         bonus bCritAtkRate,7;
         bonus bCritical,7;
         bonus bAtkRate,7;
      }
   }
}

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