Opened 3 years ago

Closed 3 years ago

#5864 closed defect (fixed)

Units with large passability fail to reach goal with minimum range.

Reported by: Silier Owned by: Silier
Priority: Release Blocker Milestone: Alpha 24
Component: Core engine Keywords:
Cc: wraitii Patch: Phab:D3148

Description (last modified by Silier)

Steps to cleanest reproduction.

Give ranged unit without packing state large passability.
Give it minumum range 26, max range 80.
Move it close to target.
Order it to attack target.

Unit will move out of minimum range, but unitmotion does not send success message.
Depending on if target moved, it sends likelyfailure or obstructed messages, resulting on following with attackmove on likelyfailure or being stuck in approaching state forever.

Change History (4)

comment:1 by Silier, 3 years ago

Description: modified (diff)

comment:3 by Silier, 3 years ago

Patch: Phab:D3148

comment:4 by Silier, 3 years ago

Owner: set to Silier
Resolution: fixed
Status: newclosed

In 24264:

Revert rP23283

Fix in rP23283 actually worked by accident, and introduced more serious issue with minimal range.

Differential revision: D3148
Fixes: #5864
Reviewed by: wraitii

Note: See TracTickets for help on using tickets.