Time Dimensions Rune Crown (Dragon Knight)

Item ID 400529 Name Time Dimensions Rune Crown (Dragon Knight)
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%
_______________________
For each 4 Refine Levels:
Increases damage of Hack and Slasher and Dragonic Breath by 5%.
_______________________
Refine Level +7:
Increases Melee and Ranged Physical Damage by 10%.
_______________________
Refine Level +9:
P.ATK +5
_______________________
Refine Level +10:
Increases Physical Damage against enemies of every race, except Players, by 15%.
_______________________
Refine Level +11:
Critical +10
Decreases Fixed Casting Time by 0.5 seconds.
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +3
[Grade C]: MaxHP, MaxSP +3%
[Grade B]: Physical Damage +10%.
[Grade A]: Physical Damage against enemies of all size enemies +15%.
_______________________
Type: Headgear
Defense: 50
Weight: 0
Armor Level: 2
_______________________
Requirement:
Base Level 250
Dragon Knight
Weapon Level 0 Identifier Time_DM_R_Crown_DK
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 50 Equippable Jobs Knight
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 bAtkRate,2*(.@r/3);
bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",5*(.@r/4);
bonus2 bSkillAtk,"DK_HACKANDSLASHER",5*(.@r/4);
if (.@r>=7) {
   bonus bShortAtkRate,10;
   bonus bLongAtkRate,10;
   if (.@r>=9) {
      bonus bPAtk,5;
      if (.@r>=10) {
         bonus2 bAddRace,RC_All,15;
         bonus2 bAddRace,RC_Player_Human,-15;
         bonus2 bAddRace,RC_Player_Doram,-15;
         if (.@r>=11) {
            bonus bFixedCast,-500;
            bonus bCritical,10;
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,3;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bMaxHPrate,3;
      bonus bMaxSPrate,3;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bShortAtkRate,10;
         bonus bLongAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddSize,Size_All,15;
         }
      }
   }
}

Set Script
Dimensions Dragon Sword
Time Dimensions Rune Crown (Dragon Knight)
bonus bShortAtkRate,15;
bonus2 bSkillAtk,"DK_STORMSLASH",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,"DK_HACKANDSLASHER",-200;
   bonus2 bSkillAtk,"RK_IGNITIONBREAK",3*.@sum;
   if (getskilllv("RK_IGNITIONBREAK") > 0) {
      bonus4 bAutoSpellOnSkill,"DK_HACKANDSLASHER","RK_IGNITIONBREAK",getskilllv("RK_IGNITIONBREAK"),1000;
   }
}
Dimensions Dragon Lance
Time Dimensions Rune Crown (Dragon Knight)
bonus bLongAtkRate,10;
bonus2 bSkillAtk,"RK_DRAGONBREATH_WATER",85;
bonus2 bSkillAtk,"RK_DRAGONBREATH",85;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillCooldown,"DK_DRAGONIC_BREATH",-150;
   bonus2 bSkillAtk,"DK_DRAGONIC_BREATH",.@sum;
}
Time Gap Dragon Spear
Time Dimensions Rune Crown (Dragon Knight)
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"DK_HACKANDSLASHER",20;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"DK_HACKANDSLASHER",.@sum;
   bonus2 bSkillAtk,"DK_DRAGONIC_PIERCE",15;
   bonus bCritical,10;
}