Skip to content

Commit

Permalink
指摘箇所を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Jan 5, 2025
1 parent d47bbe0 commit ceb7af1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 第二属性
data modify storage lib: Argument.ElementType set value "None"
# デスログ
data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sに群がれて倒れてしまった","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
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
# ダメージを与える
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
# タレットの位置調整
execute at @s on passengers run tp @s ^ ^ ^ ~ 0

# シミが一定以上ならreturn
execute if score @s BP.SummonCount matches 20.. run return fail

# スコア上昇
scoreboard players add @s General.Mob.Tick 1

# プレイヤーが近くにいる場合シミシミバレット発射!
execute if score @s General.Mob.Tick matches 150.. if score @s BP.SummonCount matches 20.. run scoreboard players set @s General.Mob.Tick 0
execute if score @s General.Mob.Tick matches 150.. if entity @a[tag=!PlayerShouldInvulnerable,distance=..16] run function asset:mob/0421.silver_turret/tick/fire
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# 第二属性
data modify storage lib: Argument.ElementType set value "None"
# デスログ
data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sに群がれて倒れてしまった","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
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
# ダメージを与える
Expand Down

0 comments on commit ceb7af1

Please sign in to comment.