function rng:percentage
scoreboard players set #tmp luck 2
scoreboard players operation out rng *= #tmp luck
scoreboard players operation out rng += @s luck
scoreboard players operation out rng /= #tmp luck

execute if score out rng matches ..35 run scoreboard players add @s damage 100
