Skip to content

Utils: health

Health and damage helpers.

apply_damage_and_check_death(health_dict, dead_dict, eid, damage, lethal)

Apply damage to entity and mark dead if lethal or HP reaches zero.