Skip to content

Commit

Permalink
クワイタスレイン ウォーターウォール 実装
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Aug 27, 2024
1 parent f56a42a commit d80abe2
Show file tree
Hide file tree
Showing 32 changed files with 407 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#declare tag AW.Temp.This
#declare tag AW.Temp.Target
#declare tag AW.Landing
#declare tag AW.Predict
#declare tag AW.SuperiorSkill
#declare tag AW.ProjectileInit
#declare tag AW.WaterMagic
Expand All @@ -18,6 +19,9 @@
#declare tag AW.AnnounceLineEven
#declare tag AW.Inbisible
#declare tag AW.AnnounceInit
#declare tag AW.QuietusRain
#declare tag AW.QuietusRainMagic
#declare tag AW.WaterWall

#> val
# @within function asset:mob/0392.ecual_first/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@

# ホーリーレイ
execute if score @s AW.AnimationNum matches 70 run function asset:mob/0392.ecual_first/ai/animation/7_0_holy_ray/

# クワイタスレイン
execute if score @s AW.AnimationNum matches 80 run function asset:mob/0392.ecual_first/ai/animation/8_0_quietus_rain/

# ウォーターウォール
execute if score @s AW.AnimationNum matches 90 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#> asset:mob/0392.ecual_first/ai/animation/8_0_quietus_rain/
#
# クワイタスレイン アニメーション
#
# @within function asset:mob/0392.ecual_first/ai/animation/

# アニメーション再生
execute if score @s AW.AnimationTick matches 1 as @e[type=item_display,tag=AW.Root.This,distance=..100] run function animated_java:ecual/animations/8_0_quietus_rain/play

# アニメーション終了処理
execute if score @s AW.AnimationTick matches 151 run function asset:mob/0392.ecual_first/ai/animation/8_0_quietus_rain/end

# クワイタスレイン 発動
execute if score @s AW.AnimationTick matches 31 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/0.summon
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#> asset:mob/0392.ecual_first/ai/animation/8_0_quietus_rain/end
#
# 終了処理
#
# @within function asset:mob/0392.ecual_first/ai/animation/8_0_quietus_rain/

# デバッグ用 アニメーションループ
scoreboard players set @s AW.AnimationNum 80
scoreboard players set @s AW.AnimationTick -250
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/
#
# ウォーターウォール アニメーション
#
# @within function asset:mob/0392.ecual_first/ai/animation/

# 近くのプレイヤーの方を向く
tag @s add AW.Temp.This
execute if predicate api:global_vars/difficulty/max/normal if score @s AW.AnimationTick matches 1..36 as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0392.ecual_first/ai/general/2.rotate
execute if predicate api:global_vars/difficulty/min/hard if score @s AW.AnimationTick matches 1..36 as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/predict/
execute if score @s AW.AnimationTick matches 71..96 as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0392.ecual_first/ai/general/2.rotate
tag @s remove AW.Temp.This

# アニメーション再生
execute if score @s AW.AnimationTick matches 1 as @e[type=item_display,tag=AW.Root.This,distance=..100] run function animated_java:ecual/animations/9_0_water_wall/play

# アニメーション終了処理
execute if score @s AW.AnimationTick matches 96 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/end

# 予告線
execute if score @s AW.AnimationTick matches 16 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/announce

# ウォーターウォール 発動
execute positioned ^ ^ ^1 if score @s AW.AnimationTick matches 38 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^4 if score @s AW.AnimationTick matches 41 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^7 if score @s AW.AnimationTick matches 44 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^10 if score @s AW.AnimationTick matches 47 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^13 if score @s AW.AnimationTick matches 50 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^16 if score @s AW.AnimationTick matches 53 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^19 if score @s AW.AnimationTick matches 56 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^22 if score @s AW.AnimationTick matches 59 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^25 if score @s AW.AnimationTick matches 62 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^28 if score @s AW.AnimationTick matches 65 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
execute positioned ^ ^ ^31 if score @s AW.AnimationTick matches 68 run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/announce
#
# 予告線
#
# @within function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/

execute anchored eyes run summon item_display ^ ^ ^2 {interpolation_duration:0,teleport_duration:0,Tags:["AW.AnnounceInit"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,20f],scale:[0f,0f,40f]},item:{id:"minecraft:light_blue_stained_glass",Count:1b}}

execute anchored eyes positioned ^ ^ ^2 as @e[tag=AW.AnnounceInit,distance=..0.1] run tp @s ^ ^ ^ ~ ~

execute anchored eyes positioned ^ ^ ^2 as @e[tag=AW.AnnounceInit,distance=..0.1] run function asset:mob/0392.ecual_first/ai/projectile/announce_line/1.init.m {Num:-20}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/end
#
# 終了処理
#
# @within function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/

# デバッグ用 アニメーションループ
scoreboard players set @s AW.AnimationNum 90
scoreboard players set @s AW.AnimationTick 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/predict/
#
# 偏差向き
#
# @within function
# asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/

