function rng:percentage

# 15
execute if score out rng matches ..15 run effect give @s strength 22 1
execute if score out rng matches ..15 run tellraw @s [{"translate":"pandoras_pouch.msg.strength.s0","color":"gray"},{"translate":"pandoras_pouch.msg.strength.s1","italic":true,"color":"dark_gray"}]
# 25
execute if score out rng matches 16..40 run effect give @s health_boost 30 1
execute if score out rng matches 16..40 run tellraw @s [{"translate":"pandoras_pouch.msg.health_boost.s0","color":"gray"},{"translate":"pandoras_pouch.msg.health_boost.s1","italic":true,"color":"dark_gray"}]
# 25
execute if score out rng matches 41..65 run effect give @s instant_health 1 0
execute if score out rng matches 41..65 run tellraw @s [{"translate":"pandoras_pouch.msg.instant_health.s0","color":"gray"},{"translate":"pandoras_pouch.msg.instant_health.s1","italic":true,"color":"dark_gray"}]
# 15
execute if score out rng matches 66..80 run effect give @s absorption 30 2
execute if score out rng matches 66..80 run tellraw @s [{"translate":"pandoras_pouch.msg.absorption.s0","color":"gray"},{"translate":"pandoras_pouch.msg.absorption.s1","italic":true,"color":"dark_gray"}]
# 10
execute if score out rng matches 81..90 run scoreboard players remove pandoras_pouch curse 100
execute if score out rng matches 81..90 run tellraw @s [{"translate":"pandoras_pouch.msg.cleanse.s0","color":"gray"},{"translate":"pandoras_pouch.msg.cleanse.s1","italic":true,"color":"dark_gray"}]
# 10
execute if score out rng matches 91.. run tellraw @s [{"translate":"pandoras_pouch.msg.drop.s0","color":"gray"},{"translate":"pandoras_pouch.msg.drop.s1","italic":true,"color":"dark_gray"}]
execute if score out rng matches 91.. run function items:passive/pandoras_pouch/drop
