#function untwo:enchant/unique/stream/breeze/proj/per/0/0
#各弾が毎tick実行するfunction
scoreboard players add @s untwo.proj.age 1

execute if entity @s[tag=untwo.kill.599t.run] run tag @s remove untwo.kill.599t.run
execute if entity @s[tag=untwo.kill.599t.run] on passengers run tag @s remove untwo.kill.599t.run

function untwo:enchant/unique/stream/breeze/proj/anim/



####
function untwo:enchant/unique/stream/breeze/proj/motion/


execute if entity @s[tag=untwo.proj.entity_hit] at @s run function untwo:enchant/unique/stream/breeze/proj/per_entity_hit/

execute if score @s untwo.proj.age >= @s untwo.proj.life_time run particle minecraft:effect ~ ~ ~ 0 0 0 0.5 30
execute if score @s untwo.proj.age >= @s untwo.proj.life_time on passengers run kill @s
execute if score @s untwo.proj.age >= @s untwo.proj.life_time run kill @s

execute if entity @s[tag=untwo.proj.entity_hit] run tag @s remove untwo.proj.entity_hit
execute if entity @s[tag=untwo.proj.hit.limit] at @s run function untwo:enchant/unique/stream/breeze/proj/block_hit/
