diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-02 17:01:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-02 17:01:44 +0000 |
commit | 970372a9d825d7f2be049a0bbda60463aa800f12 (patch) | |
tree | ebfd64475716cd835fec1078fb70dda464120e3c /src/map/mob.h | |
parent | c356e3e97d921d733389111d058d5b6f851214d1 (diff) | |
download | hercules-970372a9d825d7f2be049a0bbda60463aa800f12.tar.gz hercules-970372a9d825d7f2be049a0bbda60463aa800f12.tar.bz2 hercules-970372a9d825d7f2be049a0bbda60463aa800f12.tar.xz hercules-970372a9d825d7f2be049a0bbda60463aa800f12.zip |
- Some cleaning of the mob slave ai.
- Moved MOB_SLAVEDISTANCE to mob.h
- NPC_CALLSLAVES now uses the slave-distance previously mentioned.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6940 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 64f234285..4bfc76603 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -18,6 +18,9 @@ //Min time before mobs do a check to call nearby friends for help (or for slaves to support their master)
#define MIN_MOBLINKTIME 1000
+//Distance that slaves should keep from their master.
+#define MOB_SLAVEDISTANCE 2
+
// These define the range of available IDs for clones. [Valaris]
#define MOB_CLONE_START 9001
#define MOB_CLONE_END 10000
|