From aa2bf10ee2ca082d9dfb691ec72ad7d7d96ee467 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sat, 28 Feb 2026 16:15:19 +0900 Subject: [PATCH 01/13] =?UTF-8?q?=E9=89=84=E5=B7=A8=E4=BA=BA=E3=81=AE2?= =?UTF-8?q?=E9=80=A3=E6=96=AC=E6=92=83=E3=81=AE=E4=BA=88=E5=82=99=E5=8B=95?= =?UTF-8?q?=E4=BD=9C=E3=81=8C=E9=95=B7=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=80=81=E6=B4=BE=E6=89=8B=E3=81=AB=E3=82=82=E3=81=AA=E3=81=A3?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skill/vertical_slash_shot/tick.mcfunction | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/tick.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/tick.mcfunction index 622228841c2..4590ffb4882 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/tick.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/tick.mcfunction @@ -14,21 +14,27 @@ execute if score @s General.Mob.Tick matches 5 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.5 execute if score @s General.Mob.Tick matches 10 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.7 execute if score @s General.Mob.Tick matches 15 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.9 + execute if score @s General.Mob.Tick matches 20 run playsound ogg:block.smithing_table.smithing_table2 player @a ~ ~ ~ 2 1.2 + execute if score @s General.Mob.Tick matches 20 run playsound ogg:block.smithing_table.smithing_table2 player @a ~ ~ ~ 2 1.5 + +# チャージ完了時に演出 + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle electric_spark ~ ~1.5 ~ 0.5 0.5 0.5 1.5 100 force @a[distance=..32] + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle end_rod ~ ~1.5 ~ 0.5 0.5 0.5 0.2 20 force @a[distance=..32] # 攻撃の発動よりちょっと前にアニメ再生 - execute if score @s General.Mob.Tick matches 17 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_activate/tween {to_frame: 0, duration: 1} + execute if score @s General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_activate/tween {to_frame: 0, duration: 1} # 薙ぎ払い、そして飛んでいくオブジェクト - execute if score @s General.Mob.Tick matches 20 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash/1 + execute if score @s General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash/1 # 攻撃の発動よりちょっと前にアニメ再生 - execute if score @s General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_activate/tween {to_frame: 0, duration: 1} + execute if score @s General.Mob.Tick matches 37 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_activate/tween {to_frame: 0, duration: 1} # 薙ぎ払い、そして飛んでいくオブジェクト - execute if score @s General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash/2 + execute if score @s General.Mob.Tick matches 40 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash/2 # ニュートラルポーズに戻る - execute if score @s General.Mob.Tick matches 60 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} + execute if score @s General.Mob.Tick matches 70 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} # リセット - execute if score @s General.Mob.Tick matches 65.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset + execute if score @s General.Mob.Tick matches 75.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset From 4de1972b24d45bcde3749912168e32a71861b2bc Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sat, 28 Feb 2026 16:58:23 +0900 Subject: [PATCH 02/13] =?UTF-8?q?=E6=B0=B4=E5=B9=B3=E3=82=B9=E3=83=A9?= =?UTF-8?q?=E3=83=83=E3=82=B7=E3=83=A5=E3=82=B7=E3=83=A7=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=AE=E4=BA=88=E5=82=99=E5=8B=95=E4=BD=9C=E3=81=A8=E3=81=8B?= =?UTF-8?q?=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alert/summon.mcfunction | 2 +- .../horizontal_slash_shot/tick.mcfunction | 28 +++++++++++-------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/summon.mcfunction index f7016417c4c..aef9a277cd7 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/summon.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/summon.mcfunction @@ -5,7 +5,7 @@ # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/** # データ設定 - data modify storage api: Argument.FieldOverride set value {Color:16732754,Interpolation:5,Tick:10,Scale:[5f,30.0f]} + data modify storage api: Argument.FieldOverride set value {Color:16732754,Interpolation:10,Tick:20,Scale:[5f,30.0f]} # そのまま召喚すると地面に重なっちゃうので、ちょっと上げて召喚 data modify storage api: Argument.ID set value 2113 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/tick.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/tick.mcfunction index c0f5f08b9e7..acf1b502f8c 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/tick.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/tick.mcfunction @@ -11,27 +11,33 @@ execute if score @s General.Mob.Tick matches 0..10 facing entity @p[gamemode=!spectator,distance=..256] feet positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-10 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ # Tickまたいで鳴らしたい音 - execute if score @s General.Mob.Tick matches 5 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.5 - execute if score @s General.Mob.Tick matches 10 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.7 - execute if score @s General.Mob.Tick matches 15 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.9 + execute if score @s General.Mob.Tick matches 5 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.8 + execute if score @s General.Mob.Tick matches 10 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 1.0 + execute if score @s General.Mob.Tick matches 15 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 1.2 + execute if score @s General.Mob.Tick matches 20 run playsound minecraft:entity.blaze.shoot hostile @a ~ ~ ~ 2 1.2 + execute if score @s General.Mob.Tick matches 20 run playsound ogg:block.smithing_table.smithing_table2 player @a ~ ~ ~ 2 1.3 + +# チャージ完了時に演出 + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle electric_spark ~ ~1.5 ~ 0.5 0.5 0.5 1.5 100 force @a[distance=..32] + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle minecraft:dust 0.8 0.1 0.1 2 ~ ~1 ~ 0.8 0.8 0.8 1 50 force @a[distance=..32] # 警告! execute if score @s General.Mob.Tick matches 10 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/alert/ # 攻撃の発動よりちょっと前にアニメ再生 - execute if score @s General.Mob.Tick matches 17 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_activate/tween {to_frame: 0, duration: 1} + execute if score @s General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_activate/tween {to_frame: 0, duration: 1} # 薙ぎ払い、そして飛んでいくオブジェクト - execute if score @s General.Mob.Tick matches 20 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/activate + execute if score @s General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/activate -# Blessless限定で、ジャンプ狩りの2発目を構える - execute if predicate api:global_vars/difficulty/min/3_blessless if score @s[scores={C5.Phase=2..}] General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_activate/tween {to_frame: 0, duration: 1} +# Blessless: 第2形態以降、ジャンプ狩りの2発目を構える + execute if predicate api:global_vars/difficulty/min/3_blessless if score @s[scores={C5.Phase=2..}] General.Mob.Tick matches 37 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_activate/tween {to_frame: 0, duration: 1} -# Blessless限定で、ジャンプ狩りを放つ - execute if predicate api:global_vars/difficulty/min/3_blessless if score @s[scores={C5.Phase=2..}] General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/activate_second_slash +# Blessless: 第2形態以降、ジャンプ狩りを放つ + execute if predicate api:global_vars/difficulty/min/3_blessless if score @s[scores={C5.Phase=2..}] General.Mob.Tick matches 50 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/activate_second_slash # ニュートラルポーズに戻る、ただしBlesslessでは、直前のアニメの都合でやらない。 - execute if predicate api:global_vars/difficulty/max/2_hard if score @s General.Mob.Tick matches 50 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} + execute if predicate api:global_vars/difficulty/max/2_hard if score @s General.Mob.Tick matches 60 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} # リセット - execute if score @s General.Mob.Tick matches 55.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset + execute if score @s General.Mob.Tick matches 65.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset From 105cbc18ef6806e00f08f7236e894b85ee8f7944 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sat, 28 Feb 2026 17:42:34 +0900 Subject: [PATCH 03/13] =?UTF-8?q?=E3=80=8C=E8=87=86=E7=97=85=E9=A2=A8?= =?UTF-8?q?=E3=80=8D=E3=81=AE=E4=BB=98=E4=B8=8E=E3=82=92=E8=A2=AB=E3=83=80?= =?UTF-8?q?=E3=83=A1=E3=83=BC=E3=82=B8=E6=99=82=E3=80=81=E6=94=BB=E6=92=83?= =?UTF-8?q?=E8=80=85=E3=81=AB=E3=81=AE=E3=81=BF=E3=81=AB=E9=99=90=E5=AE=9A?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=80=82=E3=83=AA=E3=82=B9=E3=82=AD=E3=83=AB?= =?UTF-8?q?=E3=81=AE=E5=BF=83=E9=85=8D=E3=81=AF=E3=81=AA=E3=81=84=E3=81=A0?= =?UTF-8?q?=E3=82=8D=E3=81=86=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0437.lawless_iron_doll/hurt/.mcfunction | 3 +++ .../hurt/chicken_out/give.mcfunction | 20 +++++++++++++++++++ .../base_move/chicken_out/boarder.mcfunction | 3 --- .../base_move/chicken_out/give.mcfunction | 10 ---------- 4 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/chicken_out/give.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give.mcfunction diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/.mcfunction index 2315f05d199..656ebb5c085 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/.mcfunction @@ -8,6 +8,9 @@ playsound minecraft:entity.item.break hostile @a ~ ~ ~ 1 1.2 playsound minecraft:block.note_block.bass hostile @a ~ ~ ~ 1 0.5 +# 攻撃者が範囲外だったら臆病風を付与して反撃 + execute as @a[tag=!PlayerShouldInvulnerable,distance=..256] positioned ~-64 ~5 ~-64 if entity @s[dx=127,dy=64,dz=127] at @s run function asset:mob/0437.lawless_iron_doll/hurt/chicken_out/give + # ヘルスチェック execute if entity @s[scores={C5.Phase=1}] run function asset:mob/0437.lawless_iron_doll/hurt/health_check diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/chicken_out/give.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/chicken_out/give.mcfunction new file mode 100644 index 00000000000..2d17c045a04 --- /dev/null +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/chicken_out/give.mcfunction @@ -0,0 +1,20 @@ +#> asset:mob/0437.lawless_iron_doll/hurt/chicken_out/give +# +# 臆病風を付与してやる +# +# @within function asset:mob/0437.lawless_iron_doll/hurt/ + +# タイトル表示 + title @p title {"text":""} + title @p subtitle {"text":"ここから降りたほうがよさそうだ"} + title @s times 0 20 5 + +# 演出 + playsound minecraft:entity.illusioner.cast_spell neutral @s ~ ~ ~ 1 1 + particle minecraft:dust_plume ~ ~1 ~ 0.2 0.2 0.2 0.1 50 force @a[distance=..32] + +# 実際の付与 + data modify storage api: Argument.ID set value 654 + data modify storage api: Argument.Stack set value 1 + function api:entity/mob/effect/give + function api:entity/mob/effect/reset diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/boarder.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/boarder.mcfunction index f51b570c06d..dfd9f7f50c7 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/boarder.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/boarder.mcfunction @@ -4,8 +4,5 @@ # # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/ -# 範囲内に自分のよりちょっと高いところにいるやつがいるなら、そいつにデバフを付与 - execute as @a[tag=!PlayerShouldInvulnerable,distance=..256] positioned ~-64 ~5 ~-64 if entity @s[dx=127,dy=64,dz=127] run function asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check - # デバフの範囲外に出たらデバフを解除 execute as @a[gamemode=!spectator,distance=..256] positioned ~-64 ~5 ~-64 unless entity @s[dx=127,dy=64,dz=127] run function asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/remove_check diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give.mcfunction deleted file mode 100644 index d5e2817a5ef..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check - -data modify storage api: Argument.ID set value 654 -data modify storage api: Argument.Stack set value 1 -function api:entity/mob/effect/give -function api:entity/mob/effect/reset From a468e35494b60038a5f3fc2b5e7750a1483d9229 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 06:46:17 +0900 Subject: [PATCH 04/13] =?UTF-8?q?=E8=AA=98=E5=B0=8E=E5=BC=BE=E6=94=BB?= =?UTF-8?q?=E6=92=83=E3=81=AE=E6=8C=99=E5=8B=95=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skill/chaser_shot/activate.mcfunction | 11 -------- .../skill/chaser_shot/shoot.mcfunction | 22 ++++++++++++++++ .../skill/chaser_shot/summon.mcfunction | 25 +++++++++++++++++++ .../chaser_shot/summon/bullet.mcfunction | 16 ------------ .../chaser_shot/summon/marker.mcfunction | 25 ------------------- .../skill/chaser_shot/tick.mcfunction | 14 +++++++---- .../skill/chaser_shot/windup.mcfunction | 11 -------- .../2242.lawless_chaser_shot/tick/.mcfunction | 12 ++++++--- 8 files changed, 65 insertions(+), 71 deletions(-) delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate.mcfunction create mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot.mcfunction create mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker.mcfunction diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate.mcfunction deleted file mode 100644 index 514867db0eb..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick - -# 置いておいたマーカーの位置にオブジェクトを出す - execute at @e[type=marker,tag=C5.Marker.SummonPoint,distance=..256] run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet - -# マーカーをキル - kill @e[type=marker,tag=C5.Marker.SummonPoint,distance=..256] diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot.mcfunction new file mode 100644 index 00000000000..3e126672f1d --- /dev/null +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot.mcfunction @@ -0,0 +1,22 @@ +#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot +# +# 放つ +# +# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick + +# 基本の数 + function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon + function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon + function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon + +# 難易度による追加など + # ハード + execute if predicate api:global_vars/difficulty/min/2_hard run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon + # Blessless + execute if predicate api:global_vars/difficulty/min/3_blessless run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon + +# 演出 + playsound minecraft:entity.blaze.shoot hostile @a ~ ~ ~ 2 1.5 + playsound minecraft:entity.shulker.shoot hostile @a ~ ~ ~ 2 1 + playsound minecraft:entity.warden.attack_impact hostile @a ~ ~ ~ 2 1.2 + particle explosion ~ ~ ~ 0.2 0.2 0.2 1 3 force @a[distance=..32] diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon.mcfunction new file mode 100644 index 00000000000..7814ff1395f --- /dev/null +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon.mcfunction @@ -0,0 +1,25 @@ +#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon +# +# +# +# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot + +#> SpreadLib +# @private +#declare tag SpreadMarker + +# マーカーを召喚 + summon marker ~ ~ ~ {Tags:["SpreadMarker"]} + +# 拡散 + data modify storage lib: Argument.Bounds set value [[16d,16d],[0d,0.0d],[16d,16d]] + execute as @e[type=marker,tag=SpreadMarker,limit=1] run function lib:spread_entity/ + +# 置いておいたマーカーに向けてオブジェクトを出す + data modify storage api: Argument.ID set value 2242 + execute store result storage api: Argument.FieldOverride.Damage int 1 run data get storage asset:context this.Damage.ChaserShot + execute store result storage api: Argument.FieldOverride.MobUUID int 1 run scoreboard players get @s MobUUID + execute facing entity @e[type=marker,tag=SpreadMarker,distance=..256,sort=nearest,limit=1] feet rotated ~ ~-45 run function api:object/summon + +# マーカーをキル + kill @e[type=marker,tag=SpreadMarker,limit=1] diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet.mcfunction deleted file mode 100644 index 2875af36e9d..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet.mcfunction +++ /dev/null @@ -1,16 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/bullet -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate - -# オブジェクト2242番をデータ指定し、付近のプレイヤーのほうを向いて召喚する - data modify storage api: Argument.ID set value 2242 - execute store result storage api: Argument.FieldOverride.Damage int 1 run data get storage asset:context this.Damage.ChaserShot - execute store result storage api: Argument.FieldOverride.MobUUID int 1 run scoreboard players get @s MobUUID - execute facing entity @p[gamemode=!spectator,distance=..32] eyes run function api:object/summon - -# 演出 - playsound minecraft:entity.blaze.shoot hostile @a ~ ~ ~ 1 1.5 - playsound minecraft:entity.shulker.shoot hostile @a ~ ~ ~ 1 1 - playsound minecraft:entity.warden.attack_impact hostile @a ~ ~ ~ 1 1.2 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker.mcfunction deleted file mode 100644 index f524422fd0e..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker.mcfunction +++ /dev/null @@ -1,25 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker -# -# マーカーを拡散させて呼び出す -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/windup - -#> SpreadLib -# @private -#declare tag SpreadMarker - -# マーカーを召喚 - summon marker ~ ~ ~ {Tags:["SpreadMarker"]} - -# 拡散 - data modify storage lib: Argument.Bounds set value [[16d,16d],[0d,5.0d],[16d,16d]] - execute as @e[type=marker,tag=SpreadMarker,limit=1] at @r[gamemode=!spectator,distance=..256] run function lib:spread_entity/ - -# その座標にブロックがなければマーカーを置く - execute at @e[type=marker,tag=SpreadMarker,limit=1] if block ~ ~ ~ #lib:no_collision run summon marker ~ ~ ~ {Tags:["C5.Marker","C5.Marker.SummonPoint"]} - -# リセット - kill @e[type=marker,tag=SpreadMarker,limit=1] - -# サウンド - playsound minecraft:entity.zombie_villager.converted hostile @a ~ ~ ~ 0.5 1.5 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick.mcfunction index 0d671ca54b8..cbb76316fbe 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/tick.mcfunction @@ -13,16 +13,20 @@ # 近くのプレイヤーの方にそこそこの速度で向き直る execute if score @s General.Mob.Tick matches 0..20 facing entity @p[gamemode=!spectator,distance=..256] feet positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-10 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ +# 予備動作中の演出 + execute if score @s General.Mob.Tick matches 10..25 run particle minecraft:dust 0.5 0 1 2 ~ ~1.5 ~ 1 1 1 1 5 force @a[distance=..64] + # Tickまたいで鳴らしたい音 - execute if score @s General.Mob.Tick matches 15 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.5 - execute if score @s General.Mob.Tick matches 20 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.7 - execute if score @s General.Mob.Tick matches 25 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.9 + execute if score @s General.Mob.Tick matches 10 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 0.9 + execute if score @s General.Mob.Tick matches 15 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.1 + execute if score @s General.Mob.Tick matches 20 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.3 + execute if score @s General.Mob.Tick matches 25 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.5 # 攻撃の発動よりちょっと前にアニメ再生 execute if score @s General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_ranged_2_activate/tween {to_frame: 0, duration: 1} -# 薙ぎ払い、そして飛んでいくオブジェクト - execute if score @s General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/activate +# 攻撃する + execute if score @s General.Mob.Tick matches 30 positioned ~ ~2.5 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/shoot # ニュートラルポーズに戻る execute if score @s General.Mob.Tick matches 60 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/windup.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/windup.mcfunction index c8ff739e0f3..2fedd54f270 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/windup.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/windup.mcfunction @@ -12,14 +12,3 @@ playsound minecraft:item.axe.scrape hostile @a ~ ~ ~ 2 1.5 playsound minecraft:item.trident.return hostile @a ~ ~ ~ 2 1.0 playsound minecraft:item.trident.return hostile @a ~ ~ ~ 2 1.5 - -# 付近のプレイヤーをランダムに選択して、近くにオブジェクトを出すためのマーカーを置く - execute at @p[gamemode=!spectator,distance=..32,sort=random] positioned ~ ~1 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker - execute at @p[gamemode=!spectator,distance=..32,sort=random] positioned ~ ~1 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker - execute at @p[gamemode=!spectator,distance=..32,sort=random] positioned ~ ~1 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker - -# 難易度による追加など - # ハード - execute if predicate api:global_vars/difficulty/min/2_hard positioned ~ ~1 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker - # Blessless - execute if predicate api:global_vars/difficulty/min/3_blessless positioned ~ ~1 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/chaser_shot/summon/marker diff --git a/Asset/data/asset/functions/object/2242.lawless_chaser_shot/tick/.mcfunction b/Asset/data/asset/functions/object/2242.lawless_chaser_shot/tick/.mcfunction index 38c5b564bbc..2376cb80edf 100644 --- a/Asset/data/asset/functions/object/2242.lawless_chaser_shot/tick/.mcfunction +++ b/Asset/data/asset/functions/object/2242.lawless_chaser_shot/tick/.mcfunction @@ -13,10 +13,16 @@ particle minecraft:dust 0.5 0 1 1.5 ^ ^ ^-0.5 0.25 0.25 0.25 0 2 # 一番近くのプレイヤーのほうをゆっくりと向く。しばらくすると停止。 - execute if score @s General.Object.Tick matches ..200 facing entity @p[gamemode=!spectator,distance=..64] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-30 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ +# execute if score @s General.Object.Tick matches ..200 facing entity @p[gamemode=!spectator,distance=..64] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-30 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ -# 移動。 - tp @s ^ ^ ^0.1 +# 移動 + # 最初はちょっと早いが、誘導はかなり緩い + execute if score @s General.Object.Tick matches ..40 run tp @s ^ ^ ^0.2 ~ ~1.5 + # しばらくすると遅くなるけど、誘導してくる + execute if score @s General.Object.Tick matches 40.. facing entity @p[gamemode=!spectator,distance=..64] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-40 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ + execute if score @s General.Object.Tick matches 40..200 run tp @s ^ ^ ^0.1 + # しばらくすると落下しはじめる + execute if score @s General.Object.Tick matches 200.. run tp @s ^ ^ ^0.1 ~ ~0.5 # ヒット判定 execute positioned ~-1 ~-1 ~-1 if entity @a[tag=!PlayerShouldInvulnerable,dx=1,dy=1,dz=1] run function asset:object/2242.lawless_chaser_shot/tick/explode From badac7ff04599aee25a1a97ad694165901e1a8b4 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 10:54:18 +0900 Subject: [PATCH 05/13] =?UTF-8?q?=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7?= =?UTF-8?q?=E3=82=AF=E3=83=882245=E3=82=92=E4=BD=9C=E3=82=8A=E7=9B=B4?= =?UTF-8?q?=E3=81=99=E3=81=93=E3=81=A8=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../register.mcfunction | 20 --------- .../2245.lawless_shockwave/summon/.mcfunction | 11 ----- .../summon/m.mcfunction | 8 ---- .../2245.lawless_shockwave/tick/.mcfunction | 37 ----------------- .../tick/explosion.mcfunction | 41 ------------------- 5 files changed, 117 deletions(-) delete mode 100644 Asset/data/asset/functions/object/2245.lawless_shockwave/register.mcfunction delete mode 100644 Asset/data/asset/functions/object/2245.lawless_shockwave/summon/.mcfunction delete mode 100644 Asset/data/asset/functions/object/2245.lawless_shockwave/summon/m.mcfunction delete mode 100644 Asset/data/asset/functions/object/2245.lawless_shockwave/tick/.mcfunction delete mode 100644 Asset/data/asset/functions/object/2245.lawless_shockwave/tick/explosion.mcfunction diff --git a/Asset/data/asset/functions/object/2245.lawless_shockwave/register.mcfunction b/Asset/data/asset/functions/object/2245.lawless_shockwave/register.mcfunction deleted file mode 100644 index 1dab5f0184a..00000000000 --- a/Asset/data/asset/functions/object/2245.lawless_shockwave/register.mcfunction +++ /dev/null @@ -1,20 +0,0 @@ -#> asset:object/2245.lawless_shockwave/register -# -# Objectのデータを指定 -# -# @within function asset:object/alias/2245/register - -# 継承(オプション) - # data modify storage asset:object Extends append value - # function asset:object/extends -# 他のObjectに継承されることを許可するか (boolean) (オプション) - # data modify storage asset:object ExtendsSafe set value -# 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) - data modify storage asset:object IsAbstract set value false -# Tickするかどうか(boolean) (オプション) - # data modify storage asset:object IsTicking set value - -# ID (int) - data modify storage asset:object ID set value 2245 -# フィールド(オプション) - # data modify storage asset:object Field.myValue set value \ No newline at end of file diff --git a/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/.mcfunction b/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/.mcfunction deleted file mode 100644 index 468f015d003..00000000000 --- a/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/.mcfunction +++ /dev/null @@ -1,11 +0,0 @@ -#> asset:object/2245.lawless_shockwave/summon/ -# -# Object召喚処理の呼び出し時に実行されるfunction -# -# @within asset:object/alias/2245/summon - -# 元となるEntityを召喚する - execute as 0-0-0-0-0 in minecraft:overworld positioned as @s run tp @s ~ ~ ~ ~ ~ - data modify storage asset:temp Args.Rotation set from entity 0-0-0-0-0 Rotation - function asset:object/2245.lawless_shockwave/summon/m with storage asset:temp Args - data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/m.mcfunction b/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/m.mcfunction deleted file mode 100644 index d359b4de445..00000000000 --- a/Asset/data/asset/functions/object/2245.lawless_shockwave/summon/m.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -#> asset:object/2245.lawless_shockwave/summon/m -# -# -# -# @within function asset:object/2245.lawless_shockwave/summon/ - -# 元となるEntityを召喚する - $summon marker ~ ~ ~ {Rotation:$(Rotation),Tags:["ObjectInit"]} diff --git a/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/.mcfunction b/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/.mcfunction deleted file mode 100644 index 595fb6af872..00000000000 --- a/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/.mcfunction +++ /dev/null @@ -1,37 +0,0 @@ -#> asset:object/2245.lawless_shockwave/tick/ -# -# Objectのtick時の処理 -# -# @within asset:object/alias/2245/tick - -#> インターバル用スコアホルダー -# @private - #declare score_holder $Interval - -# Tick加算 - scoreboard players add @s General.Object.Tick 1 - -# プレイヤーをなんとなく追尾 - execute if score @s General.Object.Tick matches ..30 facing entity @p[gamemode=!spectator,distance=..64] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-30 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ 0 - -# しばらくすると、最寄りのボスのもとに飛んでいく - execute if score @s General.Object.Tick matches 31.. facing entity @e[type=iron_golem,scores={MobID=437},distance=..64] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-5 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ 0 - -# 移動。 - tp @s ^ ^ ^1 - -# パーティクル - particle minecraft:crit ~ ~ ~ 0.2 0.1 0.2 0.05 5 force @a[distance=..64] - particle minecraft:electric_spark ~ ~ ~ 0.2 0.1 0.2 0.05 10 force @a[distance=..64] - -# 一定間隔で爆発 - # 実行時間を移す - scoreboard players operation $Interval Temporary = @s General.Object.Tick - # 数tickごとに攻撃判定が発生 - scoreboard players operation $Interval Temporary %= $4 Const - execute if score $Interval Temporary matches 0 run function asset:object/2245.lawless_shockwave/tick/explosion - # リセット - scoreboard players reset $Interval Temporary - -# 消滅処理 - kill @s[scores={General.Object.Tick=75..}] diff --git a/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/explosion.mcfunction b/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/explosion.mcfunction deleted file mode 100644 index a62d08282b2..00000000000 --- a/Asset/data/asset/functions/object/2245.lawless_shockwave/tick/explosion.mcfunction +++ /dev/null @@ -1,41 +0,0 @@ -#> asset:object/2245.lawless_shockwave/tick/explosion -# -# -# -# @within function asset:object/2245.lawless_shockwave/tick/ - -# 引数の設定 - # 与えるダメージ - data modify storage api: Argument.Damage set from storage asset:context this.Damage - # 第一属性 - data modify storage api: Argument.AttackType set value "Magic" - # 第二属性 - data modify storage api: Argument.ElementType set value "None" - # ダメージ補正 - data modify storage api: Argument.MobUUID set from storage asset:context this.MobUUID - function api:damage/modifier_manual - # 当たり判定を発生させるぞ - data modify storage lib: args set value {dx:2,dy:5,dz:2,selector:"@a[tag=!PlayerShouldInvulnerable,distance=..16]"} - function lib:rotatable_dxyz/m with storage lib: args - # ダメージを与える。 - execute as @a[tag=DXYZ,distance=..16] run function api:damage/ - # リセット - function api:damage/reset - tag @a[tag=DXYZ,distance=..16] remove DXYZ - -# パーティクル - particle minecraft:dust 0.9 0.9 1 1 ~ ~1 ~ 0.3 1 0.3 0 25 force @a[distance=..64] - particle minecraft:explosion ~ ~ ~ 0 0 0 1 1 force @a[distance=..64] - particle minecraft:explosion ~ ~1.5 ~ 0 0 0 1 1 force @a[distance=..64] - particle minecraft:end_rod ~ ~ ~ 0.0 1 0.0 0.17 0 - particle minecraft:end_rod ~0.3 ~0.1 ~-0.1 0.0 1 0.0 0.15 0 - particle minecraft:end_rod ~-0.5 ~0.2 ~0.2 0.0 1 0.0 0.23 0 - particle minecraft:end_rod ~0.4 ~0.3 ~-0.7 0.0 1 0.0 0.3 0 - particle minecraft:end_rod ~0.7 ~0.4 ~0.5 0.0 1 0.0 0.2 0 - particle minecraft:end_rod ~-0.3 ~0.5 ~ 0.0 1 0.0 0.27 0 - particle minecraft:end_rod ~-0.7 ~0.6 ~-0.1 0.0 1 0.0 0.3 0 - particle minecraft:end_rod ~0.3 ~0.7 ~0.2 0.0 1 0.0 0.25 0 - -# サウンド - playsound minecraft:entity.generic.explode hostile @a ~ ~ ~ 1 2 - playsound minecraft:entity.blaze.shoot hostile @a ~ ~ ~ 1 1 From 50c528d5a902b48b0d26c268d23ae82c712bb667 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:07:33 +0900 Subject: [PATCH 06/13] =?UTF-8?q?=E6=96=AC=E6=92=83=E5=BC=BE=E3=81=AB?= =?UTF-8?q?=E9=A2=A8=E5=88=87=E3=82=8A=E9=9F=B3=E3=82=92=E3=81=A4=E3=81=91?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/2241.lawless_slashshot/tick/.mcfunction | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Asset/data/asset/functions/object/2241.lawless_slashshot/tick/.mcfunction b/Asset/data/asset/functions/object/2241.lawless_slashshot/tick/.mcfunction index 761d202da26..06e268a0104 100644 --- a/Asset/data/asset/functions/object/2241.lawless_slashshot/tick/.mcfunction +++ b/Asset/data/asset/functions/object/2241.lawless_slashshot/tick/.mcfunction @@ -4,12 +4,24 @@ # # @within asset:object/alias/2241/tick +#> Private +# @private + #declare score_holder $Interval + # GeneralのTickは別で加算する scoreboard players add @s General.Object.Tick 1 # 飛距離が0になったら、独自のTick加算を開始 scoreboard players add @s[tag=2241.RangeOver] 2241.Tick 1 +# 実行時間を移す + scoreboard players operation $Interval Temporary = @s General.Object.Tick + +# 数Tickごとにサウンド + scoreboard players operation $Interval Temporary %= $2 Const + execute if score $Interval Temporary matches 0 run playsound minecraft:entity.breeze.slide neutral @a ~ ~ ~ 0.3 1 + scoreboard players reset $Interval Temporary + # 縮んでいく execute if score @s 2241.Tick matches 1 run function asset:object/2241.lawless_slashshot/tick/shrink From 04d0900853bb436adcc11c1d465cb3a2e21314b7 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:07:54 +0900 Subject: [PATCH 07/13] =?UTF-8?q?2245=E3=82=92=E5=9B=9E=E8=BB=A2=E3=81=99?= =?UTF-8?q?=E3=82=8B=E6=96=AC=E6=92=83=E5=BC=BE=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../register.mcfunction | 2 +- .../_index.d.mcfunction | 6 ++++++ .../register.mcfunction | 20 +++++++++++++++++++ .../summon/debug.mcfunction | 10 ++++++++++ .../tick/.mcfunction | 17 ++++++++++++++++ .../tick/detect_owner.m.mcfunction | 8 ++++++++ .../object/alias/2245/register.mcfunction | 2 +- .../object/alias/2245/summon.mcfunction | 8 -------- .../object/alias/2245/tick.mcfunction | 2 +- 9 files changed, 64 insertions(+), 11 deletions(-) create mode 100644 Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/_index.d.mcfunction create mode 100644 Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction create mode 100644 Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/summon/debug.mcfunction create mode 100644 Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction create mode 100644 Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/detect_owner.m.mcfunction delete mode 100644 Asset/data/asset/functions/object/alias/2245/summon.mcfunction diff --git a/Asset/data/asset/functions/object/2244.lawless_breaker_slashshot/register.mcfunction b/Asset/data/asset/functions/object/2244.lawless_breaker_slashshot/register.mcfunction index 32d4cbc1c4e..40184081032 100644 --- a/Asset/data/asset/functions/object/2244.lawless_breaker_slashshot/register.mcfunction +++ b/Asset/data/asset/functions/object/2244.lawless_breaker_slashshot/register.mcfunction @@ -8,7 +8,7 @@ data modify storage asset:object Extends append value 2241 function asset:object/extends # 他のObjectに継承されることを許可するか (boolean) (オプション) - # data modify storage asset:object ExtendsSafe set value + data modify storage asset:object ExtendsSafe set value true # 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) data modify storage asset:object IsAbstract set value false # Tickするかどうか(boolean) (オプション) diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/_index.d.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/_index.d.mcfunction new file mode 100644 index 00000000000..ac70d5eb6c1 --- /dev/null +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/_index.d.mcfunction @@ -0,0 +1,6 @@ +#> asset:object/2245.lawless_whirl_slashshot/_index.d +# @private + +#> tag +# @within function asset:object/2245.lawless_whirl_slashshot/** + #declare tag 2245.Owner diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction new file mode 100644 index 00000000000..4fdbcfa69fe --- /dev/null +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction @@ -0,0 +1,20 @@ +#> asset:object/2245.lawless_whirl_slashshot/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/2245/register + +# 継承(オプション) + data modify storage asset:object Extends append value 2244 + function asset:object/extends +# 他のObjectに継承されることを許可するか (boolean) (オプション) + # data modify storage asset:object ExtendsSafe set value +# 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) + data modify storage asset:object IsAbstract set value false +# Tickするかどうか(boolean) (オプション) + # data modify storage asset:object IsTicking set value + +# ID (int) + data modify storage asset:object ID set value 2245 +# フィールド(オプション) + # data modify storage asset:object Field.myValue set value diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/summon/debug.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/summon/debug.mcfunction new file mode 100644 index 00000000000..e70b7d870dd --- /dev/null +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/summon/debug.mcfunction @@ -0,0 +1,10 @@ +#> asset:object/2245.lawless_whirl_slashshot/summon/debug +# +# 動作チェック用の召喚処理 使い終わったら消してもいいかも +# +# @user +# @private + +# 召喚 + data modify storage api: Argument.ID set value 2245 + function api:object/summon \ No newline at end of file diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction new file mode 100644 index 00000000000..1d285a41c40 --- /dev/null +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction @@ -0,0 +1,17 @@ +#> asset:object/2245.lawless_whirl_slashshot/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/2245/tick + +# 召喚者を特定 + function asset:object/2245.lawless_whirl_slashshot/tick/detect_owner.m with storage asset:context this + +# 召喚者を中心に回りながら飛んでいく + execute if score @s General.Object.Tick matches ..50 facing entity @e[type=#lib:living,tag=2245.Owner,distance=..32,limit=1] feet rotated ~-90 0 run tp @s ^ ^ ^ ~ ~ + +# まっすぐ飛んでいく + execute if score @s General.Object.Tick matches 51.. run tp @s ^ ^ ^ ~2.5 ~ + +# Super + function asset:object/super.tick diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/detect_owner.m.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/detect_owner.m.mcfunction new file mode 100644 index 00000000000..7b69779c18a --- /dev/null +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/detect_owner.m.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/2245.lawless_whirl_slashshot/tick/detect_owner.m +# +# +# +# @within function asset:object/2245.lawless_whirl_slashshot/tick/ + +# ちょうどフィールドに召喚者のUUIDが入ってるのでそれを使う + $tag @e[type=#lib:living,scores={MobUUID=$(MobUUID)},distance=..32,limit=1] add 2245.Owner diff --git a/Asset/data/asset/functions/object/alias/2245/register.mcfunction b/Asset/data/asset/functions/object/alias/2245/register.mcfunction index 614e08d12d8..981da525f55 100644 --- a/Asset/data/asset/functions/object/alias/2245/register.mcfunction +++ b/Asset/data/asset/functions/object/alias/2245/register.mcfunction @@ -5,4 +5,4 @@ # @within asset_manager:object/summon/register.m # 元の登録処理を呼び出す - function asset:object/2245.lawless_shockwave/register \ No newline at end of file + function asset:object/2245.lawless_whirl_slashshot/register diff --git a/Asset/data/asset/functions/object/alias/2245/summon.mcfunction b/Asset/data/asset/functions/object/alias/2245/summon.mcfunction deleted file mode 100644 index a7df268aa30..00000000000 --- a/Asset/data/asset/functions/object/alias/2245/summon.mcfunction +++ /dev/null @@ -1,8 +0,0 @@ -#> asset:object/alias/2245/summon -# -# Object召喚処理のエイリアス -# -# @within asset_manager:object/summon/summon.m - -# 元の召喚処理を呼び出す - function asset:object/2245.lawless_shockwave/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/2245/tick.mcfunction b/Asset/data/asset/functions/object/alias/2245/tick.mcfunction index 739a10646d5..7867736e900 100644 --- a/Asset/data/asset/functions/object/alias/2245/tick.mcfunction +++ b/Asset/data/asset/functions/object/alias/2245/tick.mcfunction @@ -5,4 +5,4 @@ # @within asset_manager:object/tick/tick.m # 元のTick処理を呼び出す - function asset:object/2245.lawless_shockwave/tick/ \ No newline at end of file + function asset:object/2245.lawless_whirl_slashshot/tick/ From 2ab6d49a423026f34eac9321cda9b03875b02d7e Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:31:38 +0900 Subject: [PATCH 08/13] =?UTF-8?q?=E3=82=B9=E3=83=A9=E3=83=83=E3=82=B7?= =?UTF-8?q?=E3=83=A5=E3=82=B7=E3=83=A7=E3=83=83=E3=83=88=E3=81=AE=E3=83=91?= =?UTF-8?q?=E3=83=BC=E3=83=86=E3=82=A3=E3=82=AF=E3=83=AB=E3=81=ABForce?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E3=82=92=E4=BB=98=E4=B8=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/2241.lawless_slashshot/recursive/.mcfunction | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Asset/data/asset/functions/object/2241.lawless_slashshot/recursive/.mcfunction b/Asset/data/asset/functions/object/2241.lawless_slashshot/recursive/.mcfunction index dfb30e80c29..b5e7167b88d 100644 --- a/Asset/data/asset/functions/object/2241.lawless_slashshot/recursive/.mcfunction +++ b/Asset/data/asset/functions/object/2241.lawless_slashshot/recursive/.mcfunction @@ -5,6 +5,6 @@ # @within asset:object/alias/2241/recursive # パーティクル - particle minecraft:crit ^ ^ ^-2 0 0 0 0.3 1 - particle minecraft:dust 0.5 0 0 1 ^ ^ ^-2 0.1 0.1 0.1 0 1 - particle minecraft:dust 1 0 0 1 ^ ^ ^-2 0.1 0.1 0.1 0 1 + particle minecraft:crit ^ ^ ^-2 0 0 0 0.3 1 force @a[distance=..32] + particle minecraft:dust 0.5 0 0 1 ^ ^ ^-2 0.1 0.1 0.1 0 1 force @a[distance=..32] + particle minecraft:dust 1 0 0 1 ^ ^ ^-2 0.1 0.1 0.1 0 1 force @a[distance=..32] From f20c46b0d6db0e375fa47e9a651ae78be7882d42 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:51:59 +0900 Subject: [PATCH 09/13] =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=82=A6=E3=82=A7=E3=83=BC=E3=83=96=E6=94=BB=E6=92=83=E3=82=92?= =?UTF-8?q?=E5=9B=9E=E8=BB=A2=E3=81=99=E3=82=8B=E6=96=AC=E6=92=83=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skill/shockwave/activate.mcfunction | 22 +++++++++++-------- .../skill/shockwave/alert/.mcfunction | 13 ----------- .../skill/shockwave/alert/3.mcfunction | 10 --------- .../skill/shockwave/alert/5.mcfunction | 12 ---------- .../skill/shockwave/alert/summon.mcfunction | 12 ---------- .../skill/shockwave/projectile/.mcfunction | 6 ++--- .../skill/shockwave/projectile/3.mcfunction | 10 --------- .../skill/shockwave/projectile/4.mcfunction | 11 ++++++++++ .../skill/shockwave/projectile/5.mcfunction | 10 ++++----- .../shockwave/projectile/summon.mcfunction | 8 ++++--- .../base_move/skill/shockwave/tick.mcfunction | 22 +++++++++++-------- .../skill/shockwave/windup.mcfunction | 9 +++++++- 12 files changed, 58 insertions(+), 87 deletions(-) delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon.mcfunction delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3.mcfunction create mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4.mcfunction diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate.mcfunction index d38cff63a7b..62dc04e451c 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate.mcfunction @@ -5,20 +5,24 @@ # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick # 衝撃波を放つ! - function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/ + execute positioned ~ ~1.5 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/ # 斬撃の演出も召喚する data modify storage api: Argument.ID set value 2001 - data modify storage api: Argument.FieldOverride set value {Color:12899545,Frames:[20335,20335,20336,20337],Scale:[10f,10f,0.1f],Transformation:{left_rotation:[-0.683f,-0.183f,-0.683f,0.183f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f]}} - execute anchored eyes rotated ~ 0 positioned ^ ^ ^2 positioned ~ ~-0.5 ~ rotated ~ 0 run function api:object/summon + data modify storage api: Argument.FieldOverride set value {Color:12899545,Frames:[20335,20335,20336,20337],Scale:[10f,10f,0.1f],Transformation:{left_rotation:[0.561f,-0.43f,0.43f,0.561f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f]}} + execute anchored eyes rotated ~ 0 positioned ^ ^ ^2 positioned ~ ~-0.5 ~ rotated ~-45 5 run function api:object/summon # 眼の前の判定 - # 判定 - data modify storage lib: Argument.BoundingFan set value {Angle:45,Radius:5,Height:5,Selector:"@a[tag=!PlayerShouldInvulnerable,distance=..16]"} + # 判定その1、狭いが高い。 + data modify storage lib: Argument.BoundingFan set value {Angle:180,Radius:4,Height:5,Selector:"@a[tag=!PlayerShouldInvulnerable,distance=..16]"} # 扇型の判定を出す execute positioned ~ ~-2.5 ~ run function lib:bounding_fan/ + # 判定その2、広いけど薄いので飛び越えれる + data modify storage lib: Argument.BoundingFan set value {Angle:160,Radius:6,Height:2,Selector:"@a[tag=!PlayerShouldInvulnerable,distance=..16]"} + # 扇型の判定を出す + execute positioned ~ ~-1 ~ run function lib:bounding_fan/ # 与えるダメージ - data modify storage api: Argument.Damage set from storage asset:context this.Damage.Slash2 + data modify storage api: Argument.Damage set from storage asset:context this.Damage.Slash1 # 属性1 data modify storage api: Argument.AttackType set value "Physical" # 属性2 @@ -31,6 +35,6 @@ tag @a[tag=BoundingFan,distance=..16] remove BoundingFan # 演出 - playsound minecraft:item.trident.throw hostile @a ~ ~ ~ 2 0.5 - playsound minecraft:item.trident.throw hostile @a ~ ~ ~ 2 0.6 - playsound minecraft:item.axe.scrape hostile @a ~ ~ ~ 1 1.5 + playsound ogg:mob.breeze.jump2 hostile @a ~ ~ ~ 2 0.5 + playsound minecraft:item.trident.return hostile @a ~ ~ ~ 2 1.5 + playsound minecraft:block.respawn_anchor.deplete hostile @a ~ ~ ~ 2 2 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/.mcfunction deleted file mode 100644 index c04fe3927ea..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/.mcfunction +++ /dev/null @@ -1,13 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/ -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick - -# ハード - # フェイズ1: 3-way - execute if predicate api:global_vars/difficulty/2_hard run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3 - -# 祝福なき者よ(Blessless) - # 5-way - execute if predicate api:global_vars/difficulty/min/3_blessless run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3.mcfunction deleted file mode 100644 index 581d13b20e7..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/3 -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/ - -# 警告 - execute rotated ~ 0 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~67.5 0 positioned ~ ~0.01 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~-67.5 0 positioned ~ ~0.02 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5.mcfunction deleted file mode 100644 index e61698c55ba..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5.mcfunction +++ /dev/null @@ -1,12 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/5 -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/ - -# 警告 - execute rotated ~ 0 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~90 0 positioned ~ ~0.01 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~-90 0 positioned ~ ~0.02 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~45 0 positioned ~ ~0.03 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon - execute rotated ~-45 0 positioned ~ ~0.04 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon.mcfunction deleted file mode 100644 index deaef240054..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon.mcfunction +++ /dev/null @@ -1,12 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/summon -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/** - -# データ設定 - data modify storage api: Argument.FieldOverride set value {Color:16732754,Interpolation:5,Tick:25,Scale:[2.5f,30.0f]} - -# そのまま召喚すると地面に重なっちゃうので、ちょっと上げて召喚 - data modify storage api: Argument.ID set value 2113 - execute positioned ~ ~0.1 ~ run function api:object/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/.mcfunction index 44591462ef1..50f51d530cf 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/.mcfunction @@ -5,9 +5,9 @@ # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate # ハード - # フェイズ2: 3-way - execute if predicate api:global_vars/difficulty/max/2_hard run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3 + # フェイズ2: 4個 + execute if predicate api:global_vars/difficulty/max/2_hard run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4 # 祝福なき者よ(Blessless) - # 常時5-way。後半での強化はまた別の動作。 + # 最初から使う上に5個 execute if predicate api:global_vars/difficulty/min/3_blessless run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3.mcfunction deleted file mode 100644 index 9657d178e0f..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3.mcfunction +++ /dev/null @@ -1,10 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3 -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/ - -# オブジェクト召喚 - execute rotated ~ 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~67.5 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~-67.5 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4.mcfunction new file mode 100644 index 00000000000..b693ff89595 --- /dev/null +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4.mcfunction @@ -0,0 +1,11 @@ +#> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4 +# +# +# +# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/ + +# オブジェクト召喚 + execute rotated 0 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 90 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated -90 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 180 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5.mcfunction index 27ea7933764..ed979fa5053 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5.mcfunction @@ -5,8 +5,8 @@ # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/ # オブジェクト召喚 - execute rotated ~ 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~45 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~-45 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~90 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon - execute rotated ~-90 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 0 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 72 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 144 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 216 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon + execute rotated 288 0 positioned ^ ^ ^2 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon.mcfunction index 7dc08204d69..ae84f6955dd 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/summon.mcfunction @@ -3,12 +3,14 @@ # # # @within function -# asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/3 +# asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/4 # asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/projectile/5 -# オブジェクト2241番をデータ指定した上で召喚する +# オブジェクトをデータ指定した上で召喚する data modify storage api: Argument.ID set value 2245 - execute store result storage api: Argument.FieldOverride.Damage int 1 run data get storage asset:context this.Damage.ShockWave + data modify storage api: Argument.FieldOverride.Range set value 200 + data modify storage api: Argument.FieldOverride.Speed set value 2 + execute store result storage api: Argument.FieldOverride.Damage int 1 run data get storage asset:context this.Damage.SlashShot1 execute store result storage api: Argument.FieldOverride.MobUUID int 1 run scoreboard players get @s MobUUID data modify storage api: Argument.FieldOverride.transformation set value {left_rotation:[-0.455f,-0.455f,-0.542f,0.542f]} function api:object/summon diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick.mcfunction index 4e3d1259db0..16a2d58d9c3 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick.mcfunction @@ -1,30 +1,34 @@ #> asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick # -# ブーメランみたいに戻って来る奇っ怪な衝撃波。チャージ長め。 +# 自分の周りでぐるぐる回る奇っ怪な斬撃。 # # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/active # 予備動作 execute if score @s General.Mob.Tick matches 0 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/windup +# 予備動作中の演出 + execute if score @s General.Mob.Tick matches 5..20 run particle minecraft:dust 0.7 0 0 2 ~ ~1.5 ~ 1 1 1 1 5 force @a[distance=..64] + # Tickまたいで鳴らしたい音 execute if score @s General.Mob.Tick matches 5 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.5 execute if score @s General.Mob.Tick matches 10 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.7 execute if score @s General.Mob.Tick matches 15 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.9 - execute if score @s General.Mob.Tick matches 20 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 1.1 - execute if score @s General.Mob.Tick matches 20 run playsound block.anvil.place hostile @a ~ ~ ~ 2 2 + execute if score @s General.Mob.Tick matches 20 run playsound ogg:block.smithing_table.smithing_table2 player @a ~ ~ ~ 2 1.2 + execute if score @s General.Mob.Tick matches 20 run playsound ogg:block.smithing_table.smithing_table2 player @a ~ ~ ~ 2 1.5 -# 警告! - execute if score @s General.Mob.Tick matches 10 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/alert/ +# チャージ完了時に演出 + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle electric_spark ~ ~1.5 ~ 0.5 0.5 0.5 1.5 100 force @a[distance=..32] + execute if score @s General.Mob.Tick matches 20 positioned ~ ~1 ~ run particle end_rod ~ ~1.5 ~ 0.5 0.5 0.5 0.2 20 force @a[distance=..32] # 攻撃の発動よりちょっと前にアニメ再生 - execute if score @s General.Mob.Tick matches 22 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_activate/tween {to_frame: 0, duration: 1} + execute if score @s General.Mob.Tick matches 27 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_activate/tween {to_frame: 0, duration: 1} # 薙ぎ払い、そして飛んでいくオブジェクト - execute if score @s General.Mob.Tick matches 25 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate + execute if score @s General.Mob.Tick matches 30 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/activate # ニュートラルポーズに戻る - execute if score @s General.Mob.Tick matches 50 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} + execute if score @s General.Mob.Tick matches 55 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 15} # リセット - execute if score @s General.Mob.Tick matches 60.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset + execute if score @s General.Mob.Tick matches 70.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/windup.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/windup.mcfunction index e907de931c6..ba22bac4804 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/windup.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/windup.mcfunction @@ -4,8 +4,15 @@ # # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/shockwave/tick +# 攻撃予告 + data modify storage api: Argument.FieldOverride.Color set value 16732754 + data modify storage api: Argument.FieldOverride.Scale set value [15f,15f,0.01f] + data modify storage api: Argument.FieldOverride.Tick set value 30 + data modify storage api: Argument.ID set value 2063 + execute positioned ~ ~0.1 ~ run function api:object/summon + # アニメ再生 - execute as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_3_windup/tween {to_frame: 0, duration: 1} + execute as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_melee_2_windup/tween {to_frame: 0, duration: 1} # サウンド playsound minecraft:block.grindstone.use hostile @a ~ ~ ~ 2 1.0 From b440ac483fdd9acc1cfbc0026131ea9ac81fd8c9 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:52:25 +0900 Subject: [PATCH 10/13] =?UTF-8?q?=E5=9B=9E=E8=BB=A2=E6=96=AC=E6=92=83?= =?UTF-8?q?=E3=81=8C=E9=A3=9B=E3=82=93=E3=81=A7=E3=81=84=E3=81=8F=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=9F=E3=83=B3=E3=82=B0=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../object/2245.lawless_whirl_slashshot/register.mcfunction | 2 +- .../object/2245.lawless_whirl_slashshot/tick/.mcfunction | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction index 4fdbcfa69fe..e3d1b391112 100644 --- a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/register.mcfunction @@ -5,7 +5,7 @@ # @within function asset:object/alias/2245/register # 継承(オプション) - data modify storage asset:object Extends append value 2244 + data modify storage asset:object Extends append value 2241 function asset:object/extends # 他のObjectに継承されることを許可するか (boolean) (オプション) # data modify storage asset:object ExtendsSafe set value diff --git a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction index 1d285a41c40..df9ff619034 100644 --- a/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction +++ b/Asset/data/asset/functions/object/2245.lawless_whirl_slashshot/tick/.mcfunction @@ -8,10 +8,10 @@ function asset:object/2245.lawless_whirl_slashshot/tick/detect_owner.m with storage asset:context this # 召喚者を中心に回りながら飛んでいく - execute if score @s General.Object.Tick matches ..50 facing entity @e[type=#lib:living,tag=2245.Owner,distance=..32,limit=1] feet rotated ~-90 0 run tp @s ^ ^ ^ ~ ~ + execute if score @s General.Object.Tick matches ..60 facing entity @e[type=#lib:living,tag=2245.Owner,distance=..32,limit=1] feet rotated ~90 0 run tp @s ^ ^ ^ ~ ~ # まっすぐ飛んでいく - execute if score @s General.Object.Tick matches 51.. run tp @s ^ ^ ^ ~2.5 ~ + execute if score @s General.Object.Tick matches 61.. run tp @s ^ ^ ^ ~-2.5 ~ # Super function asset:object/super.tick From 00333304adfe70b985199202709bd77be15be872 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 12:52:42 +0900 Subject: [PATCH 11/13] =?UTF-8?q?=E3=81=93=E3=81=AE=E6=89=8B=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=81=AF=E6=B8=9B=E3=82=89?= =?UTF-8?q?=E3=81=99=E3=81=B9=E3=81=8D=E3=81=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../skill/horizontal_slash_shot/slash_shot/summon.mcfunction | 2 +- .../skill/vertical_slash_shot/slash_shot/summon.mcfunction | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/slash_shot/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/slash_shot/summon.mcfunction index 7ae3f581240..d7622b2d965 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/slash_shot/summon.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/slash_shot/summon.mcfunction @@ -4,7 +4,7 @@ # # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/horizontal_slash_shot/** -# オブジェクト2241番をデータ指定した上で召喚する +# オブジェクトをデータ指定した上で召喚する data modify storage api: Argument.ID set value 2241 data modify storage api: Argument.FieldOverride.Range set value 70 data modify storage api: Argument.FieldOverride.Speed set value 2 diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash_shot/summon.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash_shot/summon.mcfunction index be43015217c..f810f74fc33 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash_shot/summon.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash_shot/summon.mcfunction @@ -4,7 +4,7 @@ # # @within function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/vertical_slash_shot/slash/** -# オブジェクト2244番をデータ指定した上で召喚する +# オブジェクトをデータ指定した上で召喚する data modify storage api: Argument.ID set value 2244 data modify storage api: Argument.FieldOverride.Range set value 70 data modify storage api: Argument.FieldOverride.Speed set value 3 From 01f14476f15ed28efb1a0aa829eb8d22969ba781 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 13:09:45 +0900 Subject: [PATCH 12/13] =?UTF-8?q?=E3=82=B9=E3=83=BC=E3=83=91=E3=83=BC?= =?UTF-8?q?=E3=83=AC=E3=83=BC=E3=82=B6=E3=83=BC=E3=81=AE=E4=BA=88=E5=82=99?= =?UTF-8?q?=E5=8B=95=E4=BD=9C=E3=82=92=E9=95=B7=E3=81=8F=E3=81=97=E3=80=81?= =?UTF-8?q?=E6=BC=94=E5=87=BA=E3=82=82=E3=81=A1=E3=82=87=E3=81=A3=E3=81=A8?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hurt/health_check.mcfunction | 2 +- .../skill/super_laser/tick.mcfunction | 37 +++++++++++++------ 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/health_check.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/health_check.mcfunction index 58256f1c54f..ba4730da80d 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/health_check.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/hurt/health_check.mcfunction @@ -15,7 +15,7 @@ execute store result score $HealthPercent Temporary run data get storage api: Return.HealthPer 100 # HP50%以下だったら、その動作を発動。 - execute if score $HealthPercent Temporary matches ..50 run function asset:mob/0437.lawless_iron_doll/hurt/active_50per + function asset:mob/0437.lawless_iron_doll/hurt/active_50per # リセット scoreboard players reset $HealthPercent Temporary diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/tick.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/tick.mcfunction index 8705b41a1a9..1362fb083e5 100644 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/tick.mcfunction +++ b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/tick.mcfunction @@ -10,6 +10,17 @@ # 近くのプレイヤーの方にそこそこの速度で向き直る execute if score @s General.Mob.Tick matches 0..20 facing entity @p[gamemode=!spectator,distance=..256] feet positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-10 facing entity @s feet positioned as @s rotated ~ ~ run tp @s ~ ~ ~ ~ ~ +# 実行時間を移す + scoreboard players operation $Interval Temporary = @s General.Mob.Tick + +# 数Tickごとにサウンド + scoreboard players operation $Interval Temporary %= $5 Const + execute if score @s General.Mob.Tick matches 0..60 if score $Interval Temporary matches 0 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/alert_laser/shoot + scoreboard players reset $Interval Temporary + +# 予備動作 + execute if score @s General.Mob.Tick matches 0..55 run particle minecraft:dust 0.8 0 1 1.5 ~ ~0.5 ~ 1.0 1.0 1.0 1 10 force @a[distance=..64] + # 警告 execute if score @s General.Mob.Tick matches 0 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/alert_laser/shoot execute if score @s General.Mob.Tick matches 5 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/alert_laser/shoot @@ -23,29 +34,31 @@ execute if score @s General.Mob.Tick matches 45 run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/alert_laser/shoot # Tickまたいで鳴らしたい音 - execute if score @s General.Mob.Tick matches 25 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.5 - execute if score @s General.Mob.Tick matches 30 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.7 - execute if score @s General.Mob.Tick matches 35 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 0.9 - execute if score @s General.Mob.Tick matches 40 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 1.2 - execute if score @s General.Mob.Tick matches 45 run playsound ogg:mob.breeze.charge1 hostile @a ~ ~ ~ 2 1.4 + execute if score @s General.Mob.Tick matches 25 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 0.5 + execute if score @s General.Mob.Tick matches 30 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 0.7 + execute if score @s General.Mob.Tick matches 35 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 0.9 + execute if score @s General.Mob.Tick matches 40 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.2 + execute if score @s General.Mob.Tick matches 45 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.4 + execute if score @s General.Mob.Tick matches 50 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.6 + execute if score @s General.Mob.Tick matches 55 run playsound minecraft:entity.illusioner.prepare_blindness hostile @a ~ ~ ~ 2 1.8 # 攻撃の発動よりちょっと前にアニメ再生 - execute if score @s General.Mob.Tick matches 47 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_ranged_2_activate/tween {to_frame: 0, duration: 1} + execute if score @s General.Mob.Tick matches 57 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_ranged_2_activate/tween {to_frame: 0, duration: 1} # ループ開始 - execute if score @s General.Mob.Tick matches 57 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_ranged_2_loop/tween {to_frame: 0, duration: 10} + execute if score @s General.Mob.Tick matches 67 as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/attack_ranged_2_loop/tween {to_frame: 0, duration: 10} # しばらくレーザーがいっぱい飛んでくる - execute if score @s General.Mob.Tick matches 47..77 positioned ~ ~3 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/small_laser/shoot + execute if score @s General.Mob.Tick matches 67..97 positioned ~ ~3 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/small_laser/shoot # メインのレーザー。 - execute if score @s General.Mob.Tick matches 47..77 positioned ~ ~3 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/big_laser/tick + execute if score @s General.Mob.Tick matches 67..97 positioned ~ ~3 ~ run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/super_laser/big_laser/tick # ニュートラルポーズに戻る - execute if score @s General.Mob.Tick matches 90.. unless block ~ ~-0.5 ~ #lib:no_collision as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} + execute if score @s General.Mob.Tick matches 110.. unless block ~ ~-0.5 ~ #lib:no_collision as @e[type=item_display,tag=C5.ModelRoot.Target,sort=nearest,limit=1] run function animated_java:lawless_iron_doll/animations/neutral/tween {to_frame: 0, duration: 5} # おつかれタグを付与する。次の行動は絶対歩行になる。 - execute if score @s General.Mob.Tick matches 110.. run tag @s add C5.Exhausted + execute if score @s General.Mob.Tick matches 130.. run tag @s add C5.Exhausted # リセット - execute if score @s General.Mob.Tick matches 110.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset + execute if score @s General.Mob.Tick matches 130.. run function asset:mob/0437.lawless_iron_doll/tick/base_move/skill/reset From 8ff8af53bf2fc98bf15d686106e85f0379420a79 Mon Sep 17 00:00:00 2001 From: Chuzume Date: Sun, 1 Mar 2026 13:20:46 +0900 Subject: [PATCH 13/13] =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E3=81=A0?= =?UTF-8?q?=E3=81=93=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tick/base_move/chicken_out/give_check.mcfunction | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check.mcfunction diff --git a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check.mcfunction b/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check.mcfunction deleted file mode 100644 index 585b025e176..00000000000 --- a/Asset/data/asset/functions/mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check.mcfunction +++ /dev/null @@ -1,12 +0,0 @@ -#> asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give_check -# -# -# -# @within function asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/boarder - -# デバフにかかっているかを確認 - data modify storage api: Argument.ID set value 654 - function api:entity/mob/effect/get/from_id - -# エフェクトが付与されていなければ、付与 - execute unless data storage api: Return.Effect run function asset:mob/0437.lawless_iron_doll/tick/base_move/chicken_out/give