- Added unlocking ud.target on mob_unlocktarget, fixes mobs chasing you around while cloaked.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6333 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-04-28 00:03:26 +00:00
parent 1e0a083910
commit ebf3c20d6b
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/27 2006/04/27
* Added unlocking ud.target on mob_unlocktarget, fixes mobs chasing you
around while cloaked. [Skotlex]
* Changed the default rate of clone mob skills to 5% modified by * Changed the default rate of clone mob skills to 5% modified by
mob_skill_rate setting. [Skotlex] mob_skill_rate setting. [Skotlex]
* Applied some changes in unit.c to make mobs pick chase paths as they * Applied some changes in unit.c to make mobs pick chase paths as they

View File

@ -972,6 +972,7 @@ int mob_unlocktarget(struct mob_data *md,int tick)
md->state.skillstate=MSS_IDLE; md->state.skillstate=MSS_IDLE;
md->next_walktime=tick+rand()%3000+3000; md->next_walktime=tick+rand()%3000+3000;
mob_stop_attack(md); mob_stop_attack(md);
md->ud.target = 0;
return 0; return 0;
} }
/*========================================== /*==========================================