From 40b72f9064169a377d5bcd46c888a67409efcdec Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 25 Sep 2007 21:43:03 +0000 Subject: - 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 --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2