From ae131a42a61e6a133ff98b578e76a9825dbca970 Mon Sep 17 00:00:00 2001 From: EllaCoat Date: Thu, 15 Aug 2024 16:40:48 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AA=E3=83=BC=E3=83=97=E3=83=8B=E3=83=B3?= =?UTF-8?q?=E3=82=B0=E6=94=BB=E6=92=83=20=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mob/0391.axia_first/_index.d.mcfunction | 2 + .../0391.axia_first/ai/animation/.mcfunction | 3 + .../ai/animation/100_0_opening/.mcfunction | 101 ++++++++++++++++++ .../100_0_opening/announce_line.mcfunction | 11 ++ .../ai/animation/100_0_opening/end.mcfunction | 9 ++ .../animation/100_0_opening/wave/1.mcfunction | 14 +++ .../animation/100_0_opening/wave/2.mcfunction | 22 ++++ .../animation/100_0_opening/wave/3.mcfunction | 18 ++++ .../animation/100_0_opening/wave/4.mcfunction | 18 ++++ .../animation/100_0_opening/wave/5.mcfunction | 26 +++++ .../3_0_triple_slash/predict/.mcfunction | 1 + .../ai/animation/7_0_zangekihou/.mcfunction | 2 +- .../7_0_zangekihou/rotate.mcfunction | 4 +- .../animation/9_0_dimension_slash/.mcfunction | 2 +- .../sword/normal.mcfunction | 4 +- .../sword/predict.mcfunction | 3 +- .../9_0_dimension_slash/wave/1.mcfunction | 4 +- .../9_0_dimension_slash/wave/2.mcfunction | 4 +- .../9_0_dimension_slash/wave/3.mcfunction | 4 +- .../9_0_dimension_slash/wave/4.mcfunction | 4 +- .../projectile/shock_wave/vfx/cast.mcfunction | 6 +- .../mob/0391.axia_first/death/.mcfunction | 1 + .../mob/0391.axia_first/init/.mcfunction | 2 +- 23 files changed, 252 insertions(+), 13 deletions(-) create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/announce_line.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/end.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/1.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/2.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/3.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/4.mcfunction create mode 100644 Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/5.mcfunction diff --git a/Asset/data/asset/functions/mob/0391.axia_first/_index.d.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/_index.d.mcfunction index 04160e974d..bef43956f8 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/_index.d.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/_index.d.mcfunction @@ -29,7 +29,9 @@ #declare tag AV.DimSwordDisplay #declare tag AV.ShockWave #declare tag AV.CriticalHit + #declare tag AV.CriticalOpening #> val # @within function asset:mob/0391.axia_first/** #declare score_holder $AV.Temp + #declare score_holder $AV.Loop diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/.mcfunction index 042612716f..2c9dc646d1 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/.mcfunction @@ -48,3 +48,6 @@ # 被弾アニメーション2 execute if score @s AV.AnimationNum matches 991 run function asset:mob/0391.axia_first/ai/animation/99_1_damaged_2/ + +# オープニングアタック + execute if score @s AV.AnimationNum matches 1000 run function asset:mob/0391.axia_first/ai/animation/100_0_opening/ diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/.mcfunction new file mode 100644 index 0000000000..ac80635aa2 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/.mcfunction @@ -0,0 +1,101 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/ +# +# オープニング アニメーション +# +# @within function asset:mob/0391.axia_first/ai/animation/ + +# 対象プレイヤー保存 + execute if score @s AV.AnimationTick matches 1 run scoreboard players operation @s AV.UUID = @p[tag=!PlayerShouldInvulnerable,distance=..100] UserID + +# 近くのプレイヤーの方を向く +# 一部の時間のみ向く処理を入れる + tag @s add AV.Temp.This + scoreboard players operation $AV.Temp AV.UUID = @s AV.UUID + execute if score @s AV.AnimationTick matches 153..159 if predicate api:global_vars/difficulty/max/normal as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/general/2.rotate + execute if score @s AV.AnimationTick matches 153..159 if predicate api:global_vars/difficulty/min/hard as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate + execute if score @s AV.AnimationTick matches 178..185 if predicate api:global_vars/difficulty/max/normal as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/general/2.rotate + execute if score @s AV.AnimationTick matches 178..185 if predicate api:global_vars/difficulty/min/hard as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate + execute if score @s AV.AnimationTick matches 230..243 as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0391.axia_first/ai/general/2.rotate + execute if score @s AV.AnimationTick matches 244..253 if predicate api:global_vars/difficulty/min/hard if entity @p[distance=..100] run function asset:mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/ + scoreboard players reset $AV.Temp AV.UUID + tag @s remove AV.Temp.This + +# アニメーション再生 + execute if score @s AV.AnimationTick matches 1 as @e[type=item_display,tag=AV.Root.This,distance=..100] run function animated_java:axia/animations/14_0_opening_attack/play + +# アニメーション停止 + execute if score @s AV.AnimationTick matches 1 as @e[type=item_display,tag=AV.Root.This,distance=..100] run function animated_java:axia/animations/14_0_opening_attack/pause + +# アニメーション再開 + execute if score @s AV.AnimationTick matches 71 as @e[type=item_display,tag=AV.Root.This,distance=..100] run function animated_java:axia/animations/14_0_opening_attack/resume + +# アニメーション終了処理 + execute if score @s AV.AnimationTick matches 281 run function asset:mob/0391.axia_first/ai/animation/100_0_opening/end + +# クリティカルヒット 配置 + execute if score @s AV.AnimationTick matches 1 run function asset:mob/0391.axia_first/ai/projectile/critical/0.summon + execute if score @s AV.AnimationTick matches 1 run tag @e[tag=AV.CriticalHit,distance=..64] add AV.CriticalOpening + +# 衝撃波 配置 + execute if score @s AV.AnimationTick matches 81 at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] if predicate api:global_vars/difficulty/min/hard run function asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/1 + execute if score @s AV.AnimationTick matches 85 at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] run function asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/2 + execute if score @s AV.AnimationTick matches 89 at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] if predicate api:global_vars/difficulty/min/hard run function asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/3 + execute if score @s AV.AnimationTick matches 105 at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] run function asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/4 + execute if score @s AV.AnimationTick matches 109 at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] if predicate api:global_vars/difficulty/min/hard run function asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/5 + +# 斬撃砲 + execute positioned ^ ^1.25 ^ if score @s AV.AnimationTick matches 168 run function asset:mob/0391.axia_first/ai/projectile/zangekihou/1.start + execute positioned ^ ^1.25 ^ if score @s AV.AnimationTick matches 194 run function asset:mob/0391.axia_first/ai/projectile/zangekihou/1.start + +# 予告線 + execute if score @s AV.AnimationTick matches 153 run function asset:mob/0391.axia_first/ai/animation/100_0_opening/announce_line + execute if score @s AV.AnimationTick matches 179 run function asset:mob/0391.axia_first/ai/animation/100_0_opening/announce_line + +# TP + execute if score @s AV.AnimationTick matches 232 at @s run tp @s ^ ^0.2 ^ ~ ~ + execute if score @s AV.AnimationTick matches 233 at @s run tp @s ^ ^0.3 ^ ~ ~ + execute if score @s AV.AnimationTick matches 234 at @s run tp @s ^ ^0.4 ^ ~ ~ + execute if score @s AV.AnimationTick matches 235 at @s run tp @s ^ ^0.5 ^ ~ ~ + execute if score @s AV.AnimationTick matches 236 at @s run tp @s ^ ^0.4 ^ ~ ~ + execute if score @s AV.AnimationTick matches 237 at @s run tp @s ^ ^0.3 ^ ~ ~ + execute if score @s AV.AnimationTick matches 238 at @s run tp @s ^ ^0.2 ^ ~ ~ + execute if score @s AV.AnimationTick matches 239 at @s run tp @s ^ ^0.1 ^ ~ ~ + + execute if score @s AV.AnimationTick matches 246 at @s run tp @s ^ ^-0.1 ^ ~ ~ + execute if score @s AV.AnimationTick matches 247 at @s run tp @s ^ ^-0.2 ^ ~ ~ + execute if score @s AV.AnimationTick matches 248 at @s run tp @s ^ ^-0.3 ^ ~ ~ + execute if score @s AV.AnimationTick matches 249 at @s run tp @s ^ ^-0.4 ^ ~ ~ + execute if score @s AV.AnimationTick matches 250 at @s run tp @s ^ ^-0.5 ^ ~ ~ + execute if score @s AV.AnimationTick matches 251 at @s run tp @s ^ ^-0.4 ^ ~ ~ + execute if score @s AV.AnimationTick matches 252 at @s run tp @s ^ ^-0.3 ^ ~ ~ + execute if score @s AV.AnimationTick matches 253 at @s run tp @s ^ ^-0.2 ^ ~ ~ + +# 中央ダメージエリア + execute if score @s AV.AnimationTick matches 232 at @s run function asset:mob/0391.axia_first/ai/projectile/critical/0.summon + +# 衝撃波召喚 + execute if score @s AV.AnimationTick matches 253 at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/1 + execute if score @s AV.AnimationTick matches 256 at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/2 + execute if score @s AV.AnimationTick matches 259 at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/3 + execute if score @s AV.AnimationTick matches 262 at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/4 + +# 自機狙い + tag @s add AV.Temp.This + execute if score @s AV.AnimationTick matches 253 as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=4] at @s run function asset:mob/0391.axia_first/ai/projectile/sword/0.summon + execute if score @s AV.AnimationTick matches 268 as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=4] at @s run function asset:mob/0391.axia_first/ai/projectile/sword/0.summon + execute if score @s AV.AnimationTick matches 281 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=4] at @s run function asset:mob/0391.axia_first/ai/projectile/sword/0.summon + +# ランダム撃ち + execute if score @s AV.AnimationTick matches 256 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 256 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 253 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 253 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 259 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 259 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 262 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 262 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 265 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 265 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 268 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + execute if score @s AV.AnimationTick matches 268 if predicate api:global_vars/difficulty/min/hard as @a[tag=!PlayerShouldInvulnerable,distance=..100,sort=random,limit=2] at @s run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal + tag @s remove AV.Temp.This diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/announce_line.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/announce_line.mcfunction new file mode 100644 index 0000000000..edb00329aa --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/announce_line.mcfunction @@ -0,0 +1,11 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/announce_line +# +# 予告線 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute anchored eyes run summon item_display ^ ^ ^2 {interpolation_duration:0,teleport_duration:0,Tags:["AV.AnnounceInit"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,13.5f],scale:[0.1f,0.1f,25f]},item:{id:"air",Count:1b}} + +execute anchored eyes positioned ^ ^ ^2 as @e[tag=AV.AnnounceInit,distance=..0.1] run tp @s ^ ^ ^ ~ ~ + +execute anchored eyes positioned ^ ^ ^2 as @e[tag=AV.AnnounceInit,distance=..0.1] run function asset:mob/0391.axia_first/ai/projectile/announce_line/1.init.m {Num:-15} diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/end.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/end.mcfunction new file mode 100644 index 0000000000..19d50d42c2 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/end.mcfunction @@ -0,0 +1,9 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/end +# +# 終了処理 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +# デバッグ用 アニメーションループ + scoreboard players set @s AV.AnimationNum 1000 + scoreboard players set @s AV.AnimationTick 0 diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/1.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/1.mcfunction new file mode 100644 index 0000000000..8a02ea0817 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/1.mcfunction @@ -0,0 +1,14 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/1 +# +# 衝撃波 1段目 配置 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute positioned ^7 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/2.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/2.mcfunction new file mode 100644 index 0000000000..bd537904eb --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/2.mcfunction @@ -0,0 +1,22 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/2 +# +# 衝撃波 2段目 配置 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute positioned ^14 ^ ^14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^14 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^14 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^14 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^14 ^ ^-14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-14 ^ ^14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-14 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-14 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-14 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-14 ^ ^-14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^-14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^-14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^-14 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/3.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/3.mcfunction new file mode 100644 index 0000000000..7da37ae2e7 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/3.mcfunction @@ -0,0 +1,18 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/3 +# +# 衝撃波 3段目 配置 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute positioned ^21 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^21 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^21 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-21 ^ ^7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-21 ^ ^ run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-21 ^ ^-7 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^7 ^ ^-21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^ ^ ^-21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-7 ^ ^-21 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/4.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/4.mcfunction new file mode 100644 index 0000000000..cf9ec35368 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/4.mcfunction @@ -0,0 +1,18 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/4 +# +# 衝撃波 4段目 配置 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute positioned ^10.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^10.5 ^ ^3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^10.5 ^ ^-3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^10.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^-3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^3.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-3.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^3.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-3.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/5.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/5.mcfunction new file mode 100644 index 0000000000..8ca082e632 --- /dev/null +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/100_0_opening/wave/5.mcfunction @@ -0,0 +1,26 @@ +#> asset:mob/0391.axia_first/ai/animation/100_0_opening/wave/5 +# +# 衝撃波 5段目 配置 +# +# @within function asset:mob/0391.axia_first/ai/animation/100_0_opening/ + +execute positioned ^17.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^17.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^17.5 ^ ^3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^17.5 ^ ^-3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^17.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^17.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^-3.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^-10.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-17.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^10.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^3.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-3.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^10.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^3.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-3.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon +execute positioned ^-10.5 ^ ^-17.5 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/0.summon diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/.mcfunction index c49d85f930..3c81160f8f 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/.mcfunction @@ -7,6 +7,7 @@ # asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/ # asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ # asset:mob/0391.axia_first/ai/animation/10_0_kourai/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # 攻撃対象にTagを付与 tag @p[tag=!PlayerShouldInvulnerable,distance=..100] add AV.Temp.Target diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/.mcfunction index 09af9e87e5..b286a90bcf 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/.mcfunction @@ -12,7 +12,7 @@ tag @s add AV.Temp.This scoreboard players operation $AV.Temp AV.UUID = @s AV.UUID execute if score @s AV.AnimationTick matches 1..16 if predicate api:global_vars/difficulty/max/normal as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/general/2.rotate - execute if score @s AV.AnimationTick matches 1..18 if predicate api:global_vars/difficulty/min/hard as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate + execute if score @s AV.AnimationTick matches 1..17 if predicate api:global_vars/difficulty/min/hard as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate execute if score @s AV.AnimationTick matches 31..33 as @a if score @s UserID = $AV.Temp AV.UUID run function asset:mob/0391.axia_first/ai/general/2.rotate scoreboard players reset $AV.Temp AV.UUID tag @s remove AV.Temp.This diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate.mcfunction index d7b85e915a..cc2f46a50a 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/7_0_zangekihou/rotate.mcfunction @@ -2,7 +2,9 @@ # # ハード用回転 # -# @within function asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/ +# @within function +# asset:mob/0391.axia_first/ai/animation/7_0_zangekihou/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # タグ付与 tag @s add AV.Temp.Target diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/.mcfunction index 0d9d76a193..4e08bcec4f 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/.mcfunction @@ -11,7 +11,7 @@ execute if score @s AV.AnimationTick matches 99..114 if predicate api:global_vars/difficulty/max/normal as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0391.axia_first/ai/general/2.rotate execute if score @s AV.AnimationTick matches 99..114 if predicate api:global_vars/difficulty/min/hard if entity @p[distance=..100] run function asset:mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/ execute if score @s AV.AnimationTick matches 125..152 as @p[tag=!PlayerShouldInvulnerable,distance=..100] run function asset:mob/0391.axia_first/ai/general/2.rotate - execute if score @s AV.AnimationTick matches 125..162 if predicate api:global_vars/difficulty/min/hard if entity @p[distance=..100] run function asset:mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/ + execute if score @s AV.AnimationTick matches 153..162 if predicate api:global_vars/difficulty/min/hard if entity @p[distance=..100] run function asset:mob/0391.axia_first/ai/animation/3_0_triple_slash/predict/ tag @s remove AV.Temp.This # アニメーション再生 diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal.mcfunction index 6fff2014f7..c411613529 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal.mcfunction @@ -2,7 +2,9 @@ # # ディメンションソード 周囲に召喚 # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # スコア設定 scoreboard players set $AV.Loop Temporary 0 diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/predict.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/predict.mcfunction index 3895a39fdb..3b615bd2bb 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/predict.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/predict.mcfunction @@ -2,7 +2,8 @@ # # ディメンションソード 偏差撃ち # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ # 攻撃対象のベクトルを取得 function api:player_vector/get diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/1.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/1.mcfunction index 5a35a625da..bca8ef05f3 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/1.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/1.mcfunction @@ -2,7 +2,9 @@ # # 衝撃波召喚 1段階 # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # Markerを呼び出す tp 0-0-0-0-0 ^ ^ ^7 ~ ~ diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/2.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/2.mcfunction index 4d7fa421ad..ef1a19ae46 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/2.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/2.mcfunction @@ -2,7 +2,9 @@ # # 衝撃波召喚 2段階 # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # Markerを呼び出す tp 0-0-0-0-0 ^ ^ ^12 ~ ~ diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/3.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/3.mcfunction index 5c7014655e..f01363052f 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/3.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/3.mcfunction @@ -2,7 +2,9 @@ # # 衝撃波召喚 3段階 # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # Markerを呼び出す tp 0-0-0-0-0 ^ ^ ^17 ~ ~ diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/4.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/4.mcfunction index 8830496fcf..cb9150846b 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/4.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/wave/4.mcfunction @@ -2,7 +2,9 @@ # # 衝撃波召喚 4段階 # -# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# @within function +# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ +# asset:mob/0391.axia_first/ai/animation/100_0_opening/ # Markerを呼び出す tp 0-0-0-0-0 ^ ^ ^22 ~ ~ diff --git a/Asset/data/asset/functions/mob/0391.axia_first/ai/projectile/shock_wave/vfx/cast.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/ai/projectile/shock_wave/vfx/cast.mcfunction index ff48010809..badb651e30 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/ai/projectile/shock_wave/vfx/cast.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/ai/projectile/shock_wave/vfx/cast.mcfunction @@ -5,9 +5,9 @@ # @within function asset:mob/0391.axia_first/ai/projectile/shock_wave/3.cast # 追加パーティクル - particle dust 0.75 0.0 0.0 3 ~ ~1 ~ 2.5 0.5 2.5 0 30 force @a[distance=..32] - particle dust 0.75 0.0 0.0 2 ~ ~4 ~ 1.5 2 1.5 0 30 force @a[distance=..32] - particle dust 0.75 0.0 0.0 1.5 ~ ~8 ~ 1 4 1 0 30 force @a[distance=..32] + particle dust 0.75 0.0 0.0 3 ~ ~1 ~ 2.5 0.5 2.5 0 20 force @a[distance=..32] + particle dust 0.75 0.0 0.0 2 ~ ~4 ~ 1.5 2 1.5 0 20 force @a[distance=..32] + particle dust 0.75 0.0 0.0 1.5 ~ ~8 ~ 1 4 1 0 20 force @a[distance=..32] # 音 playsound entity.generic.explode hostile @a[distance=..32] ~ ~ ~ 0.6 1.5 playsound entity.generic.explode hostile @a[distance=..32] ~ ~ ~ 0.6 0.9 diff --git a/Asset/data/asset/functions/mob/0391.axia_first/death/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/death/.mcfunction index fd0e70abba..d35c25be3f 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/death/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/death/.mcfunction @@ -19,3 +19,4 @@ kill @e[tag=AV.DimSword,distance=..100] kill @e[tag=AV.DimSwordDisplay,distance=..100] kill @e[tag=AV.ShockWave,distance=..100] + kill @e[tag=AV.CriticalHit,distance=..100] diff --git a/Asset/data/asset/functions/mob/0391.axia_first/init/.mcfunction b/Asset/data/asset/functions/mob/0391.axia_first/init/.mcfunction index d74b42a5cc..ed93a7cb5e 100644 --- a/Asset/data/asset/functions/mob/0391.axia_first/init/.mcfunction +++ b/Asset/data/asset/functions/mob/0391.axia_first/init/.mcfunction @@ -10,7 +10,7 @@ # スコア初期化 scoreboard players set @s AV.AnimationTick 0 - scoreboard players set @s AV.AnimationNum 10 + scoreboard players set @s AV.AnimationNum 1000 scoreboard players set @s AV.SkillSelect 0 # animated javaモデル召喚