summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-12 11:10:46 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-12 11:10:46 +0000
commit2658339a3679ff5e495adf83d59136d20ed82d66 (patch)
tree6cb2d4b881d8f268a8843568beee8f3331425a5f /src/map/mob.c
parentc8745227f8cead250ccb8af5e932fa696b352cfc (diff)
downloadhercules-2658339a3679ff5e495adf83d59136d20ed82d66.tar.gz
hercules-2658339a3679ff5e495adf83d59136d20ed82d66.tar.bz2
hercules-2658339a3679ff5e495adf83d59136d20ed82d66.tar.xz
hercules-2658339a3679ff5e495adf83d59136d20ed82d66.zip
* Fixed usage of mvp_hp_rate and monster_hp_rate. MVP rate was used for common monsters [Lupus]
* Added additional random respawn delay for instant respawning monsters (0..5 seconds) [Lupus] - Should be made as an option of battle_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1225 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 8f41f93c7..3e2386bfb 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -903,7 +903,7 @@ int mob_setdelayspawn(int id)
spawntime1=md->last_spawntime+md->spawndelay1;
spawntime2=md->last_deadtime+md->spawndelay2;
- spawntime3=gettick()+5000;
+ spawntime3=gettick()+5000+rand()%5000; //Lupus
// spawntime = max(spawntime1,spawntime2,spawntime3);
if(DIFF_TICK(spawntime1,spawntime2)>0)
spawntime=spawntime1;