Small Shadow Armor

Item ID 24074 Name Small Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Decreases damage taken from Small size by 2%.
_______________________
Refine Level +7:
Decreases damage taken from Small size by 1%.
_______________________
Refine Level +9:
Decreases damage taken from Small size by 2%.
_______________________
When equipped with Small Shadow Weapon:
MaxHP +1%
MaxSP +1%
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_Small_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
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
bonus2 bSubSize,Size_Small,2;
.@r = getrefine();
bonus bMaxHP,.@r*10;
if (.@r>=7) {
   bonus2 bSubSize,Size_Small,1;
}
if (.@r>=9) {
   bonus2 bSubSize,Size_Small,2;
}

Set Script
Small Shadow Armor
Small Shadow Weapon
bonus bMaxHPrate,1;
bonus bMaxSPrate,1;