Fire Round Booster Gatling Gun

Item ID 830007 Name Fire Round Booster Gatling Gun
A gatling gun designed to help adventurers grow.
_______________________
Cannot be refined normally.
_______________________
ATK +2%
_______________________
For each Refine Level:
ATK +3
_______________________
For each 15 Base Level:
ATK +3 (Applies up to Base Level 195)
_______________________
Refine Level +7:
For each Level of Single Action:
Increases Ranged Physical Damage by 1%.
_______________________
Refine Level +9:
Decreases Fire Rain skill cooldown by 1 second.
Increases Ranged Physical Damage by additional 10%.
Increases damage of Fire Rain and Round Trip by 25%.
_______________________
Refine Level +11:
Increases Ranged Physical Damage by additional 10%.
Increases Physical Damage against enemies of every size by 15%.
_______________________
Refine Level +13:
Increases damage of Fire Rain and Round Trip by additional 15%.
_______________________
Type: Gatling Gun
Attack: 220
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 100
Gunslinger classes
Weapon Level 4 Identifier FR_B_Gatling
Attack 220 Type Weapon - Gatling Gun
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Gunslinger, Rebellion
Range 9 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be put in Cart, Can't be put in Storage, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@r = getrefine();
bonus bAtkRate,2;
bonus bBaseAtk,3*.@r;
bonus bBaseAtk,3*(min(BaseLevel,195)/15);
if (.@r>=7) {
   bonus bLongAtkRate,getskilllv("GS_SINGLEACTION");
   if (.@r>=9) {
      bonus bLongAtkRate,10;
      bonus2 bSkillCooldown,"RL_FIRE_RAIN",-1000;
      bonus2 bSkillAtk,"RL_R_TRIP",25;
      bonus2 bSkillAtk,"RL_FIRE_RAIN",25;
      if (.@r>=11) {
         bonus2 bAddSize,Size_All,15;
         bonus bLongAtkRate,10;
         if (.@r>=13) {
            bonus2 bSkillAtk,"RL_R_TRIP",15;
            bonus2 bSkillAtk,"RL_FIRE_RAIN",15;
         }
      }
   }
}