M. Night Watch Shadow Armor

Item ID 24848 Name M. Night Watch Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
Can only be worn by Night Watchs.
_______________________
When equipped with Master Shadow Shield:
All Traits +2
_______________________
When equipped with Master Shadow Shield and M. Night Watch Shadow Shoes:
P.ATK +1, S.MATK +1

Total Refine Level of entire set is at least +27:
Ignores physical and magical defense of every race, except Players, by 50%.
_______________________
When equipped with Master Shadow Weapon, Master Shadow Shield, M. Night Watch Shadow Shoes, M. Night Watch Shadow Earring and M. Night Watch Shadow Pendant:
Ignores physical and magical defense of every race, except Players, by 20%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 200
Night Watch
Weapon Level 0 Identifier S_NW_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Rebellion
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
bonus bMaxHP,getrefine()*10;

Set Script
M. Night Watch Shadow Armor
Master Shadow Shield
bonus bAllTraitStats,2;
M. Night Watch Shadow Armor
Master Shadow Shield
M. Night Watch Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bPAtk,1;
bonus bSMatk,1;
if (.@sum>=27) {
   bonus2 bIgnoreDefRaceRate,RC_All,50;
   bonus2 bIgnoreDefRaceRate,RC_Player_Human,-50;
   bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-50;
   bonus2 bIgnoreMdefRaceRate,RC_All,50;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-50;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-50;
}
M. Night Watch Shadow Armor
Master Shadow Shield
M. Night Watch Shadow Shoes
M. Night Watch Shadow Earring
Master Shadow Weapon
M. Night Watch Shadow Pendant
bonus2 bIgnoreResRaceRate,RC_All,20;
bonus2 bIgnoreResRaceRate,RC_Player_Human,-20;
bonus2 bIgnoreResRaceRate,RC_Player_Doram,-20;
bonus2 bIgnoreMResRaceRate,RC_All,20;
bonus2 bIgnoreMResRaceRate,RC_Player_Human,-20;
bonus2 bIgnoreMResRaceRate,RC_Player_Doram,-20;