-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Asset/data/asset/functions/mob/0391.axia_first/ai/animation/6_2_moving_iai/damage.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#> asset:mob/0391.axia_first/ai/animation/6_2_moving_iai/damage | ||
# | ||
# ダメージ処理 | ||
# | ||
# @within function asset:mob/0391.axia_first/ai/animation/6_2_moving_iai/ | ||
|
||
# ダメージ | ||
# 引数の設定 | ||
# 与えるダメージ | ||
data modify storage lib: Argument.Damage set value 45.0f | ||
# 第一属性 | ||
data modify storage lib: Argument.AttackType set value "Physical" | ||
# 第二属性 | ||
data modify storage lib: Argument.ElementType set value "Fire" | ||
# デスログ | ||
data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sによって無惨に切り裂かれた","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]' | ||
# 補正functionを実行 | ||
function lib:damage/modifier | ||
# ダメージを与える | ||
execute positioned ^ ^ ^2 as @a[tag=!PlayerShouldInvulnerable,distance=..3] at @s run function lib:damage/ | ||
# リセット | ||
function lib:damage/reset |
13 changes: 0 additions & 13 deletions
13
Asset/data/asset/functions/mob/0391.axia_first/ai/animation/6_2_moving_iai/rotate.mcfunction
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters