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/skill.c | |
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/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index b5a54e041..6c12f7a20 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4828,7 +4828,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; case NPC_CALLSLAVE: - mob_warpslave(src,2); + mob_warpslave(src,MOB_SLAVEDISTANCE); break; case NPC_RANDOMMOVE: |