Avenger Hunter Bow

Item ID 18143 Name Avenger Hunter Bow
A Hunter Bow forged from the regrets of people whose died in battlefield.
_______________________
Increases Physical Damage against monsters of Demi-Human race by 30%.
_______________________
Decreases damage taken from Demi-Human race by 10%.
_______________________
For each Refine Level:
Increases Critical Damage by 2%.
_______________________
Refine Level +5:
Increases Physical Damage against monsters of Demi-Human race by 20%.
Decreases damage taken from Demi-Human race by 10%.
_______________________
Refine Level +7:
Increases Physical Damage against monsters of Demi-Human race by 20%.
Decreases damage taken from Demi-Human race by 10%.
Level 1 Slaughter.
_______________________
Refine Level +9:
Increases damage of Arrow Storm and Severe Rainstorm by 20%.
_______________________
Indestructible in battle
_______________________
Type: Bow
Attack: 170
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 100
Ranger, Minstrel, Wanderer and Shadow Chaser
Weapon Level 4 Identifier Avenger_Hunter_Bow
Attack 170 Type Weapon - Bow
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Hunter, Rogue, Bard / Dancer
Range 5 Equip Gender Both (Male and Female)
Slots 0 Equip Upper Third, Third Upper, Third Baby
Weight 0 Min Equip Level 100
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus2 bAddRace,RC_DemiHuman,30;
bonus2 bAddRace,RC_Player_Human,30;
bonus2 bSubRace,RC_DemiHuman,10;
bonus2 bSubRace,RC_Player_Human,10;
bonus bCritAtkRate,2*.@r;
if (.@r>=5) {
   bonus2 bAddRace,RC_DemiHuman,20;
   bonus2 bAddRace,RC_Player_Human,20;
   bonus2 bSubRace,RC_DemiHuman,10;
   bonus2 bSubRace,RC_Player_Human,10;
   if (.@r>=7) {
       bonus2 bAddRace,RC_DemiHuman,20+(pow(min(10,.@r)-4,2));
       bonus2 bAddRace,RC_Player_Human,20+(pow(min(10,.@r)-4,2));
       bonus2 bSubRace,RC_DemiHuman,10;
       bonus2 bSubRace,RC_Player_Human,10;
       if (.@r>=9) {
           bonus2 bSkillAtk,"RA_ARROWSTORM",20;
           bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM_MELEE",20;
       }
   }
}