Spirit Magic Executioner Shadow Weapon

Item ID 24329 Name Spirit Magic Executioner Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
MATK +5
_______________________
For each Refine Level:
MATK +1
_______________________
For each 2 Refine Levels:
Ignores 1% magical defense of Demi-Human race monster (Except Player).
_______________________
When equipped with Tempest Shadow Earring and Tempest Shadow Pendant:
Total Refine Level of entire set at least +25:
Ignores 100% magical defense of Demi-Human race (Except Player).
_______________________
When equipped with Spiritual Shadow Earring and Spiritual Shadow Pendant:
MATK +10

Total Refine Level of entire set at least +20:
MATK +1%

Total Refine Level of entire set at least +25:
MATK +1%
_______________________
Type: Shadow Weapon
_______________________
Requirement: None
Weapon Level 0 Identifier S2_Spirit_M_E_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*2+5;
bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,.@r/2;

Set Script
Spiritual Shadow Earring
Spiritual Shadow Pendant
Spirit Magic Executioner Shadow Weapon
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
if (.@r >= 25) {
   bonus bMatkRate,2;
}
else if (.@r >= 20) {
   bonus bMatkRate,1;
}
bonus bMatk,10;
Tempest Shadow Earring
Tempest Pendant Shadow
Spirit Magic Executioner Shadow Weapon
if (getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L) >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,100;
}
Soul Shadow Earring
Soul Shadow Pendant
Spirit Magic Executioner Shadow Weapon
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bMatk,10;
if (.@r>=20) {
   bonus bMatkRate,1;
}
if (.@r>=25) {
   bonus bMatkRate,1;
}