|
|
@@ -4,12 +4,8 @@ function mini:colormatch/game/replace_wall
|
|
|
execute positioned 1001 10 4000 run clone ~ ~ ~ ~24 ~ ~24 1050 15 4000
|
|
|
|
|
|
# 设置倒计时
|
|
|
-scoreboard players add $color_match_round mem 1
|
|
|
-execute if score $color_match_round mem matches 2 if score $color_match_time mem matches 4.. run scoreboard players remove $color_match_time mem 1
|
|
|
-execute if score $color_match_round mem matches 2 if score $color_match_time mem matches 4.. run tellraw @a [{"text":">> ","color":"gold","bold": true},{"text":"地板消失速度提升!","color":"white","bold": false}]
|
|
|
-
|
|
|
-execute if score $color_match_round mem matches 2 run scoreboard players set $color_match_round mem 0
|
|
|
-scoreboard players operation $countdown mem = $color_match_time mem
|
|
|
+scoreboard players remove $color_match_time mem 2
|
|
|
+scoreboard players operation $countdown_fast mem = $color_match_time mem
|
|
|
|
|
|
# 重置分数
|
|
|
scoreboard players set $color_match_type mem 0
|
|
|
@@ -18,6 +14,6 @@ scoreboard players set $color_match_type mem 0
|
|
|
execute as @a[tag=color_match_fall] at @s run tp @s ~ 20 ~
|
|
|
tag @a[tag=color_match_fall] remove color_match_fall
|
|
|
|
|
|
-# 龙猫:我觉得没必要告知玩家是啥方块,看墙壁就够了……
|
|
|
# 告知玩家
|
|
|
-tellraw @a [{"text":">> ","color":"gold","bold": true},{"text":"新的一轮开始了!","color":"white","bold": false}]
|
|
|
+execute as @a at @s run function lib:sounds/hit
|
|
|
+# tellraw @a [{"text":">> ","color":"gold","bold": true},{"text":"新的一轮开始了!","color":"white","bold": false}]
|