Poenitentia Vatia

Item ID 700025 Name Poenitentia Vatia
A bow containing the pain of bereavement.
_______________________
ATK +10%
_______________________
Increases damage of Rhythm Shooting by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Severe Rainstorm by 3%.
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 10%.
_______________________
Refine Level +9:
Increases damage of Severe Rainstorm by additional 30%.
_______________________
Refine Level +11:
Decreases Severe Rainstorm skill cooldown by 2 seconds.
_______________________
[Bonus by Grade]
[Grade D]: Damage of Rhythm Shooting +5%.
[Grade C]: Damage of Rhythm Shooting +8%, P.ATK +1.
[Grade B]: Damage of Rhythm Shooting +12%, CON +1.
_______________________
Type: Bow
Attack: 250
Weight: 100
Weapon Level: 5
_______________________
Requirement:
Base Level 230
Troubadour and Trouvere
Weapon Level 5 Identifier Poenetentia_Vatia
Attack 250 Type Weapon - Bow
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Bard / Dancer
Range 5 Equip Gender Both (Male and Female)
Slots 2 Equip Upper None
Weight 100 Min Equip Level 230
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,10;
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",10;
bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",3*(.@r/2);
if (.@r>=7) {
   bonus bLongAtkRate,10;
   if (.@r>=9) {
      bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",30;
      if (.@r>=11) {
         bonus2 bSkillCooldown,"WM_SEVERE_RAINSTORM",-2000;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",5;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bPAtk,1;
      bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",8;
      if (.@g >= ENCHANTGRADE_B) {
         bonus bCon,1;
         bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",12;
      }
   }
}

Set Script
Penance Crown
Poenitentia Vatia
.@r = getequiprefinerycnt(EQI_HAND_R);
bonus bLongAtkRate,15;
bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",10*(.@r/2);
bonus2 bSkillAtk,"TR_RHYTHMSHOOTING",10*(.@r/2);