summaryrefslogtreecommitdiff
path: root/src/map/battle.h
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/battle.h
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/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 6a137a4de..709cc3c78 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -75,7 +75,7 @@ int battle_getcurrentskill(struct block_list *bl);
#define BCT_SELF 0x010000
#define BCT_NEUTRAL 0x100000
-#define is_boss(bl) status_get_mexp(bl) // Can refine later [Aru]
+#define is_boss(bl) (status_get_mode(bl)&MD_BOSS) // Can refine later [Aru]
int battle_check_undead(int race,int element);
int battle_check_target(struct block_list *src, struct block_list *target,int flag);