YTDB

YTDB (http://ytdb.ru/index.php)
-   CMaNGOS Commits (http://ytdb.ru/forumdisplay.php?f=27)
-   -   [12565] Improve handling of TargetMMGen (http://ytdb.ru/showthread.php?t=14018)

newsbot 02.10.2013 15:37

[12565] Improve handling of TargetMMGen
 
Автор: Schmoozerd


<pre style='white-space:pre-wrap;width:81ex'>[12565] Improve handling of TargetMMGen

This will have impact on Chase and Follow Movement.

* Refactor code to check if a new position is required for the MMGen into the new function RequiresNewPosition
* Refactor code to get the current targeted distance into function GetDynamicTargetDistance
* Change ChaseMMGen (angle = 0.0f case) chase to best contact point, not zero angle.

Thanks to Cala and X-Savior for testing. Special thanks to cala for also suggesting improved values for the magic numbers
Close #112</pre>


Подробнее...


Текущее время: 03:54. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase