Open stevecotton opened 1 year ago
If the idea is to prevent two units with the same id from being added to the array of wounded units, the solution is as simple as three extra lines here:
#define NFW_CATCH_LAST_BREATH
[filter]
[not]
id=$nfw_exclude_unit_id
[or]
find_in=nfw_wounded
[/or]
[/not]
[/filter]
Found by @Toranks,
Context is last night's discussion in the Discord
#development
/ IRC#wesnoth-dev
channel.