Outlaw Cursed Shotgun

Item ID 820020 Name Outlaw Cursed Shotgun
A shotgun imbued with the curse of an outlaw.
_______________________
ATK +5%, CON +2
Deals Splash Damage.
Increases damage of Wild Fire by 5%.
_______________________
Refine Level +5:
Increases damage of Wild Fire by additional 10%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 5%.
_______________________
Refine Level +9:
Increases damage of Wild Fire by additional 10%.
_______________________
Refine Level +10:
Increases Attack Speed (decreases After Attack Delay by 10%).
_______________________
Refine Level +11:
Increases damage of Wild Fire by additional 5%.
Increases Ranged Physical Damage by additional 15%.
_______________________
[Bonus by Grade]
[Grade D]: Ranged Physical Damage +10%.
[Grade C]: Physical Damage against enemies of every size +10%.
[Grade B]: Physical Damage against enemies of every race +10%.
[Grade A]: Physical Damage against enemies of every element +10%.
_______________________
Type: Shotgun
Attack: 280
Weight: 250
Weapon Level: 5
_______________________
Requirement:
Base Level 215
Night Watch
Weapon Level 5 Identifier Outlaw_Cursed_Shotgun
Attack 280 Type Weapon - Shotgun
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Rebellion
Range 9 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 250 Min Equip Level 215
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 bAtkRate,5;
bonus bCon,2;
bonus bSplashRange,1;
bonus2 bSkillAtk,"NW_WILD_FIRE",5;
if (.@r>=5) {
   bonus2 bSkillAtk,"NW_WILD_FIRE",10;
   if (.@r>=7) {
      bonus bLongAtkRate,5;
      if (.@r>=9) {
         bonus2 bSkillAtk,"NW_WILD_FIRE",10;
         if (.@r>=10) {
            bonus bAspdRate,10;
            if (.@r>=11) {
               bonus bLongAtkRate,15;
               bonus2 bSkillAtk,"NW_WILD_FIRE",5;
            }
         }
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bLongAtkRate,10;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bAddSize,Size_All,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bAddRace,RC_All,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddEle,Ele_All,10;
         }
      }
   }
}

Set Script
Crown of Good and Evil (Night Watch - Shotgun)
Evil Spell
Outlaw Cursed Shotgun
bonus bLongAtkRate,20;
bonus2 bSkillAtk,"NW_WILD_FIRE",15;
Crown of Good and Evil (Night Watch - Shotgun)
Outlaw Cursed Shotgun
.@r = getequiprefinerycnt(EQI_HAND_R)/3;
bonus bLongAtkRate,5*.@r;
bonus2 bSkillAtk,"NW_WILD_FIRE",4*.@r;
if (getenchantgrade(EQI_HAND_R)>=ENCHANTGRADE_B) {
   bonus2 bSkillAtk,"NW_WILD_FIRE",10;
}