Time Dimensions Rune Crown (Night Watch)

Item ID 400542 Name Time Dimensions Rune Crown (Night Watch)
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 Spiral Shooting and Wild Fire by 5%.
_______________________
Refine Level +7:
Increases 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]: Ranged 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
Night Watch
Weapon Level 0 Identifier Time_DM_R_Crown_NW
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 50 Equippable Jobs Rebellion
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,"NW_SPIRAL_SHOOTING",5*(.@r/4);
bonus2 bSkillAtk,"NW_WILD_FIRE",5*(.@r/4);
if (.@r>=7) {
   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 bLongAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddSize,Size_All,15;
         }
      }
   }
}

Set Script
Dimensions Night Rifle
Time Dimensions Rune Crown (Night Watch)
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"NW_ONLY_ONE_BULLET",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,"NW_SPIRAL_SHOOTING",.@sum;
   if (getskilllv("NW_SPIRAL_SHOOTING") > 0) {
      bonus4 bAutoSpellOnSkill,"NW_ONLY_ONE_BULLET","NW_SPIRAL_SHOOTING",getskilllv("NW_SPIRAL_SHOOTING"),1000;
   }
}
Dimensions Night Launcher
Time Dimensions Rune Crown (Night Watch)
bonus bLongAtkRate,10;
bonus2 bSkillAtk,"NW_SPIRAL_SHOOTING",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,"NW_WILD_FIRE",.@sum;
   if (getskilllv("NW_WILD_FIRE") > 0) {
      bonus4 bAutoSpellOnSkill,"NW_SPIRAL_SHOOTING","NW_WILD_FIRE",getskilllv("NW_WILD_FIRE"),1000;
   }
}
Time Gap Night Revolver
Time Dimensions Rune Crown (Night Watch)
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"NW_MAGAZINE_FOR_ONE",25;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_A && getenchantgrade(EQI_HEAD_TOP)>=ENCHANTGRADE_A) {
   .@sum = getequiprefinerycnt(EQI_HAND_R)+getequiprefinerycnt(EQI_HEAD_TOP);
   bonus2 bSkillAtk,"NW_MAGAZINE_FOR_ONE",.@sum;
   bonus2 bSkillCooldown,"NW_WILD_SHOT",-200;
}