Exorcism of Malicious Soul Shadow Armor

Item ID 1270045 Name Exorcism of Malicious Soul Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases damage of Exorcism of Malicious Soul by 5%.
_______________________
For each 2 Refine Levels:
MATK +10
_______________________
For each 3 Refine Levels:
Increases damage of Exorcism of Malicious Soul by additional 1%.
_______________________
When equipped with Exorcism of Malicious Soul Shadow Shoes:
MATK +2%, S.MATK +2.

Total Refine Level of entire set is at least +15:
Increases Magical Damage against enemies of every size by 7%.

Total Refine Level of entire set is at least +18:
Ignores magical defense of every race, except Players, by 50%.
_______________________
When equipped with Exorcism of Malicious Soul Shadow Shoes and Master Shadow Weapon:
Increases Magical Damage against enemies of every element by 3%.
S.MATK +2

Total Refine Level of entire set is at least +27:
Ignores magical resistance of every race, except Players, by 10%.
_______________________
[Shadow Exclusive Magic Book]itemmall,41,63,0,100,0,0 can grant Random Options with 2 Shadow Essences to it.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 200
Soul Ascetic
Weapon Level 0 Identifier S_SOA_MS_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Soul Linker
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
.@r = getrefine();
bonus bMaxHP,.@r*10;
bonus2 bSkillAtk,"SOA_EXORCISM_OF_MALICIOUS_SOUL",5+(.@r/3);
bonus bMatk,10*(.@r/2);

Set Script
Exorcism of Malicious Soul Shadow Armor
Master Shadow Shield
Exorcism of Malicious Soul Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus2 bMagicAddEle,Ele_All,3;
bonus bSMatk,2;
if (.@sum>=27) {
   bonus2 bIgnoreMResRaceRate,RC_All,10;
   bonus2 bIgnoreMResRaceRate,RC_Player_Human,-10;
   bonus2 bIgnoreMResRaceRate,RC_Player_Doram,-10;
}
Exorcism of Malicious Soul Shadow Armor
Exorcism of Malicious Soul Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bSMatk,2;
bonus bMatkRate,2;
if (.@sum>=15) {
   bonus2 bMagicAddSize,Size_All,7;
   if (.@sum>=18) {
      bonus2 bIgnoreMdefRaceRate,RC_All,50;
      bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-50;
      bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-50;
   }
}