Skip to content

Commit

Permalink
Merge pull request #329 from ProjectTSB/feature/heal-trigger-move-to-…
Browse files Browse the repository at this point in the history
…receive-heal
  • Loading branch information
ChenCMD authored Oct 29, 2024
2 parents 31e5b42 + e042ad7 commit 181f295
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# 神器を発動できるスロット (string) Wikiを参照
data modify storage asset:artifact Slot set value "hotbar"
# 神器のトリガー (string) Wikiを参照
data modify storage asset:artifact Trigger set value "onHeal"
data modify storage asset:artifact Trigger set value "onReceiveHeal"
# 効果が重複可能か否か (boolean) (オプション)
# data modify storage asset:artifact EnableDuplication set value
# 神器の発動条件 (TextComponentString) (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# 神器を発動できるスロット (string) Wikiを参照
data modify storage asset:artifact Slot set value "hotbar"
# 神器のトリガー (string) Wikiを参照
data modify storage asset:artifact Trigger set value "onHeal"
data modify storage asset:artifact Trigger set value "onReceiveHeal"
# 神器の発動条件 (TextComponentString) (オプション)
# data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
Expand Down Expand Up @@ -56,4 +56,4 @@
# data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
function asset:artifact/common/give
function asset:artifact/common/give
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# 神器を発動できるスロット (string) Wikiを参照
data modify storage asset:artifact Slot set value "hotbar"
# 神器のトリガー (string) Wikiを参照
data modify storage asset:artifact Trigger set value "onHeal"
data modify storage asset:artifact Trigger set value "onReceiveHeal"
# 神器の発動条件 (TextComponentString) (オプション)
# data modify storage asset:artifact Condition set value
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
Expand Down Expand Up @@ -56,4 +56,4 @@
# data modify storage asset:artifact CustomNBT set value {}

# 神器の入手用function
function asset:artifact/common/give
function asset:artifact/common/give
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# 神器を発動できるスロット (string) Wikiを参照
data modify storage asset:artifact Slot set value "hotbar"
# 神器のトリガー (string) Wikiを参照
data modify storage asset:artifact Trigger set value "onHeal"
data modify storage asset:artifact Trigger set value "onReceiveHeal"
# 神器の発動条件 (TextComponentString) (オプション)
data modify storage asset:artifact Condition set value '{"text":"雨","color":"white"}'
# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# 神器を発動できるスロット (string) Wikiを参照
data modify storage asset:artifact Slot set value "hotbar"
# 神器のトリガー (string) Wikiを参照
data modify storage asset:artifact Trigger set value "onHeal"
data modify storage asset:artifact Trigger set value "onReceiveHeal"
# 効果が重複可能か否か (boolean) (オプション)
# data modify storage asset:artifact EnableDuplication set value
# 神器の発動条件 (TextComponentString) (オプション)
Expand Down
8 changes: 2 additions & 6 deletions Asset/data/asset/tags/functions/artifact/heal.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"values": [
"asset:artifact/1108.white_lily_of_priestess/trigger/1.trigger",
"asset:artifact/1069.sprout_of_dappled_sunlight/trigger/1.trigger",
"asset:artifact/1088.purifying_hydrangea/trigger/1.trigger",
"asset:artifact/1081.wandering_piece_of_dream/trigger/1.trigger",
"asset:artifact/1075.fairy_vial/trigger/1.trigger"

]
}
}
9 changes: 9 additions & 0 deletions Asset/data/asset/tags/functions/artifact/receive_heal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"values": [
"asset:artifact/1108.white_lily_of_priestess/trigger/1.trigger",
"asset:artifact/1069.sprout_of_dappled_sunlight/trigger/1.trigger",
"asset:artifact/1088.purifying_hydrangea/trigger/1.trigger",
"asset:artifact/1081.wandering_piece_of_dream/trigger/1.trigger",
"asset:artifact/1075.fairy_vial/trigger/1.trigger"
]
}

0 comments on commit 181f295

Please sign in to comment.