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

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu May 19 01:20:44 JST 2022


#44545: Ransom paid for escaped barbarian leaders

  Open Date: 2022-05-08 06:20
Last Update: 2022-05-18 19:20

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-05-18 19:20 Updated by: cazfi

Comment:

And further; the barbarian player must have enough gold to pay the ransom of all the units (both the actually captured one and the escaped one)

---------------------------------------------------------------------
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
Back to archive index