Summary: Inconsistent nativity limits on source tile for
regular attacks
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Tue 22 Jul 2014 12:18:46 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None
         Planned Release: 



The function unit_attack_unit_at_tile_result() will check if the source tile
is native to the attacking unit. The function unit_move_to_tile_test() will
check if the attacking unit can exist at the source tile. A tile is native to
a unit if its terrain is native or it has an extra that makes it native. A
unit can exist on a tile if it (has a city AND (the unit's class has the flag
BuildAnywhere OR an adjacent tile is native OR the city is part of a city
channel)) OR (the tile is native unless (the units type has the flag Trireme
AND the tile's terrain don't have the flag UnsafeCoast)).

A comment in unit_move_to_tile_test() indicates that can exist is intentional
and preferred.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to