Ancient Shadow Armor

Item ID 24029 Name Ancient Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
HIT +10
_______________________
Refine Level +7:
HIT +10
_______________________
When equipped with Kingbird Shadow Weapon:
For each Refine Level of entire set:
ATK +1
_______________________
Total Refine Level of entire set at least +15:
Increases Ranged Physical Damage by 1%.
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_Ancient_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 1
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;
bonus bHit,10;
if (.@r>6) {
   bonus bHit,10;
}

Set Script
Ancient Shadow Armor
Kingbird's Shadow Weapon
.@r = getequiprefinerycnt(EQI_SHADOW_ARMOR) + getequiprefinerycnt(EQI_SHADOW_WEAPON);
bonus bBaseAtk,.@r;
if (.@r >= 15) {
   bonus bLongAtkRate,1;
}