Avenger Handgun

Item ID 13137 Name Avenger Handgun
A revolver forged from the regrets of people whose died in battlefield.
_______________________
Increases Physical Damage against monsters of Demi-Human race by 20%.
_______________________
Decreases damage taken from Demi-Human race by 10%.
_______________________
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%.
_______________________
Refine Level +9:
Random chance to auto-cast Level 1 Rich's Coin when using Coin Flip.
_______________________
Indestructible in battle
_______________________
Type: Revolver
Attack: 80
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 100
Rebellion
Weapon Level 4 Identifier Avenger_Revolver
Attack 80 Type Weapon - Revolver
MATK 0 Equip Locations Two-Handed
Defense 0 Equippable Jobs Gunslinger, Rebellion
Range 7 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
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,20;
bonus2 bAddRace,RC_Player_Human,20;
bonus2 bSubRace,RC_DemiHuman,10;
bonus2 bSubRace,RC_Player_Human,10;
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;
       bonus2 bAddRace,RC_Player_Human,20;
       bonus2 bSubRace,RC_DemiHuman,10;
       bonus2 bSubRace,RC_Player_Human,10;
       if (.@r>=9) {
           bonus4 bAutoSpellOnSkill,"GS_GLITTERING","RL_RICHS_COIN",1,1000;
       }
   }
}