#5478 closed defect (fixed)
Ranged cavalry hunting results in idling in INDIVIDUAL.COMBAT.APPROACHING
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 24 |
Component: | Simulation | Keywords: | regression |
Cc: | Patch: | Phab:D2035, Phab:rP22367 |
Attachments (1)
Change History (6)
by , 5 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 5 years ago
This isn't actually always a duplicated of #5479 like I initially thought. What happens is that the unit is ordered to move to the attack range, which uses a parabolic something formula. But the range check uses another formula... So they don't coincide. Further - these ranges depend on the height difference between the two units, which changes over time.
This didn't happen in A23 because COMBAT.APPROACHING called MoveToTargetAttackingRange if we weren't in range, which seems sensible given this problem. This might have been on purpose - there's no trace of it in the ticket or the commit, but it's been added then.
comment:2 by , 5 years ago
Milestone: | Backlog → Alpha 24 |
---|---|
Patch: | → Phab:D2035 |
comment:3 by , 5 years ago
This has been fixed by Phab:D2035 for the height difference, and by multiple other diffs for more general chasing behaviour such as Phab:rP22367
comment:4 by , 5 years ago
Patch: | Phab:D2035 → Phab:D2035, Phab:rP22367 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed for the specific bug, and fixed in general later on.
comment:5 by , 5 years ago
Keywords: | regression added |
---|
Reproduction on rp22426