tag @s add executor

execute unless entity @s[scores={svm_ep.using_move=1..}] on target at @s as @e[tag=executor] if entity @s[distance=..3] run function svm_ep:npc/advanced/swordsmen/use_ability
effect give @s[scores={svm_ep.npc_strength=3..}] minecraft:strength 1 0 true
effect give @s minecraft:speed 1 1 true
tag @s remove executor
