Skip to content

Commit 7c4487c

Browse files
committed
🐛 [Mob 0393] ラビリアの耐性を AssetEffect に移行
1 parent 9363623 commit 7c4487c

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Asset/data/asset/functions/mob/0393.labyria_first/ai/animation/14_0_sw_thunder_spear/.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# @within function asset:mob/0393.labyria_first/ai/animation/
66

77
# 耐性を掛ける
8-
execute if score @s AX.AnimationTick matches 1 run effect give @s resistance 19 7 true
8+
execute if score @s AX.AnimationTick matches 1 run function asset:mob/0393.labyria_first/ai/animation/14_0_sw_thunder_spear/give_resistance
99

1010
# アニメーション再生
1111
execute if score @s AX.AnimationTick matches 1 as @e[type=item_display,tag=AX.Root.This,distance=..100] run function animated_java:labyria/animations/14_0_sw_thunder_spear/play
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#> asset:mob/0393.labyria_first/ai/animation/14_0_sw_thunder_spear/give_resistance
2+
#
3+
#
4+
#
5+
# @within function asset:mob/0393.labyria_first/ai/animation/14_0_sw_thunder_spear/
6+
7+
data modify storage api: Argument.ID set value 150
8+
data modify storage api: Argument.Duration set value 380
9+
data modify storage api: Argument.Stack set value 8
10+
function api:entity/mob/effect/give
11+
function api:entity/mob/effect/reset

0 commit comments

Comments
 (0)