## Activated ability for Lord. Adjust animation length (cooldown) in endmo-bp/animations/player.json > animation.player.morph_Lord_activated

tag @e[family=mob] add ValidLTarget
tag @e[family=goat] add ValidLTarget
tag @e[family=fish] add ValidLTarget
tag @e[family=panda] add ValidLTarget
tag @e[family=piglin] add ValidLTarget
tag @e[family=monster] add ValidLTarget
tag @e[family=ender] add ValidLTarget
execute positioned ^ ^ ^1 run tag @e[tag=ValidLTarget,r=4,c=1] add PotentialLTarget
execute positioned ^ ^ ^2 run tag @e[tag=ValidLTarget,r=3,c=1] add PotentialLTarget
execute positioned ^ ^ ^3 run tag @e[tag=ValidLTarget,r=2,c=1] add PotentialLTarget
execute positioned ^ ^ ^4 run tag @e[tag=ValidLTarget,r=2,c=1] add PotentialLTarget
execute positioned ^ ^ ^5 run tag @e[tag=ValidLTarget,r=1,c=1] add PotentialLTarget
damage @e[tag=PotentialLTarget,c=1] 12 entity_attack entity @s
tag @e remove ValidLTarget
tag @e remove PotentialLTarget
# spawns the projectile on the player if they have enough end force