aboutsummaryrefslogtreecommitdiff
path: root/src/tools/connection_patcher/Program.cpp
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-03-24 16:12:53 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2017-01-07 21:33:28 +0100
commit489027703e2d8cc0a974b68b6610e7b84d1d7899 (patch)
tree4da77193b0dbe0211eaaabe8db32d7dea1c919bb /src/tools/connection_patcher/Program.cpp
parentf93730b160fbd5bf47e2abdbc86cec8780aab18e (diff)
Entities/Unit: Finally fix no-path evasion.
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health. - If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH. - Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants. (cherry picked from commit 7b1560fccba77ecbdfecd7b33af740aea41b7087)
Diffstat (limited to 'src/tools/connection_patcher/Program.cpp')
0 files changed, 0 insertions, 0 deletions