diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2015-04-01 23:25:14 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2015-04-01 23:25:14 +0800 |
commit | 60844f655aaa7adb735674d51bb3a83b90c8c6db (patch) | |
tree | 2d5d228c7c1ecb05ffa197546aff3c3214acc98a /src/map/battle.c | |
parent | 61cd96c527a9bb5d220adc3a96ca39b9e84fa2ed (diff) | |
download | hercules-60844f655aaa7adb735674d51bb3a83b90c8c6db.tar.gz hercules-60844f655aaa7adb735674d51bb3a83b90c8c6db.tar.bz2 hercules-60844f655aaa7adb735674d51bb3a83b90c8c6db.tar.xz hercules-60844f655aaa7adb735674d51bb3a83b90c8c6db.zip |
Fixed Bug#8601
-http://hercules.ws/board/tracker/issue-8601-chemical-protection/?gopid=24866#entry24866
Fixed proper skill fail message when bullet runs out..
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index e983eebc6..539d3516e 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -5902,10 +5902,10 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t { int index = sd->equip_index[EQI_AMMO]; if (index<0) { - if (sd->weapontype1 > W_KATAR && sd->weapontype1 < W_HUUMA) - clif->arrow_fail(sd, 0); - else + if ( sd->weapontype1 > W_KATAR && sd->weapontype1 < W_HUUMA ) clif->skill_fail(sd, 0, USESKILL_FAIL_NEED_MORE_BULLET, 0); + else + clif->arrow_fail(sd, 0); return ATK_NONE; } //Ammo check by Ishizu-chan |