Alchemist Shadow Armor

Item ID 24272 Name Alchemist Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases ATK based on Learning Potion skill Level.
_______________________
For each Refine Level equal or above +6:
Increases ATK based on Learning Potion skill Level.
_______________________
When equipped with Alchemist Shadow Shoes:
Enables the use of Level 3 Adrenaline Rush.
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_Alchemist_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;
.@a = getskilllv("AM_LEARNINGPOTION");
.@r = max(.@r,6);
bonus bBaseAtk,.@a+((.@r-6)*.@a);

Set Script
Merchant Shadow Pendant
Merchant Shadow Earring
Alchemist Shadow Shoes
Alchemist Shadow Armor
Genetic Shadow Weapon
Genetic Shadow Shield
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Alchemist Shadow Shoes
Alchemist Shadow Armor
if (BaseJob == Job_Alchemist) {
   skill "BS_ADRENALINE",3;
}