|
|
@@ -1,6 +1,5 @@
|
|
|
# 当玩家加入游戏时触发
|
|
|
team join player @s
|
|
|
-bossbar set ltw:notice players @a
|
|
|
|
|
|
advancement revoke @s only lib:damage_dealt
|
|
|
advancement revoke @s only lib:damage_taken
|
|
|
@@ -19,5 +18,9 @@ execute if entity @s[tag=!watcher] unless score @s game_id = $ game_id run funct
|
|
|
# 如果不是旁观且局号正确:游戏中掉线
|
|
|
execute if entity @s[tag=!watcher] if score @s game_id = $ game_id run function ltw:main/player_enter_rejoin
|
|
|
|
|
|
+# 更新 Bossbar
|
|
|
+bossbar set ltw:notice players @a
|
|
|
+function lib:bossbar/show
|
|
|
+
|
|
|
# FIXME: 不再允许偷到 -1 分
|
|
|
-# FIXME: 旁观者在游戏开局的时候似乎会看到 2 然后 ding
|
|
|
+# FIXME: 旁观者在游戏开局的时候似乎会看到 2 然后 ding
|