|
|
@@ -4,8 +4,10 @@ function mini:colormatch/game/replace_wall
|
|
|
execute positioned 1001 10 4000 run clone ~ ~ ~ ~24 ~ ~24 1050 15 4000
|
|
|
|
|
|
# 设置倒计时
|
|
|
-execute if score $color_match_time mem matches 37.. run scoreboard players remove $color_match_time mem 5
|
|
|
-execute if score $color_match_time mem matches 11..36 run scoreboard players remove $color_match_time mem 1
|
|
|
+scoreboard players remove $color_match_time mem 3
|
|
|
+execute if entity @a[tag=color_match_fall] run scoreboard players add $color_match_time mem 5
|
|
|
+execute if score $color_match_time mem matches 30.. run scoreboard players remove $color_match_time mem 3
|
|
|
+execute if score $color_match_time mem matches ..10 run scoreboard players set $color_match_time mem 11
|
|
|
scoreboard players operation $countdown_fast mem = $color_match_time mem
|
|
|
|
|
|
# 重置分数
|
|
|
@@ -13,7 +15,7 @@ scoreboard players set $color_match_type mem 0
|
|
|
|
|
|
# 拉玩家下来
|
|
|
execute as @a[tag=color_match_fall] at @s run tp @s ~ 17 ~
|
|
|
-execute if entity @a[tag=color_match_fall] run scoreboard players add $countdown_fast mem 10
|
|
|
+execute if entity @a[tag=color_match_fall] run scoreboard players add $countdown_fast mem 5
|
|
|
tag @a[tag=color_match_fall] remove color_match_fall
|
|
|
|
|
|
# 告知玩家
|