Oboro Shadow Armor

Item ID 24404 Name Oboro 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 Flaming Petals, Freezing Spear and Wind Blade by 20%.
_______________________
For each Refine Level:
Increases damage of Flaming Petals, Freezing Spear and Wind Blade by additional 5%.
_______________________
When equipped with Oboro Shadow Shoes:
Increases damage of Fire, Water and Wind elemental magic attacks by 5%.
Decreases Illusion - Shadow skill cooldown by 3 seconds.
_______________________
When equipped with 2 types of Ninja Shadow or Oboro Shadow Equipment:
All Basic Stats +7
MaxHP +3%
MaxSP +3%
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 100
Kagerou and Oboro
Weapon Level 0 Identifier S_Oboro_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Ninja, Kagerou / Oboro
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 100
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,.@r*10;
bonus2 bSkillAtk,"NJ_KOUENKA",20+.@r*5;
bonus2 bSkillAtk,"NJ_HYOUSENSOU",20+.@r*5;
bonus2 bSkillAtk,"NJ_HUUJIN",20+.@r*5;

Set Script
Oboro Shadow Armor
Oboro Shadow Shoes
Ninja Shadow Weapon
Ninja Shadow Shield
bonus bAllStats,7;
bonus bMaxHPrate,3;
bonus bMaxSPrate,3;
Oboro Shadow Armor
Oboro Shadow Shoes
bonus2 bSkillCooldown,"KO_ZANZOU",-3000;
bonus2 bMagicAtkEle,Ele_Fire,5;
bonus2 bMagicAtkEle,Ele_Water,5;
bonus2 bMagicAtkEle,Ele_Wind,5;
Wind Spear Petal Shadow Earring
Oboro Shadow Armor
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bIgnoreMdefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-40-.@sum;