#Tag
execute at @a[nbt={SelectedItem:{id:"minecraft:bow",tag:{test:1}}}] positioned ~ ~1.5 ~ run tag @e[type=arrow,distance=...3] add test
#Arrow
execute at @e[tag=test] run particle minecraft:sonic_boom
#Detect
execute at @e[tag=test,nbt={inGround:1b}] run summon area_effect_cloud ~ ~ ~ {Duration:5,Tags:["warrd"]}
kill @e[tag=test,nbt={inGround:1b}]
#Effect
execute at @e[tag=warrd] run particle sculk_soul ~ ~ ~ 0 0 0 .1 20 normal
execute at @e[tag=warrd] run damage @e[distance=..5,limit=1,type=!item] 8 minecraft:sonic_boom
execute at @e[tag=warrd] run playsound minecraft:entity.warden.sonic_boom ambient @a ~ ~ ~