Reply To ihnatus
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.
Just commenting in older versions (2.6), it was possible to loot by killing (with a sea/air unit) or nuking the leader as a queued action (having the non conquering unit/nuke go to the leader's city/tile at the start of the next turn) and having an AI teammate (either ally with shared vision or an AI teammate) who would see the city is empty would grab it if it has a unit within range.
In 3.0, this is no longer possible because the player is prompted of the success chance in their attack to make an informed decision thus ensuring all attacks happen when its the player's turn.
Not sure if this is relevant or helpful, but just sharing this tidbit in hopes it might be
With limited time to test before 3.0.3, maybe better not to take risk of regressions from this.
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.