execute if entity @a[distance=..10] run return 0
execute if entity @a[distance=..75] unless entity @n[type=minecraft:pillager,distance=..15] unless entity @n[type=minecraft:vindicator,distance=..15] summon minecraft:pillager run function ws:misc/spawn/modify.civ