summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-04-02 08:51:14 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-04-02 08:51:14 +0800
commit94899de0397d74b0f06bdccdbfc67eabd2d06e38 (patch)
tree322bdaeae036291ab38d535a9c1b2e6e6e2c8366 /src/map/battle.c
parent19228956cc31c6406366a69d06a76467451def3a (diff)
parent60844f655aaa7adb735674d51bb3a83b90c8c6db (diff)
downloadhercules-94899de0397d74b0f06bdccdbfc67eabd2d06e38.tar.gz
hercules-94899de0397d74b0f06bdccdbfc67eabd2d06e38.tar.bz2
hercules-94899de0397d74b0f06bdccdbfc67eabd2d06e38.tar.xz
hercules-94899de0397d74b0f06bdccdbfc67eabd2d06e38.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules into JobDBRedesign
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
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