Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   CMaNGOS Commits (http://mangos.ytdb.ru/forumdisplay.php?f=38)
-   -   [10053] Use UNIT_STAT_CONTROLED for mark unit state under direct player control. (http://mangos.ytdb.ru/showthread.php?t=1454)

newsbot 14.06.2010 09:30

[10053] Use UNIT_STAT_CONTROLED for mark unit state under direct player control.
 
<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>



Дальше...


Текущее время: 13:46. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS