summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-02 01:49:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-02 01:49:27 +0000
commit80ee93f183303ccc188fdc587bd25330a192b4e6 (patch)
tree20633bcdda78d66281cfeea577d202132877f9f4 /src/map/mob.c
parentc9fa0221f3c171550b99772b2c3eafec0e02bbb8 (diff)
downloadhercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.gz
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.bz2
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.tar.xz
hercules-80ee93f183303ccc188fdc587bd25330a192b4e6.zip
- Fixed passive mobs becoming increasingly unlikely to retaliate to attacks after they got inflicted by a disabling status change.
- Changed the "is_boss" define to check for mode MD_BOSS instead of giving mvp exp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9384 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index b00d18aeb..92a0396ec 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1079,7 +1079,7 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap)
// Abnormalities
if((md->sc.opt1 > 0 && md->sc.opt1 != OPT1_STONEWAIT) || md->sc.data[SC_BLADESTOP].timer != -1)
{ //Should reset targets.
- md->target_id = md->attacked_id = 0;
+ md->target_id = md->attacked_id = md->attacked_players = 0;
return 0;
}