#44672: Indirect kill of a leader gives no loot Open Date: 2022-05-25 23:16 Last Update: 2022-06-11 15:52 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44672 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44672 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-11 15:52 Updated by: cazfi * Milestone Update from 3.0.2 to 3.0.3 --------------------------------------------------------------------- Ticket Status: Reporter: ihnatus Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.3 Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: The kill_unit() procedure which is responsible for killing side effects gives loot for a killed gameloss unit if ruleset sets so but only if the unit was the one which actually has been defending. I.e., if you play with killstack on and your leader is in a vulnerable stack covered by a better defender and that defender loses, then the leader is just gone with the stack at the end of the function. His civilisation in effect disappears or goes barbarian but the victor gets no cities, gold or map that they would have if the leader were killed directly. Yes, that goes in line with what happens with a barbarian leader, but it's probably not intended so and is a bug. Well, when a leader is nuked, maybe we should actually get no loot... or it should be configured in later versions. -- 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/44672 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44672