LTCatt 6 лет назад
Родитель
Сommit
d6d5e557cf

+ 2 - 1
data/mini/functions/colormatch/game/remove_ground.mcfunction

@@ -5,8 +5,9 @@ execute positioned 1001 11 4000 run clone ~ ~ ~ ~24 ~ ~24 1050 15 4000
 execute as @a at @s run function lib:sounds/hit2
 
 # 重置分数
-scoreboard players set $countdown_fast mem 30
+scoreboard players set $countdown_fast mem 35
 scoreboard players operation $countdown_fast mem < $color_match_time mem
+scoreboard players remove $countdown_fast mem 5
 scoreboard players set $color_match_type mem 1
 
 # 预备下一轮

+ 1 - 2
data/mini/functions/colormatch/game/start_new_round.mcfunction

@@ -5,8 +5,7 @@ execute positioned 1001 10 4000 run clone ~ ~ ~ ~24 ~ ~24 1050 15 4000
 
 # 设置倒计时
 execute if score $color_match_time mem matches 40.. run scoreboard players remove $color_match_time mem 5
-execute if score $color_match_time mem matches 30..39 run scoreboard players remove $color_match_time mem 2
-execute if score $color_match_time mem matches 15..29 run scoreboard players remove $color_match_time mem 1
+execute if score $color_match_time mem matches 20..39 run scoreboard players remove $color_match_time mem 1
 scoreboard players operation $countdown_fast mem = $color_match_time mem
 
 # 重置分数