summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-29 12:09:02 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-29 12:09:02 +0000
commitbcbd358d4f57a7f51cb80dd829db6576824939ab (patch)
treec8cfbc68c0cca2ca5eb7ed53999317436192e141 /src
parent285c3820a753982afc30e20286565e74be9b3008 (diff)
downloadhercules-bcbd358d4f57a7f51cb80dd829db6576824939ab.tar.gz
hercules-bcbd358d4f57a7f51cb80dd829db6576824939ab.tar.bz2
hercules-bcbd358d4f57a7f51cb80dd829db6576824939ab.tar.xz
hercules-bcbd358d4f57a7f51cb80dd829db6576824939ab.zip
* Fixed bonus 'bHPDrainValue' on left hand would work as right hand bonus, when specified with 'bonus' rather than 'bonus2' (bugreport:4939, since r6221).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14834 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b134c005f..cb6405b22 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2321,8 +2321,8 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
sd->right_weapon.hp_drain[RC_BOSS].value += val;
}
else if(sd->state.lr_flag == 1) {
- sd->right_weapon.hp_drain[RC_NONBOSS].value += val;
- sd->right_weapon.hp_drain[RC_BOSS].value += val;
+ sd->left_weapon.hp_drain[RC_NONBOSS].value += val;
+ sd->left_weapon.hp_drain[RC_BOSS].value += val;
}
break;
case SP_SP_DRAIN_VALUE: