From e2915a844d1bbcdbc0eae324007a0235ed1ce1fe Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Tue, 7 Sep 2010 23:39:56 +0000 Subject: Added MD_TARGETWEAK to list of modes not to give a player when calculating player data. This makes evilclones aggressive towards players. (bugreport:3280) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14402 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/status.c b/src/map/status.c index 1e40018a5..1e9eaf178 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1769,7 +1769,7 @@ int status_calc_pc_(struct map_session_data* sd, bool first) //FIXME: Most of these stuff should be calculated once, but how do I fix the memset above to do that? [Skotlex] status->speed = DEFAULT_WALK_SPEED; //Give them all modes except these (useful for clones) - status->mode = MD_MASK&~(MD_BOSS|MD_PLANT|MD_DETECTOR|MD_ANGRY); + status->mode = MD_MASK&~(MD_BOSS|MD_PLANT|MD_DETECTOR|MD_ANGRY|MD_TARGETWEAK); status->size = (sd->class_&JOBL_BABY)?0:1; if (battle_config.character_size && pc_isriding(sd)) { //[Lupus] -- cgit v1.2.3-70-g09d2