summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 21:43:03 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 21:43:03 +0000
commit40b72f9064169a377d5bcd46c888a67409efcdec (patch)
tree8b9ba859550b513f48c946e00a42193478ce4c07
parente5319f356aed2af2b2f81a8759a65d702d2814fc (diff)
downloadhercules-40b72f9064169a377d5bcd46c888a67409efcdec.tar.gz
hercules-40b72f9064169a377d5bcd46c888a67409efcdec.tar.bz2
hercules-40b72f9064169a377d5bcd46c888a67409efcdec.tar.xz
hercules-40b72f9064169a377d5bcd46c888a67409efcdec.zip
- Fixed bAddEff2 causing the effect on the enemy rather than on yourself.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11299 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 5b7a6aab0..1a25c5713 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1984,7 +1984,7 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val)
break;
}
pc_bonus_addeff(sd->addeff, ARRAYLENGTH(sd->addeff), type2,
- sd->state.lr_flag!=2?val:0, sd->state.lr_flag==2?val:0, 0);
+ sd->state.lr_flag!=2?val:0, sd->state.lr_flag==2?val:0, ATF_SELF);
break;
case SP_RESEFF:
if (type2 < SC_COMMON_MIN || type2 > SC_COMMON_MAX) {