Circulation of Life: Autumn

Item ID 480351 Name Circulation of Life: Autumn
A manteau that amplifies the energy of autumn according to the truth of the Circularity of Life.
True power awakens with the power of the constellation.
_______________________
SPL +4, CON +4
_______________________
Decreases SP Consumption by 15%.
_______________________
For each 2 Refine Levels:
MATK +10
_______________________
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 +7
Decreases After Skill Delay by 10%.
_______________________
[Bonus by Grade]
[Grade D]: RES +25, MRES +25.
[Grade C]: MATK +10%, Magical Damage with every element +7%.
[Grade B]: SPL +5, CON +5, S.MATK +7, DEF +50
[Grade A]: S.MATK +9, 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 Circul_Of_Life_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 Can't be dropped, Can't be traded with player, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bSpl,4;
bonus bCon,4;
bonus bUseSPrate,15;
bonus bMatk,10*(.@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,7;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMRes,25;
   bonus bRes,25;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bMagicAtkEle,Ele_All,7;
      bonus bMatkRate,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bSMatk,7;
         bonus bDef,50;
         bonus bSpl,5;
         bonus bCon,5;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bMagicAddEle,Ele_All,7;
            bonus bSMatk,9;
         }
      }
   }
}

Set Script
Signet of Circulation: Autumn
Circulation of Life: Autumn
.@val = 5+3*(getequiprefinerycnt(EQI_GARMENT)/2);
bonus2 bMagicAddRace,RC_All,.@val;
bonus2 bMagicAddRace,RC_Player_Human,-.@val;
bonus2 bMagicAddRace,RC_Player_Doram,-.@val;
bonus bDelayrate,-10;