summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 20:59:07 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 20:59:07 +0000
commit1da02be93e1014763424c9174e1b3b52baf10439 (patch)
treefbbcc7342a65f4ecef6d763b5cc0eac2fa4b7adf /src/map/mob.h
parentcce28be793ac48e1fcac04ee9bbf565ae5cc3f1f (diff)
downloadhercules-1da02be93e1014763424c9174e1b3b52baf10439.tar.gz
hercules-1da02be93e1014763424c9174e1b3b52baf10439.tar.bz2
hercules-1da02be93e1014763424c9174e1b3b52baf10439.tar.xz
hercules-1da02be93e1014763424c9174e1b3b52baf10439.zip
- Modified the mob ai think time update after using skills from adelay/amotion to 100ms since the previous method adds a large delay before the AI activates again (which screws up with the timing of idle/walk skills)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10348 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 61f0d6345..6acc282fc 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -19,6 +19,8 @@
#define MAX_MOB_DROP 10
#define MAX_STEAL_DROP 7
+//Min time between AI executions
+#define MIN_MOBTHINKTIME 100
//Min time before mobs do a check to call nearby friends for help (or for slaves to support their master)
#define MIN_MOBLINKTIME 1000