Vibration Dragon Killer Shadow Armor

Item ID 24377 Name Vibration Dragon Killer Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Ignores physical defense of Formless and Dragon race by 5%.
_______________________
For each 2 Refine Levels:
Ignores physical defense of Formless and Dragon race by additional 1%.
_______________________
When equipped with Penetration Shadow Shield and Penetration Shadow Shoes:
DEF +5
_______________________
Total Refine Level of entire set at least +25:
Ignores physical defense of Formless and Dragon race by 100%.
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_DragonVib_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;
.@val = 5 + (.@r/2);
bonus2 bIgnoreDefRaceRate,RC_Formless,.@val;
bonus2 bIgnoreDefRaceRate,RC_Dragon,.@val;

Set Script
Penetration Shadow Shoes
Penetration Shadow Shield
Vibration Dragon Killer Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bDef,5;
if (.@r >= 25) {
   bonus bIgnoreDefRace,RC_Formless;
   bonus bIgnoreDefRace,RC_Dragon;
}