Time Dimensions Rune Crown (Imperial Guard)

Item ID 400530 Name Time Dimensions Rune Crown (Imperial Guard)
A crown imbued with rune magic from the twists of time and dimension.
_______________________
For each 2 Refine Levels:
MaxHP +120
MaxSP +30
_______________________
For each 3 Refine Levels:
ATK +2%
MATK +2%
_______________________
For each 4 Refine Levels:
Increases damage of Cross Rain and Overslash by 5%.
_______________________
Refine Level +7:
Increases Melee Physical Damage by 10%.
Increases Magical Damage with every element by 10%.
_______________________
Refine Level +9:
P.ATK +5
S.MATK +5
_______________________
Refine Level +10:
Increases Physical and Magical Damage against enemies of every race, except Players, by 15%.
_______________________
Refine Level +11:
Decreases After Skill Delay by 10%.
Decreases Fixed Casting Time by 0.5 seconds.
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +3, S.MATK +3
[Grade C]: MaxHP, MaxSP +3%
[Grade B]: Melee Physical Damage +10%, Magical Damage with every element +10%.
[Grade A]: Damage against enemies of all size enemies +15%.
_______________________
Type: Headgear
Defense: 50
Weight: 0
Armor Level: 2
_______________________
Requirement:
Base Level 250
Imperial Guard
Weapon Level 0 Identifier Time_DM_R_Crown_IG
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 50 Equippable Jobs Crusader
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 0 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 sold to NPC, 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 bMaxHP,120*(.@r/2);
bonus bMaxSP,30*(.@r/2);
bonus bMatkRate,2*(.@r/3);
bonus bAtkRate,2*(.@r/3);
bonus2 bSkillAtk,"IG_OVERSLASH",5*(.@r/4);
bonus2 bSkillAtk,"IG_CROSS_RAIN",5*(.@r/4);
if (.@r>=7) {
   bonus2 bMagicAtkEle,Ele_All,10;
   bonus bShortAtkRate,10;
   if (.@r>=9) {
      bonus bPAtk,5;
      bonus bSMatk,5;
      if (.@r>=10) {
         bonus2 bMagicAddRace,RC_All,15;
         bonus2 bMagicAddRace,RC_Player_Human,-15;
         bonus2 bMagicAddRace,RC_Player_Doram,-15;
         bonus2 bAddRace,RC_All,15;
         bonus2 bAddRace,RC_Player_Human,-15;
         bonus2 bAddRace,RC_Player_Doram,-15;
         if (.@r>=11) {
            bonus bFixedCast,-500;
            bonus bDelayrate,-10;
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,3;
   bonus bSMatk,3;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bMaxHPrate,3;
      bonus bMaxSPrate,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bMagicAtkEle,Ele_All,10;
         bonus bShortAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddSize,Size_All,15;
            bonus2 bMagicAddSize,Size_All,15;
         }
      }
   }
}

Set Script
Dimensions Imperial Sword
Time Dimensions Rune Crown (Imperial Guard)
bonus2 bSkillCooldown,"LG_RAYOFGENESIS",-500;
bonus2 bMagicAtkEle,Ele_Holy,10;
bonus2 bMagicAtkEle,Ele_Neutral,10;
bonus2 bSkillAtk,"LG_RAYOFGENESIS",45;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillCooldown,"IG_CROSS_RAIN",-1000;
   bonus2 bSkillAtk,"LG_RAYOFGENESIS",.@sum;
}
Dimensions Imperial Spear
Time Dimensions Rune Crown (Imperial Guard)
bonus bShortAtkRate,10;
bonus2 bSkillAtk,"LG_OVERBRAND",45;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"LG_OVERBRAND",2*.@sum;
   if (getskilllv("LG_OVERBRAND") > 0) {
      bonus4 bAutoSpellOnSkill,"IG_OVERSLASH","LG_OVERBRAND",getskilllv("LG_OVERBRAND"),1000;
   }
}
Time Gap Guardian Spear
Time Dimensions Rune Crown (Imperial Guard)
bonus bLongAtkRate,20;
bonus2 bSkillAtk,"LG_CANNONSPEAR",45;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"LG_CANNONSPEAR",2*.@sum;
   if (getskilllv("LG_CANNONSPEAR") > 0) {
      bonus4 bAutoSpellOnSkill,"IG_RADIANT_SPEAR","LG_CANNONSPEAR",getskilllv("LG_CANNONSPEAR"),1000;
   }
}