Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3329 closed defect (fixed)

Capturing - Units will attack if capture order is issued on a mirage / structure in fog of war

Reported by: elexis Owned by: Itms
Priority: Should Have Milestone: Alpha 19
Component: Core engine Keywords:
Cc: sanderd17 Patch:

Description

If you select some units and click on an enemy building that is inside the fog of war, then the units will go there and attack the building instead of capture it.

The command issued in that case is:

cmd 1 {"type":"attack","entities":[3377,3378,3379,3380,3381,3382,3383,3384,3385,3386],"target":3488,"allowCapture":true,"queued":false}

The order is issued to the mirage instead of the original entity.

Change History (3)

comment:1 by Itms, 9 years ago

Milestone: BacklogAlpha 19
Owner: set to Itms

comment:2 by Itms, 9 years ago

Resolution: fixed
Status: newclosed

In 16885:

Use the mirage data to determine the best attack in case of capture attack. Fixes #3329

comment:3 by Itms, 9 years ago

In 16886:

Same as previous commit, but nicer. Refs #3329

Note: See TracTickets for help on using tickets.