Chain Shadow Weapon

Item ID 24521 Name Chain Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
Increases Magical Damage with Wind element by 3%.
_______________________
Refine Level +7:
Increases Magical Damage with Wind element by additional 3%.
_______________________
Refine Level +9:
Increases Magical Damage with Wind element by additional 4%.
_______________________
When equipped with Chain Shadow Pendant and Chain Shadow Earring:
For each Refine Level of entire set:
Increases damage of Chain Lightning by 1%.
_______________________
When equipped with Warlock Shadow Shield:
Ignores magical defense of enemies of all race, except Players, by 40%.

For each Refine Level of entire set:
Ignores magical defense of enemies of all race, except Players, by additional 1%.
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Base Level 99
Warlock
Weapon Level 0 Identifier S_Chain_Weapon
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs Wizard
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 99
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;
if (.@r>=9) {
   bonus2 bMagicAtkEle,Ele_Wind,10;
}
else if (.@r>=7) {
   bonus2 bMagicAtkEle,Ele_Wind,6;
}
else {
   bonus2 bMagicAtkEle,Ele_Wind,3;
}

Set Script
Chain Shadow Weapon
Warlock Shadow Shield
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus2 bIgnoreMdefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-40-.@sum;
Chain Shadow Weapon
Chain Shadow Pendant
Chain Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus2 bSkillAtk,"WL_CHAINLIGHTNING_ATK",.@sum;