diff options
author | Rushor <Rushor@users.noreply.github.com> | 2020-09-11 21:16:35 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-05 22:51:52 +0100 |
commit | dfeb8c267f94f6a2b2ebe717fd43c5d4fd36a549 (patch) | |
tree | 4ca5d32b3ba8516168ba25eed1bc80a74364ba96 /src/common/Utilities/Util.cpp | |
parent | 9fe5a7297dd74bebd05672ff7a029725257c5bac (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>
(cherry picked from commit 02fca032e1d497be08681de0bfd7bca979f0dafd)
Diffstat (limited to 'src/common/Utilities/Util.cpp')
0 files changed, 0 insertions, 0 deletions