scoreboard players set min rng 0
scoreboard players set max rng 3
function rng:interval

execute if score out rng matches 0 run tag @s add mGhost
execute if score out rng matches 1 run tag @s add mUndead
execute if score out rng matches 2 run tag @s add shoot
execute if score out rng matches 3 run tag @s add cannon

tag @s add attk_choosen
