
# --> Do debuffs

# -> 0-5
execute if score @s OverlyRealistic.Player.Stats.Stamina matches ..5 run \
    return run \
        attribute @s attack_damage modifier add overly_realistic:stamina_attack_damage_debuff -0.4 add_multiplied_total

# -> 6-10
execute if score @s OverlyRealistic.Player.Stats.Stamina matches 6..10 run \
    return run \
        attribute @s attack_damage modifier add overly_realistic:stamina_attack_damage_debuff -0.33 add_multiplied_total

# -> 11-15
execute if score @s OverlyRealistic.Player.Stats.Stamina matches 11..15 run \
    return run \
        attribute @s attack_damage modifier add overly_realistic:stamina_attack_damage_debuff -0.25 add_multiplied_total

# -> 16-20
attribute @s attack_damage modifier add overly_realistic:stamina_attack_damage_debuff -0.1 add_multiplied_total
