Time Gap Night Revolver

Item ID 800042 Name Time Gap Night Revolver
A revolver filled with magical power flowing from the gap of time.
_______________________
Critical +5
_______________________
Increases damage of Wild Shot by 15%.
_______________________
For each 2 Refine Levels:
ATK +25
ATK +1%
_______________________
For each 3 Refine Levels:
Increases damage of Wild Shot by additional 5%.
_______________________
Refine Level +7:
Increases Critical Damage by 20%.
_______________________
Refine Level +9:
Critical +15, C.RATE +5.
_______________________
Refine Level +11:
Increases damage of Wild Shot by additional 15%.
_______________________
When equipped with Time Dimensions Rune Crown (Night Watch):
Increases damage of Magazine for One by 25%.
Increases Ranged Physical Damage by 15%.

If the Weapon and Headgear's Grade are A or higher:
Increases damage of Magazine for One by additional (the sum of refine level)%.
Decreases Wild Shot skill cooldown by 0.2 seconds.
_______________________
[Bonus by Grade]
[Grade D]: P.ATK +5
[Grade C]: Damage of Wild Shot +15%.
[Grade B]: Ranged Physical Damage +10%.
[Grade A]: P.ATK +3 per 2 Refine Levels.
_______________________
Type: Revolver
Attack: 260
Weight: 230
Weapon Level: 5
_______________________
Requirement:
Base Level 250
Night Watch
Weapon Level 5 Identifier Time_Gap_Revolver_NW
Attack 260 Type Weapon - Revolver
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Rebellion
Range 7 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 230 Min Equip Level 250
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bCritical,5;
bonus2 bSkillAtk,"NW_WILD_SHOT",15+5*(.@r/3);
bonus bAtkRate,(.@r/2);
bonus bBaseAtk,25*(.@r/2);
if (.@r>=7) {
   bonus bCritAtkRate,20;
   if (.@r>=9) {
      bonus bCRate,5;
      bonus bCritical,15;
      if (.@r>=11) {
         bonus2 bSkillAtk,"NW_WILD_SHOT",15;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bPAtk,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bSkillAtk,"NW_WILD_SHOT",15;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bLongAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bPAtk,3*(.@r/2);
         }
      }
   }
}

Set Script
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;
}