summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 18:29:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-06 18:29:44 +0000
commit53e238229a7308f35a9918596c8827004dc1d48a (patch)
tree7589fc89da0f6ce7443a02f3f76f416d5d25e035
parentf4edc7e4431b929acc62e4c2427e815ba9d69779 (diff)
downloadhercules-53e238229a7308f35a9918596c8827004dc1d48a.tar.gz
hercules-53e238229a7308f35a9918596c8827004dc1d48a.tar.bz2
hercules-53e238229a7308f35a9918596c8827004dc1d48a.tar.xz
hercules-53e238229a7308f35a9918596c8827004dc1d48a.zip
- Gave a minimum think time to the dummy mob and to clones.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9423 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/mob.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 5edf458ab..c3505f0d5 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2004/12/06
+ * Gave a minimum think time to the dummy mob and to clones. [Skotlex]
* Moved setting a mob's chase/attack states from the mob_ai to unit_attack
and unit_walktobl for better state-handling precision. [Skotlex]
* Cleaned the change-target/cast-sensor code to account for the new mob
diff --git a/src/map/mob.c b/src/map/mob.c
index fb26a9d26..0547095d7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2934,6 +2934,7 @@ int mob_clone_spawn(struct map_session_data *sd, int m, int x, int y, const char
mob_db_data[class_]->job_exp=1;
mob_db_data[class_]->range2=AREA_SIZE; //Let them have the same view-range as players.
mob_db_data[class_]->range3=AREA_SIZE; //Min chase of a screen.
+ mob_db_data[class_]->min_thinktime = 500; //Average player's reflexes?
mob_db_data[class_]->option=sd->sc.option;
//Skill copy [Skotlex]
@@ -3151,6 +3152,7 @@ static int mob_makedummymobdb(int class_)
mob_dummy->status.adelay=1000;
mob_dummy->status.amotion=500;
mob_dummy->status.dmotion=500;
+ mob_dummy->min_thinktime=5000;
mob_dummy->base_exp=2;
mob_dummy->job_exp=1;
mob_dummy->range2=10;