Champion Shoes (Shadow)

Item ID 24025 Name Champion Shoes (Shadow)
A pair of shoes worn on top of normal shoes for additional defense. Needs a complete set to have bonus effect.
_______________________
MaxHP +20
MaxSP +10
_______________________
Refine Level +7:
MaxHP +1%
MaxSP +1%
_______________________
When equipped with Hard Shadow Armor:
For each Refine Level of entire set:
MaxHP and MaxSP +1
_______________________
Total Refine Level of entire set at least +15:
MaxHP +1%
_______________________
Type: Shadow Shoes
_______________________
Requirement: None
Weapon Level 0 Identifier S_Champion_Shoes
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shoes
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,20+.@r*10;
bonus bMaxSP,10;
if (.@r>6) {
   bonus bMaxHPrate,1;
   bonus bMaxSPrate,1;
}

Set Script
Champion Shoes (Shadow)
Hard Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_ARMOR) + getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bMaxHP,.@r;
bonus bMaxSP,.@r;
if (.@r >= 15) {
   bonus bMaxHPrate,1;
}