@@ -1 +1 @@
-playsound minecraft:block.note_block.didgeridoo block @s ~ ~ ~ 1 1
+playsound minecraft:block.note_block.didgeridoo block @s
-playsound minecraft:ui.toast.challenge_complete block @s ~ ~ ~ 0.7 0.9
+playsound minecraft:ui.toast.challenge_complete block @s 0 1000000 0 1000000 0.9
-playsound minecraft:block.portal.travel block @s ~ ~ ~ 0.3 2
+playsound minecraft:block.portal.travel block @s ~ ~ ~ 0.5 2
@@ -1,6 +1,7 @@
# 当玩家加入游戏时触发
team join ltw @s
advancement revoke @s everything
+execute as @a at @s run function lib:sounds/error
# 如果是旁观者或局号不对头:开始旁观
execute if entity @s[tag=watcher] run function ltw:main/player_enter_watcher
@@ -1,4 +1,5 @@
# 任意玩家下线时触发
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