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

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sat Jul 9 06:44:31 JST 2022


#44545: Ransom paid for escaped barbarian leaders

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

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:44 Updated by: Anonymous

Comment:

After running a few test games, it does seem iikely that cazfi's concerns may be valid. While I have no way of knowing if a leader escaped, I did get paid 100 gold x number of barbarian leaders "killed" on a single tile (ie: a tile with 3 barbarian leaders paid 300 gold when defeated, a tile with 2 gave 200 gold) when only attacking with one unit (all units die with defender setting) which in older versions wasn't paid out (only if there was a single leader by itself would the ransom be paid).

---------------------------------------------------------------------
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
アーカイブの一覧に戻る