Sage Shadow Armor

Item ID 24278 Name Sage Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
When Auto Spell is used:
Increases ASPD rate based on Refine Level for 50 seconds.
_______________________
Refine Level +7:
When Auto Spell is used:
Increases ASPD by additional 1 for 50 seconds.
_______________________
Refine Level +9:
When Auto Spell is used:
Increases ASPD by additional 1 for 50 seconds.
_______________________
When equipped with Sage Shadow Shoes:
Decreases Variable Casting Time of Heaven's Drive by 40%.

When equipped by Sage classes:
MATK +3%
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S_Sage_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
bonus bMaxHP,getrefine()*10;
autobonus3 "{ .@r = getrefine(); if (.@r>=9) { bonus bAspd,2; } else if (.@r>=7) { bonus bAspd,1; } bonus bAspdRate,.@r; }",1000,50000,"SA_AUTOSPELL";

Set Script
Magician Shadow Pendant
Magician Shadow Earring
Sage Shadow Shoes
Sage Shadow Armor
Sorcerer Shadow Weapon
Sorcerer Shadow Shield
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Sage Shadow Shoes
Sage Shadow Armor
bonus2 bVariableCastrate,"WZ_HEAVENDRIVE",-40;
if (BaseJob == Job_Sage) {
   bonus bMatkRate,3;
}