title @p[tag=mrp] actionbar "TCH TCH TCH TCH"
tag @p[tag=mrp] add punch
tag @p[tag=mrp] remove mrp
playsound minecraft:block.fire.extinguish master @p[tag=punch] ~ ~ ~ 20 2 1
execute at @p[tag=punch] run tp @e[tag=mr] ^ ^ ^1
execute at @e[tag=mr] run particle minecraft:flame ^ ^1 ^2 1 1 1 0.3 10 normal
execute as @e[tag=mr] run function template:magicians_red/animations/flame_thrower/play
execute as @s at @e[tag=mr] as @e[tag=!punch,distance=..5] at @s run damage @s 5 minecraft:player_attack
execute at @e[tag=mr] run data merge entity @e[limit=1,tag=!punch,distance=..5,sort=random] {Fire:300}
execute as @a at @e[tag=mr] run kill @e[distance=..5,type=arrow]
schedule function template:magicians_red/settle 6t