Explorar o código

加快 colormatch 的节奏

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
53de4247de

+ 3 - 0
data/ltw/functions/main/player_leave.mcfunction

@@ -3,3 +3,6 @@
 execute store result score $t_count mem if entity @a[tag=!watcher]
 execute if score $state mem matches 1.. if score $game_type mem matches 1 if score $t_count mem matches ..2 run function ltw:main/game_end
 execute if score $state mem matches 1.. if score $game_type mem matches 1 if score $t_count mem matches ..2 run tellraw @a {"text": "由于玩家人数不足, 游戏直接结束!","color":"red"}
+
+# TODO : 优化跑酷,让它更有趣!
+# TODO : 将 colormatch 的地图缩小到 20x20

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

@@ -5,7 +5,7 @@ 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 38
+scoreboard players set $countdown_fast mem 33
 scoreboard players operation $countdown_fast mem < $color_match_time mem
 scoreboard players remove $countdown_fast mem 3
 scoreboard players set $color_match_type mem 1

+ 1 - 1
data/mini/functions/colormatch/game_init.mcfunction

@@ -11,7 +11,7 @@ fill 1049 11 4025 1075 40 4025 stone
 
 # 初始化
 scoreboard players set $finish_mode mem 0
-scoreboard players set $color_match_time mem 70
+scoreboard players set $color_match_time mem 60
 scoreboard players set $color_match_type mem 0
 
 # 刷新地基