# 攻撃対象にTagを付与
tag @p[tag=!PlayerShouldInvulnerable,distance=..100] add AW.Temp.Target

# 攻撃対象のベクトルを取得
execute as @p[tag=AW.Temp.Target,distance=..100] run function api:player_vector/get

# セッション開ける
function lib:array/session/open

# ベクトルを10倍する
data modify storage lib: Array set from storage api: Return.Vector
data modify storage lib: Mul set value 25
function lib:array/math/scalar_multiply

# 別のstorageに移す
data modify storage asset:temp Predict.X set from storage lib: MulResult[0]
data modify storage asset:temp Predict.Z set from storage lib: MulResult[2]

# セッション閉じる
function lib:array/session/close

# マクロで偏差撃ちする
execute as @p[tag=AW.Temp.Target,distance=..100] at @s run function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/predict/m with storage asset:temp Predict

# リセット
tag @p[tag=AW.Temp.Target,distance=..100] remove AW.Temp.Target
data remove storage asset:temp Predict
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/predict/m
#
# 偏差実行
#
# @input args
# X : Double
# Z : Double
# @within function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/predict/

# マーカー召喚
$execute positioned ~$(X) ~ ~$(Z) if entity @s[distance=..30] run summon marker ~ ~ ~ {Tags:["AW.Predict"]}

# 向き調整
execute as @e[type=wither_skeleton,tag=AW.Temp.This,distance=..64,sort=nearest,limit=1] at @s facing entity @e[type=marker,tag=AW.Predict,distance=..64,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^ ~ 0

# マーカー削除
kill @e[type=marker,tag=AW.Predict,distance=..30]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#> asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/summon
#
# ウォーターウォール 召喚
#
# @within function asset:mob/0392.ecual_first/ai/animation/9_0_water_wall/

execute positioned ^-6 ^ ^ run function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
execute positioned ^-3 ^ ^ run function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
execute positioned ^ ^ ^ run function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
execute positioned ^3 ^ ^ run function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
execute positioned ^6 ^ ^ run function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
scoreboard players set @s AW.AnimationNum 0

# 停止処理
execute as @e[type=item_display,tag=AV.Root.This,distance=..100,sort=nearest,limit=1] run function animated_java:ecual/animations/pause_all
execute as @e[type=item_display,tag=AW.Root.This,distance=..100,sort=nearest,limit=1] run function animated_java:ecual/animations/pause_all
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/0.summon
#
# クワイタスレイン 召喚
#
# @within function asset:mob/0392.ecual_first/**

# マーカーを召喚
execute summon marker at @s run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/1.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/1.init
#
# 初期化処理
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/0.summon

# スコア初期化
scoreboard players set @s AW.ProjectileTick 0

# タグ付け
tag @s add AW.QuietusRain

# マーカーを呼ぶ
tp 0-0-0-0-0 ^ ^ ^ ~ ~

# 演出のためにランダムな方向を向かせる
execute store result entity 0-0-0-0-0 Rotation[0] float 0.01 run random value 0..36000

# TP
execute at @e[type=marker,tag=AW.Marker.SummonPoint,distance=..64] rotated as 0-0-0-0-0 run tp @s ~ ~ ~ ~ 0

# マーカーを戻してあげる
execute in overworld run tp 0-0-0-0-0 0.0 0.0 0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick
#
# クワイタスレイン Tick処理
#
# @within function asset:mob/0392.ecual_first/tick/

# スコア上昇
scoreboard players add @s AW.ProjectileTick 1

# 召喚
execute if score @s AW.ProjectileTick matches 1 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/1
execute if score @s AW.ProjectileTick matches 31 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/2
execute if score @s AW.ProjectileTick matches 51 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/3

# 回転
execute as @e[type=item_display,tag=AW.QuietusRainMagic,distance=7..8] at @s run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/1
execute as @e[type=item_display,tag=AW.QuietusRainMagic,distance=14.5..15.5] at @s run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/2
execute as @e[type=item_display,tag=AW.QuietusRainMagic,distance=22..23] at @s run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/3

# キル
execute if score @s AW.ProjectileTick matches 360 run kill @s
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/1
#
# 回転 1段階
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

# 幾何学を使用して回転させる
execute facing entity @e[type=marker,tag=AW.Marker.SummonPoint,distance=..10,sort=nearest,limit=1] feet positioned ^ ^ ^7.5 rotated ~2 0 positioned ^ ^ ^-7.5 run tp @s ^ ^ ^ ~ ~
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/2
#
# 回転 2段目
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

# 幾何学を使用して回転させる
execute facing entity @e[type=marker,tag=AW.Marker.SummonPoint,distance=..20,sort=nearest,limit=1] feet positioned ^ ^ ^15 rotated ~-2 0 positioned ^ ^ ^-15 run tp @s ^ ^ ^ ~ ~
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotate/3
#
# 回転 3段目
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

# 幾何学を使用して回転させる
execute facing entity @e[type=marker,tag=AW.Marker.SummonPoint,distance=..25,sort=nearest,limit=1] feet positioned ^ ^ ^22.5 rotated ~2 0 positioned ^ ^ ^-22.5 run tp @s ^ ^ ^ ~ ~
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
#
# 設置水魔法 召喚
#
# @within function asset:mob/0392.ecual_first/**

# 本体召喚
summon item_display ~ ~ ~ {Tags:["AW.WaterMagic","AW.QuietusRainMagic","AW.ProjectileInit"],interpolation_duration:30,teleport_duration:1,brightness:{sky:15,block:15},transformation:{left_rotation:[0.7071f,0f,0f,0.7071f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0f,0f,0.01f]},item:{id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:33023},CustomModelData:20364}},Passengers:[{id:"item_display",Tags:["AW.WaterMagicDisplay","AW.ProjectileInit"],interpolation_duration:30,teleport_duration:1,brightness:{sky:15,block:15},transformation:{left_rotation:[0.7071f,0f,0f,0.7071f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.1f,0f],scale:[0f,0f,0.01f]},item:{id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:33023},CustomModelData:20365}},Passengers:[{id:"item_display",Tags:["AW.WaterMagicDisplay","AW.ProjectileInit"],interpolation_duration:30,teleport_duration:1,brightness:{sky:15,block:15},transformation:{left_rotation:[0.7071f,0f,0f,0.7071f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0f,0f,0.01f]},item:{id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:33023},CustomModelData:20366}}}]}]}

