Shadowspell Shadow Earring

Item ID 24529 Name Shadowspell Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
Increases Magical Damage with Neutral and Fire element by 2%.
_______________________
For each 3 Refine Levels:
Increases Magical Damage with Neutral and Fire element by additional 2%.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 99
Shadow Chaser
Weapon Level 0 Identifier S_Shadowspell_Earing
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Right (Earring)
Defense 0 Equippable Jobs Rogue
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 bMagicAtkEle,Ele_Neutral,2+2*(.@r/3);
bonus2 bMagicAtkEle,Ele_Fire,2+2*(.@r/3);

Set Script
Shadowspell Shadow Weapon
Shadowspell Shadow Pendant
Shadowspell Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",.@sum;