
# -> Reset adv trigger
advancement revoke @s only overly_realistic:player/player_ride_horse

# -> If horse is not tagged then return
execute on vehicle \
    if entity @s[tag=!OverlyRealistic.Horse.IsRideable] \
    at @s run \
        return run \
            function overly_realistic:players/misc/animals/horse_not_rideable_operate_ridden

# -> Give attack damage boost
attribute @s attack_damage modifier add overly_realistic:riding_horse_attack_damage_boost 2.25 add_value
