Circulation of Life: Winter

Item ID 480352 Name Circulation of Life: Winter
A manteau that amplifies the energy of winter according to the truth of the Circularity of Life.
True power awakens with the power of the constellations.
_______________________
POW +2, CON +2, Critical +4.
_______________________
For each 2 Refine Levels:
ATK +5, Critical +1
_______________________
For each 3 Refine Levels:
Increases Critical Damage by 1%.
CRT +1
_______________________
Refine Level +7:
Decreases Variable Casting Time by 5%.
C.RATE +3
_______________________
Refine Level +9:
Increases Attack Speed (decreases After Attack Delay by 10%).
_______________________
Refine Level +11:
P.ATK +7
Decreases After Skill Delay by 10%.
_______________________
[Bonus by Grade]
[Grade D]: RES +25, MRES +25.
[Grade C]: Critical +10, Physical Damage +7%.
[Grade B]: POW +5, CON +5, CRT +5, C.RATE +5
[Grade A]: Critical Damage +15%, C.RATE +7.
_______________________
Type: Garment
Defense: 80
Weight: 70
Armor Level: 2
_______________________
Requirement:
Base Level 250
Weapon Level 0 Identifier Circul_Of_Life_Winter
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 bCritical,4+(.@r/2);
bonus bPow,2;
bonus bCon,2;
bonus bBaseAtk,5*(.@r/2);
bonus bCritAtkRate,(.@r/3);
bonus bCrt,(.@r/3);
if (.@r>=7) {
   bonus bVariableCastrate,-5;
   bonus bCRate,3;
   if (.@r>=9) {
      bonus bAspdRate,10;
      if (.@r>=11) {
         bonus bDelayrate,-10;
         bonus bPAtk,7;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMRes,25;
   bonus bRes,25;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bShortAtkRate,7;
      bonus bLongAtkRate,7;
      bonus bCritical,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bCRate,5;
         bonus bPow,5;
         bonus bCon,5;
         bonus bCrt,5;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bCritAtkRate,15;
            bonus bCRate,7;
         }
      }
   }
}

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