
# -> Apply new stamina
execute store result score @s OverlyRealistic.Animal.RidingStaminaMax run \
    random value 20..40

# -> Horse stamina
scoreboard players add @s[type=horse] OverlyRealistic.Animal.RidingStaminaMax 60
