Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 神器の名前 (TextComponentString)
data modify storage asset:artifact Name set value '{"text":"聖典","color":"#FFDD66"}'
# 神器の説明文 (TextComponentString[])
data modify storage asset:artifact Lore set value ['{"text":"30%の確率で以下の効果のうち1つを発動する"}','{"translate":"-%1$s体力を20回復する","with":[{"text":"\\u0002","font":"space"}]}','{"translate":"-%1$sMPを50回復する","with":[{"text":"\\u0002","font":"space"}]}','{"translate":"-%1$sデバフ%2$sを1つ解除する","with":[{"text":"\\u0002","font":"space"},{"text":"[弱/強]","color":"#FFDD66"}]}','{"text":"神の加護を受けた書物","color":"gray"}','{"text":"文章の内から微かに治癒の力を感じる","color":"gray"}','{"text":"どうやら有用な頁は少ないらしい","color":"gray"}']
data modify storage asset:artifact Lore set value ['{"text":"30%の確率で以下の効果のうち1つを発動する"}','{"translate":"-%1$s体力を20回復する","with":[{"text":"\\u0002","font":"space"}]}','{"translate":"-%1$sMPを40回復する","with":[{"text":"\\u0002","font":"space"}]}','{"translate":"-%1$sデバフ%2$sを1つ解除する","with":[{"text":"\\u0002","font":"space"},{"text":"[弱/強]","color":"#FFDD66"}]}','{"text":"神の加護を受けた書物","color":"gray"}','{"text":"文章の内から微かに治癒の力を感じる","color":"gray"}','{"text":"どうやら有用な頁は少ないらしい","color":"gray"}']
# 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション)
# data modify storage asset:artifact ConsumeItem.Item set value
# data modify storage asset:artifact ConsumeItem.Count set value
Expand All @@ -41,7 +41,7 @@
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
# data modify storage asset:artifact AttackInfo.AttackRange set value
# MP消費量 (int)
data modify storage asset:artifact MPCost set value 8
data modify storage asset:artifact MPCost set value 10
# MP必要量 (int) (オプション)
# data modify storage asset:artifact MPRequire set value
# 神器のクールダウン (int) (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# @within function asset:artifact/0019.scripture/trigger/3.main

# MP回復
data modify storage api: Argument.Fluctuation set value 50
data modify storage api: Argument.Fluctuation set value 40
function api:mp/fluctuation
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション)
# data modify storage asset:artifact AttackInfo.BypassResist set value
# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション)
data modify storage asset:artifact AttackInfo.IsRangeAttack set value "never"
data modify storage asset:artifact AttackInfo.IsRangeAttack set value "every"
# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション)
# data modify storage asset:artifact AttackInfo.AttackRange set value
data modify storage asset:artifact AttackInfo.AttackRange set value "1.75"
# MP消費量 (int)
data modify storage asset:artifact MPCost set value 6
# MP必要量 (int) (オプション)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
particle dust 1 1 0 0.5 ~ ~1 ~ 0.3 0.3 0.3 0 1 normal

# 跳躍と採掘速度上昇
effect give @s jump_boost 1 0 true
effect give @s haste 1 0 true
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 名前 (TextComponentString)
data modify storage asset:effect Name set value '{"text":"雷鳴","color":"yellow"}'
# 説明文 (TextComponentString[])
data modify storage asset:effect Description set value ['{"text":"全ての部位を装備すると機敏になり、"}','{"text":"近接攻撃に対して追撃が発生する。"}','{"text":"移動速度+15%","color":"green"}','{"text":"跳躍力上昇1","color":"green"}','{"text":"採掘速度上昇1","color":"green"}']
data modify storage asset:effect Description set value ['{"text":"全ての部位を装備すると機敏になり、"}','{"text":"近接攻撃に対して追撃が発生する。"}','{"text":"移動速度 +15%","color":"green"}','{"text":"採掘速度上昇1","color":"green"}']
# 効果時間 (int) (default = API || error)
data modify storage asset:effect Duration set value 2147483647
# スタック (int) (default = API || 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# ダメージ
execute store result score $OwnerID Temporary run data get storage asset:context this.UserID
execute at @a if score $OwnerID Temporary = @p UserID as @p run function api:damage/modifier
execute positioned ~-1.75 ~-1.75 ~-1.75 as @e[type=#lib:living,tag=Enemy,tag=!Uninterferable,dx=2.5,dy=2.5,dz=2.5,sort=random,limit=1] run function api:damage/
execute positioned ~-1.75 ~-1.75 ~-1.75 as @e[type=#lib:living,tag=Enemy,tag=!Uninterferable,dx=2.5,dy=2.5,dz=2.5] run function api:damage/
# リセット
function api:damage/reset
scoreboard players reset $OwnerID Temporary
Expand Down