Blacksmith Shadow Armor

Item ID 24271 Name Blacksmith Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
When Weapon Perfection is used:
Increases Physical Damage against enemies of all size monsters by 5% for 50 seconds.
_______________________
For each Refine Level equal or above +6:
Increases bonus damage by 1%.
_______________________
When equipped with Blacksmith Shadow Shoes:
Increases Physical Damage against enemies of all size monsters by additional 3%.
Decreases SP Consumption of Weapon Perfection by 20%.
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_Blacksmith_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 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,.@r*10;
.@val = 5;
if (.@r > 6) {
   .@val += .@r-6;
}
autobonus3 "{ bonus2 bAddSize,Size_All,"+.@val+"; bonus2 bMagicAddSize,Size_All,"+.@val+"; }",1000,50000,"BS_WEAPONPERFECT";

Set Script
Merchant Shadow Pendant
Merchant Shadow Earring
Blacksmith Shadow Armor
Blacksmith Shadow Shoes
Mechanic Shadow Shield
Mechanic Shadow Weapon
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Blacksmith Shadow Shoes
Blacksmith Shadow Armor
if (BaseJob == Job_Blacksmith) {
   bonus2 bAddSize,Size_All,3;
   bonus2 bMagicAddSize,Size_All,3;
   bonus2 bSkillUseSPrate,"BS_WEAPONPERFECT",20;
}