- Gave a minimum think time to the dummy mob and to clones.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9423 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-12-06 18:29:44 +00:00
parent 5036e3591a
commit 3adbc9b589
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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;