Full Power Shadow Armor

Item ID 24872 Name Full Power Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
ATK +3%
_______________________
For each 2 Refine Levels:
Increases Physical Damage by 1%.
_______________________
Refine Level +10:
P.ATK +2
_______________________
When equipped with Full Power Shadow Shoes:
ATK +2%, P.ATK +2.

Total Refine Level of entire set is at least +18:
Increases Physical Damage by additional 5%.
Increases Physical Damage against monsters of every size by 10%.
_______________________
When equipped with Full Power Shadow Weapon:
ATK +3%

Total Refine Level of entire set is at least +18:
POW +3, P.ATK +3.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 200
Weapon Level 0 Identifier S_Full_Power_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs None
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 bAtkRate,3;
bonus bLongAtkRate,(.@r/2);
bonus bShortAtkRate,(.@r/2);
if (.@r>=10) {
   bonus bPAtk,2;
}

Set Script
Full Power Shadow Armor
Physical Power Shadow Weapon
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_WEAPON);
bonus bAtkRate,3;
if (.@sum>=18) {
   bonus bPAtk,3;
   bonus bPow,3;
}
Full Power Shadow Armor
Full Power Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bPAtk,2;
bonus bAtkRate,2;
if (.@sum>=18) {
   bonus2 bAddSize,Size_All,10;
   bonus bLongAtkRate,5;
   bonus bShortAtkRate,5;
}