
# -> Add to stamina illness timer
scoreboard players add @s OverlyRealistic.Player.IllnessTimer_StaminaReduction 1

# -> If timer < max then return and reset timer
execute if score @s OverlyRealistic.Player.IllnessTimer_StaminaReduction matches 3.. run \
    return run \
        scoreboard players reset @s OverlyRealistic.Player.IllnessTimer_StaminaReduction

# -> Reset stamina addition
scoreboard players set #or.global OverlyRealistic.Player.Stats.Stamina 0
