PDA

Просмотр полной версии : [10053] Use UNIT_STAT_CONTROLED for mark unit state under direct player control.


newsbot
14.06.2010, 10:30
<pre>m src/game/CreatureAI.cpp
m src/game/CreatureEventAI.cpp
m src/game/GridNotifiersImpl.h
m src/game/MotionMaster.cpp
m src/game/Player.cpp
m src/game/SpellAuras.cpp
m src/game/Unit.cpp
m src/game/Unit.h
m src/shared/revision_nr.h

[10053] Use UNIT_STAT_CONTROLED for mark unit state under direct player control.


* This allow prevent move home/to caster at apply
* Also replace AI and reset movegens at control time
* Also stop combat and clear threat/hostile list at lost control for prevent
combat with freindly units.</pre>



Дальше... (http://github.com/mangos/mangos/commit/01a8f4fd28b8b7b8713b480cf2077b2ef4252be4)