Witty Shadow Earring

Item ID 24888 Name Witty Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
MDEF +10
_______________________
For each 2 Refine Levels:
MRES +3
_______________________
Refine Level +10:
MRES +15
_______________________
When equipped with Wisdom Shadow Shield:
MRES +15

Total Refine Level of entire set is at least +18:
WIS +3, MaxSP +5%.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 200
Weapon Level 0 Identifier S_Witty_Earring
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Right (Earring)
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 200
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;
bonus bMdef,10;
bonus bMRes,3*(.@r/2);
if (.@r>=10) {
   bonus bMRes,15;
}

Set Script
Witty Shadow Pendant
Witty Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus bMdef,15;
bonus bMRes,25;
if (.@sum>=18) {
   bonus bMaxSPrate,7;
}
Witty Shadow Earring
Wisdom Shadow Shield
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus bMRes,15;
if (.@sum>=18) {
   bonus bMaxSPrate,5;
   bonus bWis,3;
}