-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚖️ [Artifact 562-565] ハートランドのフルセット効果を EffectAsset に移行
- Loading branch information
1 parent
a5f38ec
commit ab6effc
Showing
8 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Asset/data/asset/functions/artifact/0563.heartland/trigger/0.load.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,9 @@ | ||
#> asset:artifact/0563.heartland/trigger/0.load | ||
# | ||
# 神器に利用するスコアボード等の初期化処理 | ||
# | ||
# @within tag/function asset:artifact/load | ||
|
||
#> 定義類はここに | ||
# @within function asset:artifact/0563.heartland/trigger/** | ||
scoreboard objectives add FN.LatestFullEffect dummy |
13 changes: 13 additions & 0 deletions
13
Asset/data/asset/functions/artifact/0563.heartland/trigger/fullset/tick/foreach.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,13 @@ | ||
#> asset:artifact/0563.heartland/trigger/fullset/tick/foreach | ||
# | ||
# | ||
# | ||
# @within function asset:artifact/0563.heartland/trigger/fullset/tick/main | ||
|
||
data modify storage api: Argument.ID set value 266 | ||
function api:entity/mob/effect/get/from_id | ||
execute if data storage api: Return.Effect run return fail | ||
|
||
data modify storage api: Argument.ID set value 266 | ||
function api:entity/mob/effect/give | ||
function api:entity/mob/effect/reset |
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
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
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0266.grace_of_the_earth/_/register.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,7 @@ | ||
#> asset:effect/0266.grace_of_the_earth/_/register | ||
# | ||
# | ||
# | ||
# @within tag/function asset:effect/register | ||
|
||
execute if data storage asset:context {id:266} run function asset:effect/0266.grace_of_the_earth/register |
20 changes: 20 additions & 0 deletions
20
Asset/data/asset/functions/effect/0266.grace_of_the_earth/register.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,20 @@ | ||
#> asset:effect/0266.grace_of_the_earth/register | ||
# | ||
# Effectのデータを指定 | ||
# | ||
# @within function asset:effect/0266.grace_of_the_earth/_/register | ||
|
||
# 継承 (int) | ||
data modify storage asset:effect Extends append value 84 | ||
function asset:effect/extends | ||
# ID (int) | ||
data modify storage asset:effect ID set value 266 | ||
# 名前 (TextComponentString) | ||
data modify storage asset:effect Name set value "大地の恵み" | ||
# 効果時間 (int) (default = API || error) | ||
data modify storage asset:effect Duration set value 300 | ||
# スタック (int) (default = API || 1) | ||
data modify storage asset:effect Stack set value 1 | ||
|
||
# フィールド | ||
data modify storage asset:effect Field.HealPer set value 0.02 |
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
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