
# -> Decrease exhaustion value
scoreboard players remove @s OverlyRealistic.Animal.Exhaustion 1

# -> If exhaustion > 0 then return
execute if score @s OverlyRealistic.Animal.Exhaustion matches 1.. run \
    return fail

# -> Remove exhaustion modifiers
attribute @s max_health modifier remove overly_realistic:animal_tired_from_fleeing
attribute @s movement_speed modifier remove overly_realistic:animal_tired_from_fleeing
