Magic Demi-Human Shadow Weapon

Item ID 24170 Name Magic Demi-Human Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Ignores magical defense of enemies of Demi-Human race by 5%.(Except Players)
_______________________
For each 2 Refine Levels:
Ignores magical defense of enemies of Demi-Human race by additional 1%.(Except Players)
_______________________
When equipped with Tempest Shadow Pendant and Tempest Shadow Earring:
MATK +5
_______________________
Total Refine Level of entire set at least +25:
Ignores magical defense of enemies of Demi-Human race by 100%.(Except player)
_______________________
Type: Shadow Weapon
_______________________
Requirement: None
Weapon Level 0 Identifier S_M_Executioner_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
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 bBaseAtk,.@r;
bonus bMatk,.@r;
bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,5+(.@r/2);

Set Script
Tempest Shadow Earring
Tempest Pendant Shadow
Magic Demi-Human Shadow Weapon
bonus bMatk,5;
if (getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L) >= 25)
   bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,100;