|
|
@@ -21,8 +21,16 @@ execute as @a[tag=new_selector] run function ltw:state/7/next2
|
|
|
execute unless entity @a[tag=new_selector] if score $game_type mem matches 1 if score $round mem matches 6.. run function ltw:main/game_end
|
|
|
execute unless entity @a[tag=new_selector] if score $game_type mem matches 1 if score $round mem matches ..5 run function ltw:state/7/continue_gameparty
|
|
|
|
|
|
-# 初始化倒计时
|
|
|
-scoreboard players set $countdown mem 10
|
|
|
+# 初始化倒计时与 HUD
|
|
|
+scoreboard players set $countdown mem 13
|
|
|
+scoreboard players set $bossbar_color mem 0
|
|
|
+scoreboard players set @a[tag=!new_selector] bossbar_color 2
|
|
|
+scoreboard players set @a[tag=new_selector] bossbar_color 4
|
|
|
+scoreboard players set $countdown_max mem 13
|
|
|
+scoreboard players set $bossbar_type mem 2
|
|
|
+bossbar set mini:yellow name "等待他人选择奖励"
|
|
|
+bossbar set mini:blue name "剩余时间"
|
|
|
+function lib:bossbar/show
|
|
|
|
|
|
# 播放音效
|
|
|
execute as @a[tag=new_selector] at @s run function lib:sounds/hit
|