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

+ 2 - 1
data/ltw/functions/state/0/tick20.mcfunction

@@ -3,9 +3,10 @@ execute if score $countdown mem matches 1.. if score $game_type mem matches 0 ru
 execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run function ltw:state/0/try_start_gameparty
 
 # 显示倒计时,播放音效
+execute store result score $count mem if entity @a[tag=lobby_ready]
 execute if score $countdown mem matches 1.. run title @a times 3 14 2
 scoreboard players operation #time mem = $countdown mem
 scoreboard players remove #time mem 1
-execute if score $countdown mem matches 1.. run title @a subtitle {"score":{"name":"#time","objective":"mem"}}
+execute if score $countdown mem matches 1.. run title @a subtitle [{"score":{"name":"#time","objective":"mem"}}," 秒 | ",{"score":{"name":"$count","objective":"mem"}}," 人"]
 execute if score $countdown mem matches 1.. run title @a title [""]
 execute if score $countdown mem matches 1..10 run execute as @a at @s run function lib:sounds/hit2

+ 1 - 1
data/mini/functions/phantom/player_enter.mcfunction

@@ -21,7 +21,7 @@ scoreboard players reset @s use_trident
 scoreboard players reset @s countdown
 
 # 传送玩家
-tp @s[tag=!debug] 1030.5 24.5 6031.5
+tp @s[tag=!watcher,tag=!debug] 1030.5 24.5 6031.5
 
 # 调整模式
 gamemode spectator @s[tag=!debug]