summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index b0a7a11e9..360c69e06 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -35,6 +35,9 @@
#define MOB_CLONE_START (MAX_MOB_DB-999)
#define MOB_CLONE_END MAX_MOB_DB
+//Used to determine default enemy type of mobs (for use in eachinrange calls)
+#define DEFAULT_ENEMY_TYPE(md) (md->special_state.ai?BL_CHAR:BL_PC|BL_HOM|BL_MER)
+
//Mob skill states.
enum MobSkillState {
MSS_ANY = -1,