Skip to content
Open
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 @@ -10,7 +10,8 @@
# ここから先は神器側の効果の処理を書く

# 演出
playsound block.conduit.activate player @a ~ ~ ~ 0.7 1.4
playsound block.conduit.activate player @a ~ ~ ~ 1.6 1.4
playsound block.conduit.activate player @a ~ ~ ~ 1.6 1.4
particle dust 0.2 0.2 1 1 ~ ~0.4 ~ 0.25 0.25 0.25 0 15 normal

# チャージ用Effectを付与
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
execute store result storage asset:context this.Charge int 1 run scoreboard players add $Charge Temporary 1

# チャージ段階に比例して演出とスタックを変える
execute if score $Charge Temporary matches 16 run playsound block.conduit.activate player @a ~ ~ ~ 0.8 1.6
execute if score $Charge Temporary matches 16 run playsound block.conduit.activate player @a ~ ~ ~ 1.5 1.6
execute if score $Charge Temporary matches 16 run playsound block.conduit.activate player @a ~ ~ ~ 1.5 1.6
execute if score $Charge Temporary matches 16 run particle dust 0.1 0.1 0.7 1 ~ ~0.4 ~ 0.25 0.25 0.25 0 15 normal
execute if score $Charge Temporary matches 16 run data modify storage asset:context Stack set value 2

execute if score $Charge Temporary matches 32 run playsound block.conduit.activate player @a ~ ~ ~ 0.9 1.8
execute if score $Charge Temporary matches 32 run playsound block.conduit.activate player @a ~ ~ ~ 1.8 1.8
execute if score $Charge Temporary matches 32 run playsound block.conduit.activate player @a ~ ~ ~ 1.8 1.8
execute if score $Charge Temporary matches 32 run particle dust 0 0 0.4 1.2 ~ ~0.4 ~ 0.25 0.25 0.25 0 25 normal
execute if score $Charge Temporary matches 32 run data modify storage asset:context Stack set value 3

Expand Down
Loading