Sonic Shadow Armor

Item ID 24440 Name Sonic 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 Sonic Wave by 5%.
_______________________
For each 2 Refine Levels:
Increases damage of Sonic Wave by additional 2%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 99
Rune Knight
Weapon Level 0 Identifier S_Sonic_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Knight
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,"RK_SONICWAVE",5+2*(.@r/2);

Set Script
Sonic Shadow Armor
Sonic Shadow Shield
Sonic Shadow Shoes
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bSkillAtk,"RK_SONICWAVE",.@r;