Opened 3 years ago

Closed 3 years ago

#6003 closed defect (fixed)

COMBAT.APPROACHING movement can fail and lead to attacking structures

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

Description

Just to not forget about it.

Change History (1)

comment:1 by wraitii, 3 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 24866:

Allow capture when falling back to "WalkAndFight" in COMBAT.APPROACHING

COMBAT.APPROACHING will fallback to WalkAndFight if the order is forced and the movement fails (happens e.g. on target death).
That behaviour was added in rP22425 (and tweaked in rP22567), to make the unit move to the general position asked by the player as a fallback.
However, it did not allow capture, which meant units would occasionally start attacking structures, instead of capturing (the default).
This makes that fallback allow capture in all cases, which is generally more expected than the reverse.

Fixes #6003

Differential Revision: https://code.wildfiregames.com/D3548

Note: See TracTickets for help on using tickets.