Super Magic Shadow Armor

Item ID 24617 Name Super Magic 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 Fire Bolt, Cold Bolt and Lightning Bolt by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Fire Bolt, Cold Bolt and Lightning Bolt by additional 4%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 99
Novice
Weapon Level 0 Identifier S_Super_Magic_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Novice, Super novice
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
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,"MG_LIGHTNINGBOLT",10+4*(.@r/2);
bonus2 bSkillAtk,"MG_FIREBOLT",10+4*(.@r/2);
bonus2 bSkillAtk,"MG_COLDBOLT",10+4*(.@r/2);

Set Script
Super Magic Shadow Shield
Super Magic Shadow Armor
Super Magic Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_SHOES)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bSkillAtk,"MG_FIREBOLT",.@sum*2;
bonus2 bSkillAtk,"MG_COLDBOLT",.@sum*2;
bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",.@sum*2;
bonus2 bSkillAtk,"WZ_HEAVENDRIVE",.@sum*2;
bonus2 bSkillAtk,"WZ_STORMGUST",.@sum*2;
bonus2 bSkillAtk,"WZ_VERMILION",.@sum*2;
bonus2 bSkillAtk,"WZ_METEOR",.@sum*2;
skill "PF_DOUBLECASTING",5;