# Init処理
execute as @e[type=item_display,tag=AW.WaterMagic,tag=AW.ProjectileInit,distance=..0.01] run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/1.init

# リセット
scoreboard players reset $AW.Temp Temporary
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/1.init
#
# 初期化処理
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon

# スコア初期化
scoreboard players set @s AW.ProjectileTick 0

# TP
execute at @s run tp @e[type=item_display,tag=AW.ProjectileInit,distance=..0.01] ~ ~ ~ ~ 0

# タグ外し
execute at @s run tag @e[type=item_display,tag=AW.ProjectileInit,distance=..0.01] remove AW.ProjectileInit
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/1
#
# 召喚 1段目
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~120 ~ positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~240 ~ positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~90 ~ positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~180 ~ positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~270 ~ positioned ^ ^ ^7.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/2
#
# 召喚 2段目
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

execute positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~120 ~ positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~240 ~ positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~90 ~ positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~180 ~ positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~270 ~ positioned ^ ^ ^15 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#> asset:mob/0392.ecual_first/ai/projectile/quietus_rain/summon/3
#
# 召喚 3段目
#
# @within function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/2.tick

execute positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~120 ~ positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/max/normal rotated ~240 ~ positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~90 ~ positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~180 ~ positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
execute if predicate api:global_vars/difficulty/min/hard rotated ~270 ~ positioned ^ ^ ^22.5 run function asset:mob/0392.ecual_first/ai/projectile/quietus_rain/rotated_water_magic/0.summon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# @within function
# asset:mob/0392.ecual_first/ai/projectile/water_magic/1.1.loop
# asset:mob/0392.ecual_first/ai/projectile/water_magic/1.init
# asset:mob/0392.ecual_first/ai/projectile/water_wall/1.init

# 少し下げて判定
scoreboard players remove $AW.Temp Temporary 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#> asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon
#
# 衝撃波 召喚
#
# @within function asset:mob/0392.ecual_first/**

# 元となるMobを召喚
execute summon marker run function asset:mob/0392.ecual_first/ai/projectile/water_wall/1.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#> asset:mob/0392.ecual_first/ai/projectile/water_wall/1.init
#
# 初期化処理
#
# @within function asset:mob/0392.ecual_first/ai/projectile/water_wall/0.summon

# TP
tp @s ~ ~ ~ ~ 0

# タグ付け
tag @s add AW.WaterWall

# スコア初期化
scoreboard players set @s AW.ProjectileTick 0

# ループ処理
scoreboard players set $AW.Temp Temporary 32
execute if block ~ ~ ~ #lib:no_collision unless block ~ ~-0.25 ~ #lib:no_collision run scoreboard players set $AW.Temp Temporary -100
execute at @s if score $AW.Temp Temporary matches 1.. run function asset:mob/0392.ecual_first/ai/projectile/water_magic/1.1.loop

# ループしてもダメだったらキル
execute if score $AW.Temp Temporary matches 0 run kill @s

# リセット
scoreboard players reset $AW.Temp Temporary
execute at @s run tag @e[tag=AW.Temp.This,distance=..0.001] remove AW.Temp.This
Loading

0 comments on commit d80abe2

Please sign in to comment.