Quellcode durchsuchen

修复跑酷掉线的名次判断

LTCatt vor 6 Jahren
Ursprung
Commit
30878c78d1

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

@@ -10,6 +10,5 @@ execute if score $state mem matches 1.. if score $game_type mem matches 1 if sco
 execute if score $state mem matches 5 if score $mini_type mem matches 3 run function mini:hotpm/player_leave
 
 # FIXME : [010/HIM] 奖励选择房和跑酷图还有结构方块的线
-# FIXME : <! 紧急> 跑酷中途掉线导致名次判断错误
 # FIXME : <! 紧急> [010] 物品依然可能给不到人
 # FIXME : [010/HIM] 关闭原版进度,它会给玩家经验值什么的很烦

+ 1 - 1
data/mini/functions/main/update_player_count.mcfunction

@@ -1,4 +1,4 @@
 # 更新存活与结束的玩家数量
 
 execute store result score $player_alive mem if entity @a[tag=mini_running,tag=!watcher]
-execute store result score $player_finish mem if entity @a[tag=!mini_running,tag=!watcher]
+execute store result score $player_finish mem if entity @a[tag=!mini_running,tag=!watcher,scores={mini_score=-10..}]

+ 1 - 1
data/mini/functions/parkour/game_start.mcfunction

@@ -1,2 +1,2 @@
 # 强制开门倒计时
-scoreboard players set $countdown mem 120
+scoreboard players set $countdown mem 90