summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-07 23:39:56 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-09-07 23:39:56 +0000
commite2915a844d1bbcdbc0eae324007a0235ed1ce1fe (patch)
tree4c75eaf1b66f75d08671ca77e5feb550a88e7d4c /src/map/status.c
parentbe680a4b1e60147fb3573d1a09593de2fdd638df (diff)
downloadhercules-e2915a844d1bbcdbc0eae324007a0235ed1ce1fe.tar.gz
hercules-e2915a844d1bbcdbc0eae324007a0235ed1ce1fe.tar.bz2
hercules-e2915a844d1bbcdbc0eae324007a0235ed1ce1fe.tar.xz
hercules-e2915a844d1bbcdbc0eae324007a0235ed1ce1fe.zip
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
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
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]