diff options
author | Rushor <Rushor@users.noreply.github.com> | 2020-09-11 21:16:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 21:16:35 +0200 |
commit | 02fca032e1d497be08681de0bfd7bca979f0dafd (patch) | |
tree | 5129d1313d4b97b1fab86af79d707047651d89db /src/common/Utilities/Util.cpp | |
parent | 9d96e4852a4a25fdc323f656e24034fa1a280826 (diff) |
Game/AI: Implement option to move a creature back to Homeposition on Evade. (#24492)
* Game/AI: Implement option to move a creature back to Homeposition on Evade.
* If ToHomePosition (action param 1) is 1 > Move to last stored position
* If ToHomePosition (action param 1) is 0 > Move to homeposition
* Ref: https://github.com/TrinityCore/TrinityCore/issues/24226
* Add parameter for walkmode
* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition and store point from GetRespawnPosition.
* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition
* Remove broken bits, simplify the code
* Update comments
* Code cleanup
Co-authored-by: jackpoz <giacomopoz@gmail.com>
Diffstat (limited to 'src/common/Utilities/Util.cpp')
0 files changed, 0 insertions, 0 deletions