diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-03 01:39:45 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-03 01:39:45 +0000 |
commit | a9763770c28c1e79cc43a0a43b46745ea3090940 (patch) | |
tree | 59279fec5b69e1c9f91952f8fc9cf68a6dd16085 /src/map/mob.c | |
parent | 4f7099544a0846d270eaf131ce25b61d9880ba8e (diff) | |
download | hercules-a9763770c28c1e79cc43a0a43b46745ea3090940.tar.gz hercules-a9763770c28c1e79cc43a0a43b46745ea3090940.tar.bz2 hercules-a9763770c28c1e79cc43a0a43b46745ea3090940.tar.xz hercules-a9763770c28c1e79cc43a0a43b46745ea3090940.zip |
* Added battle_config.mob_slave_keep_target config option (monster.conf)
- When yes (default) MVP slaves will always keep their prior targets.
- When no the old behavior of switching to the closest target is enabled.
* Updated MAX_MOB_DB to 4000 (Monsters are starting to appear in the 2k ranges)
* Changed default respawn time (when 0) to 500 from 5000.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14119 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index f0741a2cf..95f6964a7 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -792,8 +792,8 @@ int mob_setdelayspawn(struct mob_data *md) if (md->spawn->delay2) //random variance spawntime+= rand()%md->spawn->delay2; - if (spawntime < 5000) //Min respawn time (is it needed?) - spawntime = 5000; + if (spawntime < 500) //Min respawn time (is it needed?) + spawntime = 500; if( md->spawn_timer != INVALID_TIMER ) delete_timer(md->spawn_timer, mob_delayspawn); |