Manteau of Mystical Beast: Autumn

Item ID 480347 Name Manteau of Mystical Beast: Autumn
A manteau forged with the autumn energy of the autumn god, Maple Tree.
_______________________
SPL +2, CON +2
_______________________
Decreases SP Consumption by 15%.
_______________________
For each 2 Refine Levels:
MATK +5
_______________________
For each 3 Refine Levels:
Increases Magical Damage with every element by 2%.
_______________________
Refine Level +7:
Decreases Variable Casting Time by 10%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by additional 5%.
Increases Attack Speed (decreases After Attack Delay by 5%).
_______________________
Refine Level +11:
S.MATK +2
Decreases After Skill Delay by 10%.
_______________________
[Bonus by Grade]
[Grade D]: RES +25, MRES +25.
[Grade C]: MATK +7%, Magical Damage with every element +7%.
[Grade B]: SPL +5, CON +5, S.MATK +3, DEF +50
[Grade A]: S.MATK +5, Magical Damage against enemies of every element +5%.
_______________________
Type: Garment
Defense: 80
Weight: 70
Armor Level: 2
_______________________
Requirement:
Base Level 250
Weapon Level 0 Identifier Season_Hood_Autumn
Attack 0 Type Armor
MATK 0 Equip Locations Garment
Defense 80 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 70 Min Equip Level 250
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bSpl,2;
bonus bCon,2;
bonus bUseSPrate,15;
bonus bMatk,5*(.@r/2);
bonus2 bMagicAtkEle,Ele_All,2*(.@r/3);
if (.@r>=7) {
   bonus bVariableCastrate,-10;
   if (.@r>=9) {
      bonus bAspdRate,5;
      bonus bVariableCastrate,-5;
      if (.@r>=11) {
         bonus bDelayrate,-10;
         bonus bSMatk,2;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMRes,25;
   bonus bRes,25;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bMagicAtkEle,Ele_All,7;
      bonus bMatkRate,7;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bSMatk,3;
         bonus bDef,50;
         bonus bSpl,5;
         bonus bCon,5;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bMagicAddEle,Ele_All,5;
            bonus bSMatk,5;
         }
      }
   }
}