function rng:percentage

execute rotated ~ 0 rotated ~40 ~-20 run function attacks:ent_summon/summon
execute if score out rng matches 50.. rotated ~ 0 rotated ~-20 ~-40 run function attacks:ent_summon/summon
execute if score out rng matches 70.. rotated ~ 0 rotated ~200 ~-30 run function attacks:ent_summon/summon

tag @s remove attacking
tag @s remove summon_ent
