execute store result score .dialog death run random value 1..2
execute if score .dialog death matches 1 run return fail
execute if score @p health >= @s health_max run return run function main:dialog/id/room/healing_boon/full_hp/random
execute if score @p health >= @s health_50 run return run function main:dialog/id/room/healing_boon/regular/random
execute if score @p health < @s health_50 if score @p health > @s health_25 run return run function main:dialog/id/room/healing_boon/low_hp/random
execute if score @p health < @s health_25 run return run function main:dialog/id/room/healing_boon/very_low_hp/random