scoreboard players set @s svm_ep.mana 50
execute store result score @s svm_ep.numbers run random value 1..10
execute as @s[scores={svm_ep.numbers=1}] run function svm_ep:npc/spawn/swordsmen_weak
execute as @s[scores={svm_ep.numbers=2}] run function svm_ep:npc/spawn/swordsmen_normal
execute as @s[scores={svm_ep.numbers=3}] run function svm_ep:npc/spawn/swordsmen_strong