Restore Shadow Earring

Item ID 24368 Name Restore Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
Increases HP Recovery Rate by 20%.
_______________________
Refine Level +7:
Increases HP Recovery Rate by additional 10%.
_______________________
Refine Level +9:
Increases HP Recovery Rate by additional 20%.
_______________________
When equipped with Restore Shadow Pendant:
Total Refine Level of entire set at least +15:
Increases HP and SP Recovery Rate by 50%.
_______________________
Type: Shadow Earring
_______________________
Requirement: None
Weapon Level 0 Identifier S_Restore_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 1
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;
if (.@r >= 9) {
   .@val = 50;
} else if (.@r >= 7) {
   .@val = 30;
}
else {
   .@val = 20;
}
bonus bHPrecovRate,.@val;

Set Script
Restore Shadow Earring
Restore Shadow Pendant
if ((getequiprefinerycnt(EQI_SHADOW_ACC_R) + getequiprefinerycnt(EQI_SHADOW_ACC_L)) >= 15) {
   bonus bHPrecovRate,50;
   bonus bSPrecovRate,50;
}