#44545: Ransom paid for escaped barbarian leaders Open Date: 2022-05-08 06:20 Last Update: 2023-11-10 08:10 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: 2023-11-10 08:10 Updated by: cazfi * Milestone Update from 3.0.9 to 3.0.10 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.10 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