Opened 5 years ago
Last modified 5 years ago
#5541 closed defect
Fleeing is weird. — at Initial Version
Reported by: | Freagarach | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 24 |
Component: | Simulation | Keywords: | UnitAI, chasing, regression |
Cc: | wraitii | Patch: |
Description
On A24 (rP22554).
When attacking a melee unit (B) on fleeing stance with a melee horse (A), the horse can (in most of the cases) attack twice before it needs to start chasing (although B is obviously out of range). Whenever that happens, unit B tries to go back to where the horse was when attacking. Running into A's chasing arms again. If in UnitAI.js a check is incorporated just before perform attack whether the target is in range, the behaviour does not occur and chasing is 'normal'.
This is easy to verify:
- Attack a melee unit on fleeing stance with a melee horse.
- See the above described behaviour.
Note:
See TracTickets
for help on using tickets.
Replay.