Banishing Cannon Shadow Armor

Item ID 24578 Name Banishing Cannon Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases damage of Banishing Point by 5%.
_______________________
For each 2 Refine Levels:
Increases damage of Cannon Spear by additional 2%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 99
Royal Guard
Weapon Level 0 Identifier S_Banish_Cannon_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Crusader
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 99
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;
bonus2 bSkillAtk,"LG_BANISHINGPOINT",5;
bonus2 bSkillAtk,"LG_CANNONSPEAR",(.@r/2)*2;

Set Script
Banishing Cannon Shadow Shield
Banishing Cannon Shadow Armor
Banishing Cannon Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus2 bSkillAtk,"LG_BANISHINGPOINT",.@sum/2;
bonus2 bSkillAtk,"LG_CANNONSPEAR",.@sum/2;