Changes between Initial Version and Version 1 of Ticket #5511, comment 2


Ignore:
Timestamp:
Apr 19, 2020, 8:58:01 AM (4 years ago)
Author:
Freagarach

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5511, comment 2

    initial v1  
     1(Replay is from r23587.)
     2
    13The problem is that an order to attack was given without allowing capture, thus the attacking entity will use melee, against an enemy structure. When the structure was captured by the ally it starts losing CP. In the check whether the attacking unit CanAttack the structure there is no check whether it can continue the current attack (i.e. one could pass the attack type currently used) but just whether it could, using all types possible, attack the entity. And it can, because there are enemy CP in the CP-array. Hence continueing the attack, although with melee.
    24