Dia de Muertos

Item ID 480228 Name Dia de Muertos
We remember and give thanks to the dead.
The soul is so wonderful.
_______________________
MaxHP +5%
_______________________
Increases Magical Damage by 5%.
Decreases damage taken from Players by 5%.
_______________________
For each Level of Curse of Wicked Soul:
Increases Magical Damage with Shadow element by 5%.
_______________________
For each Level of Soul Energy Research:
INT +5, MaxSP +5%.
_______________________
For each Level of Soul Reaper:
Increases damage of Espa by 5%.
Increases damage of Eswhoo by 25%.
_______________________
When Level 5 Soul Collect is learned:
Recovers 150 HP and 15 SP when defeating monsters with magical attacks.
_______________________
Refine Level +7:
MaxHP +5%
Increases Magical Damage by additional 5%.
_______________________
Refine Level +9:
MaxHP +10%
Increases Magical Damage by additional 10%.
_______________________
Type: Garment
Defense: 12
Weight: 30
Armor Level: 2
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Day_of_the_Dead
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 12 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 30 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHPrate,5;
bonus bMatkRate,5;
bonus bInt,5*getskilllv("SP_SOULENERGY");
bonus bMaxSPrate,5*getskilllv("SP_SOULENERGY");
bonus2 bSubRace,RC_Player_Human,5;
bonus2 bMagicAtkEle,Ele_Dark,5*getskilllv("SP_SOULCURSE");
bonus2 bSkillAtk,"SP_SPA",5*getskilllv("SP_SOULREAPER");
bonus2 bSkillAtk,"SP_SWHOO",25*getskilllv("SP_SOULREAPER");
if (getskilllv("SP_SOULCOLLECT") == 5) {
   bonus bMagicHPGainValue,150;
   bonus bMagicSPGainValue,15;
}
if (.@r>=7) {
   bonus bMaxHPrate,5;
   bonus bMatkRate,5;
}
if (.@r>=9) {
   bonus bMaxHPrate,10;
   bonus bMatkRate,10;
}