Bearer's Shadow Shield

Item ID 24182 Name Bearer's Shadow Shield
A small shield worn on the arm for additional defense. Needs a complete set to have bonus effect.
_______________________
DEF +5
_______________________
For each 2 Refine Levels:
DEF +1
_______________________
When equipped with Bearer's Shadow Weapon, Bearer's Shadow Armor, Bearer's Shadow Shoes, Bearer's Shadow Earring and Bearer's Shadow Pendant:
All Basic Stats +1
_______________________
Total Refine Level of entire set at least +45:
Enables unlimited effect of Endure.
MaxHP -60%
_______________________
For each Refine Level of entire set:
MaxHP +1%
_______________________
Type: Shadow Shield
_______________________
Requirement: None
Weapon Level 0 Identifier S_Bearers_Shield
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shield
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,.@r*10;
bonus bDef,5+(.@r/2);

Set Script
Bearer's Shadow Armor
Bearer's Shadow Shoes
Bearer's Shadow Shield
Bearer's Shadow Weapon
Bearer's Shadow Earring
Bearer's Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bAllStats,1;
if (.@r >= 45) {
   bonus bMaxHPrate,(.@r-60);
   bonus bNoWalkDelay;
}
Bearer's Shadow Armor
Bearer's Shadow Shoes
Bearer's Shadow Shield
Bearer's Shadow Weapon
Bearer's Shadow Earring
Bearer's Shadow Pendant II
.@r = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bAllStats,1;
if (.@r >= 45) {
   bonus bMaxHPrate,(.@r-60);
   bonus bNoWalkDelay;
}