-
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
20 changed files
with
159 additions
and
8 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/end.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/0618.soaked/_/end | ||
# | ||
# Effectの効果の終了時に実行されるfunction | ||
# | ||
# @within tag/function asset:effect/end | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/end/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/given.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/0618.soaked/_/given | ||
# | ||
# Effectが付与された時に実行されるfunction | ||
# | ||
# @within tag/function asset:effect/given | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/given/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/re-given.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/0618.soaked/_/re-given | ||
# | ||
# Effectが上書きされた時に実行されるfunction | ||
# | ||
# @within tag/function asset:effect/re-given | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/re-given/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/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/0618.soaked/_/register | ||
# | ||
# | ||
# | ||
# @within tag/function asset:effect/register | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/register |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/remove.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/0618.soaked/_/remove | ||
# | ||
# Effectが神器や牛乳によって削除された時に実行されるfunction | ||
# | ||
# @within tag/function asset:effect/remove | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/remove/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/_/tick.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/0618.soaked/_/tick | ||
# | ||
# Effectが発動している間毎tick実行されるfunction | ||
# | ||
# @within tag/function asset:effect/tick | ||
|
||
execute if data storage asset:context {id:618} run function asset:effect/0618.soaked/tick/ |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/end/.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/0618.soaked/end/ | ||
# | ||
# Effectの効果が切れた時の処理 | ||
# | ||
# @within function asset:effect/0618.soaked/_/end | ||
|
||
function asset:effect/0618.soaked/modifier/remove |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/given/.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/0618.soaked/given/ | ||
# | ||
# Effectが付与された時の処理 | ||
# | ||
# @within function asset:effect/0618.soaked/_/given | ||
|
||
function asset:effect/0618.soaked/modifier/add |
16 changes: 16 additions & 0 deletions
16
Asset/data/asset/functions/effect/0618.soaked/modifier/add.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,16 @@ | ||
#> asset:effect/0618.soaked/modifier/add | ||
# | ||
# 補正を追加する | ||
# | ||
# @within function | ||
# asset:effect/0618.soaked/given/ | ||
# asset:effect/0618.soaked/re-given/ | ||
|
||
# 移動速度-20%を付与 | ||
attribute @s generic.movement_speed modifier add 00000001-0000-0003-0000-026a00000000 "618.Speed" -0.2 multiply | ||
|
||
# (-25 × Stack)%分の水耐性弱化を付与 | ||
data modify storage api: Argument.UUID set value [I;1,3,618,0] | ||
execute store result storage api: Argument.Amount double -0.25 run data get storage asset:context Stack | ||
data modify storage api: Argument.Operation set value "multiply_base" | ||
function api:modifier/defense/water/add |
15 changes: 15 additions & 0 deletions
15
Asset/data/asset/functions/effect/0618.soaked/modifier/remove.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,15 @@ | ||
#> asset:effect/0618.soaked/modifier/remove | ||
# | ||
# 補正を削除する | ||
# | ||
# @within function | ||
# asset:effect/0618.soaked/end/ | ||
# asset:effect/0618.soaked/re-given/ | ||
# asset:effect/0618.soaked/remove/ | ||
|
||
# 移動速度低下を削除 | ||
attribute @s generic.movement_speed modifier remove 00000001-0000-0003-0000-026a00000000 | ||
|
||
# 補正を削除する | ||
data modify storage api: Argument.UUID set value [I;1,3,618,0] | ||
function api:modifier/defense/water/remove |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/effect/0618.soaked/re-given/.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,8 @@ | ||
#> asset:effect/0618.soaked/re-given/ | ||
# | ||
# Effectが上書きされた時の処理 | ||
# | ||
# @within function asset:effect/0618.soaked/_/re-given | ||
|
||
function asset:effect/0618.soaked/modifier/remove | ||
function asset:effect/0618.soaked/modifier/add |
35 changes: 35 additions & 0 deletions
35
Asset/data/asset/functions/effect/0618.soaked/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,35 @@ | ||
#> asset:effect/0618.soaked/register | ||
# | ||
# Effectのデータを指定 | ||
# | ||
# @within function asset:effect/0618.soaked/_/register | ||
|
||
# ExtendsSafe (boolean) (default = false) | ||
# data modify storage asset:effect ExtendsSafe set value true | ||
# ID (int) | ||
data modify storage asset:effect ID set value 618 | ||
# 名前 (TextComponentString) | ||
data modify storage asset:effect Name set value '{"text":"ずぶ濡れ"}' | ||
# 説明文 (TextComponentString[]) | ||
data modify storage asset:effect Description set value '{"text":"水耐性が大きく減少し、移動が遅くなる"}' | ||
# 効果時間 (int) (default = API || error) | ||
data modify storage asset:effect Duration set value 200 | ||
# スタック (int) (default = API || 1) | ||
# data modify storage asset:effect Stack set value | ||
# 効果時間の操作方法 (default = API || "replace") | ||
data modify storage asset:effect DurationOperation set value "forceReplace" | ||
# スタックの操作方法 (default = API || "replace") | ||
data modify storage asset:effect StackOperation set value "add" | ||
# 最大効果時間 (int) (default = 2147483647) | ||
data modify storage asset:effect MaxDuration set value 200 | ||
# 最大スタック (int) (default = 2147483647) | ||
data modify storage asset:effect MaxStack set value 2 | ||
# 悪い効果か否か (boolean) | ||
data modify storage asset:effect IsBadEffect set value true | ||
# 死亡時のエフェクトの処理 (default = "remove") | ||
# data modify storage asset:effect ProcessOnDied set value | ||
# 消すのに必要なレベル (int) (default = 1) | ||
data modify storage asset:effect RequireClearLv set value 2 | ||
|
||
# フィールド | ||
# data modify storage asset:effect Field set value {} |
7 changes: 7 additions & 0 deletions
7
Asset/data/asset/functions/effect/0618.soaked/remove/.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/0618.soaked/remove/ | ||
# | ||
# Effectが削除された時の処理 | ||
# | ||
# @within function asset:effect/0618.soaked/_/remove | ||
|
||
function asset:effect/0618.soaked/modifier/remove |
8 changes: 8 additions & 0 deletions
8
Asset/data/asset/functions/effect/0618.soaked/tick/.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,8 @@ | ||
#> asset:effect/0618.soaked/tick/ | ||
# | ||
# Effectのtick処理 | ||
# | ||
# @within function asset:effect/0618.soaked/_/tick | ||
|
||
# 演出 | ||
particle fishing ~ ~1 ~ 0.25 0.5 0.25 0.05 1 normal |
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
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
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