summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-02-09 23:27:45 +0100
committerGitHub <noreply@github.com>2020-02-09 23:27:45 +0100
commitfa8651a64cb9900b8a86f9810ab7b4eb1613da5c (patch)
tree5703f9e47a0a969adbe29cb29403c8a9bae06c8a /src
parent7fb89d5c9de5b488ec6a5775cf1ea038a5b8703a (diff)
parentd29e1f49ade177e675b9760efa91777392243c8c (diff)
downloadhercules-fa8651a64cb9900b8a86f9810ab7b4eb1613da5c.tar.gz
hercules-fa8651a64cb9900b8a86f9810ab7b4eb1613da5c.tar.bz2
hercules-fa8651a64cb9900b8a86f9810ab7b4eb1613da5c.tar.xz
hercules-fa8651a64cb9900b8a86f9810ab7b4eb1613da5c.zip
Merge pull request #2623 from skyleo/rifle_atk_fix
Fix W_RIFLE damage calculation being too low than intended
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 0b88f17c9..40e7d3161 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4977,6 +4977,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl
switch (sd->weapontype) {
case W_BOW:
case W_REVOLVER:
+ case W_RIFLE:
case W_GATLING:
case W_SHOTGUN:
case W_GRENADE: