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

+ 2 - 1
data/item/functions/bonus_item/add_score.mcfunction

@@ -22,7 +22,8 @@ function ltw:main/get_max_score
 tag @a remove highest
 tag @a remove may_highest
 execute as @a if score @s total_score = #score_max mem run tag @s add may_highest
-execute at @s run tag @a[tag=may_highest,limit=1,sort=furthest] add highest
+execute at @s run tag @a[tag=may_highest,limit=1,sort=furthest,scores={total_score=1..}] add highest
+execute unless entity @a[tag=highest] run tag @s add highest
 
 execute if score #bonus_add_score mem matches 200 run scoreboard players add @s total_score 1
 execute if score #bonus_add_score mem matches 200 run scoreboard players add @s total_score_disp 1

+ 1 - 3
data/ltw/functions/main/player_enter.mcfunction

@@ -22,6 +22,4 @@ execute if entity @s[tag=!watcher] if score @s game_id = $ game_id run function
 bossbar set ltw:notice players @a
 function lib:bossbar/show
 
-# FIXME: [LTCat] 不再允许偷到 -1 分
-# FIXME: [LTCat] 旁观者在游戏开局的时候似乎会看到 2 然后 ding
-# FIXME: [HIM] init 之后猪灵可能会消失(并且会 ding 两声,疑似执行了两次
+# FIXME: [LTCat] 旁观者在游戏开局的时候似乎会看到 2 然后 ding

+ 0 - 1
data/mini/functions/tntrun/game_init.mcfunction

@@ -28,7 +28,6 @@ setblock 1032 51 2000 minecraft:redstone_block
 ##111
 setblock 1032 52 2032 minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:1b,powered:0b,seed:0L,author:"chengzi_SC",rotation:"NONE",posX:0,mode:"LOAD",posY:-10,sizeX:9,posZ:0,integrity:1.0f,showair:0b,name:"mini:tntrun111",sizeY:10,sizeZ:8,showboundingbox:0b}
 setblock 1032 51 2032 minecraft:redstone_block
-# FIXME: [010] 清理结构方块
 
 # 清理残余实体
 kill @e[type=arrow]