Barbarian Leader's Ransom is 27, not 100 (civ2civ3, 3.0.0-beta1+ 2076671629)
The help text for Barbarian Leader says:
When a Barbarian Leader is killed on a tile without any defending units, the 100 gold ransom is paid, but only to land units and helicopters.
In the attached savegame, there is a Barbarian Leader at tgt="unit" id=2643 name="Barbarian Leader" / and Riflemen next to him. If you use the Riflemen to kill him, you only get 27 gold.
Reading the source code it seems that ransom is victim's money, or ruleset defined ransom_gold at max. So if the barbarian player has less than 100 gold, you get only what he has. This needs documenting.
Documenting this in ruleset comments (developer documentation) split to new ticket -> #41943
Reserving this ticket for help (user documentation) updates.
I am 99% sure that when there are 2 barbarian leaders on the same tile, and no other unit, i did not get 200 gold , but zero instead. (both killed with one land unit)
Maybe i was very unlucky and barbarian treasure was 0 ?
When there is 2 barbarian leaders in the same tile, neither of them is alone... I've had changing that in my TODO for years.
i tested a patch to get 200 for 2 leaders, as the doc says 'if there are no other defending unit' :-)
I works for me, i can provide a test game.
Opened a new ticket about the more-than-one-leader case -> #42020