Rainstorm Booster Violin

Item ID 570024 Name Rainstorm Booster Violin
An instrument 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 2 Levels of Musical Lesson:
Increases Ranged Physical Damage by 2%.
_______________________
Refine Level +9:
Decreases Severe Rainstorm skill cooldown by 1 second.
Increases damage of Severe Rainstorm by 25%.
_______________________
Refine Level +11:
Decreases Severe Rainstorm skill cooldown by additional 1 second.
Increases Physical Damage against enemies of every size by 15%.
_______________________
Refine Level +13:
Increases damage of Severe Rainstorm by additional 15%.
_______________________
Type: Musical Instrument
Attack: 150
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 100
Minstrel
Weapon Level 4 Identifier RS_B_Violin
Attack 150 Type Weapon - Musical Instrument
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Bard / Dancer
Range 1 Equip Gender Male
Slots 0 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 100
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 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,2*getskilllv("BA_MUSICALLESSON");
   if (.@r>=9) {
      bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-1000;
      bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",25;
      if (.@r>=11) {
         bonus2 bAddSize,Size_All,15;
         bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-1000;
         if (.@r>=13) {
            bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",15;
         }
      }
   }
}