summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-17 19:47:43 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-17 19:47:43 +0000
commit594346f71e2c1832835fd9d59638dc1d40bdb628 (patch)
treee688bd21852760060ff1dd94397dbd3dd8eb224a /src
parent71d7f4a76ad303785d9179342ab963613eaa24c2 (diff)
downloadhercules-594346f71e2c1832835fd9d59638dc1d40bdb628.tar.gz
hercules-594346f71e2c1832835fd9d59638dc1d40bdb628.tar.bz2
hercules-594346f71e2c1832835fd9d59638dc1d40bdb628.tar.xz
hercules-594346f71e2c1832835fd9d59638dc1d40bdb628.zip
Fixed baphomet card bonus not working when used by ammunition (required by a new kunai), bugreport:506
WHOS YOUR DADDY? IND HENNET! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15696 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 915537bc2..276ccf73a 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2377,12 +2377,11 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
sd->special_state.no_knockback = 1;
break;
case SP_SPLASH_RANGE:
- if(sd->state.lr_flag != 2 && sd->splash_range < val)
+ if(sd->splash_range < val)
sd->splash_range = val;
break;
case SP_SPLASH_ADD_RANGE:
- if(sd->state.lr_flag != 2)
- sd->splash_add_range += val;
+ sd->splash_add_range += val;
break;
case SP_SHORT_WEAPON_DAMAGE_RETURN:
if(sd->state.lr_flag != 2)