[Freeciv-tickets] [freeciv] #44545: Ransom paid for escaped barbarian leaders

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sat Jul 9 06:56:24 JST 2022


#44545: Ransom paid for escaped barbarian leaders

  Open Date: 2022-05-08 12:20
Last Update: 2022-07-09 06:56

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44545
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44545

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-07-09 06:56 Updated by: Anonymous

Comment:

Reply To cazfi
Reply To (Anonymous)
While I have no way of knowing if a leader escaped

If it escaped, it's in the neighboring tile.

Paying ransom for multiple *caught* leaders is intentional change in freeciv-3.0. See https://www.freeciv.org/wiki/NEWS-3.0.0
Perfect.
In the test games I ran, there were no cases of being paid a ransom and the leader managed to escape into a neighboring tile, though my sample size is about 10 encounters of multiple barbarian leaders on the same tile and a possible tile to escape to and 30 encounters of a single isolated barbarian leader

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: Server
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is based on reading the source code, not yet tested in practice:
kill_unit() pays ransom of barbarian leaders as soon as it knows that the target tile has no other units defending them. If there's more than one of them ("defending" units) some of them may escape in the later handling, if the ruleset gives also CanEscape flag to them. Probably should not pay the ransom of those barbarian leaders that actually escape.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44545
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44545



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index