# Values
function rng:percentage

# If it's mob (tag matters)
execute unless entity @e[tag=mimic,limit=1,dx=44,dy=29,dz=44] if score out rng matches ..10 run scoreboard players add n_mimic dungeon 1
execute unless entity @e[tag=mimic,limit=1,dx=44,dy=29,dz=44] if score out rng matches ..10 run tag @s add mimic
