You can use the `coerceAtLeast` function: `health ...
# getting-started
m
You can use the
coerceAtLeast
function:
health = (health - attack.value).coerceAtLeast(0)