Opened 5 years ago
Last modified 5 years ago
#5541 closed defect
Unit fleeing trying to go back to attacker when attacker moving in close proximity. — at Version 6
Reported by: | Freagarach | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 24 |
Component: | Simulation | Keywords: | UnitAI, chasing, regression |
Cc: | wraitii | Patch: |
Description (last modified by )
On A24 (rP22554).
When attacking a melee unit (B) on fleeing stance with a melee horse (A), sometimes, when unit A is close to unit B, unit B tries to go back towards unit A. Running into A's chasing arms again.
This is easy to verify:
- Attack a melee unit on fleeing stance with a melee horse.
- See the above described behaviour.
Change History (7)
by , 5 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 5 years ago
I don't find it extremely clear how to reproduce this or what exactly you find wrong.
I do see an oddity sometimes with units trying to go back, I think that's going straight to target that predicts that target movement, putting the enemy predicted in front of us, which can perhaps be fixed.
comment:2 by , 5 years ago
That is indeed what I meant. Unrelated to the second attack but only to the proximity of the chasing unit.
comment:3 by , 5 years ago
Description: | modified (diff) |
---|
comment:4 by , 5 years ago
wraitii, I just checked the fleeing behaviour on A23b, this does not occur there, just for your information.
comment:5 by , 5 years ago
Keywords: | regression added |
---|
comment:6 by , 5 years ago
Description: | modified (diff) |
---|---|
Summary: | Fleeing is weird. → Unit fleeing trying to go back to attacker when attacker moving in close proximity. |
Replay.