[Freeciv-Dev] Re: (PR#6132) New function can_unit_attack_all_at_tile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Gregory Berkolaiko wrote:
> It checks whether a unit can attack all units at the target tile, which is
> the rule now for a successful attack.
>
> It should also be used in almost all cases instead of the direct call to
> can_unit_attack_unit_at_tile, which is done in the patch.
>
> One direct call is still left, where we are checking wheter a unit, which
> is not there yet, can be attacked.
>
> As a side effect, the loop in ai_manage_airunit (6123) would be prevented.
It seems like this completely conflicts with the layers concept?
jason
|
|