This commit is contained in:
延皓 committed 2021-07-21 01:27:29 +08:00
1 parent 198ec6889f
commit 99aa3533f9
13 files changed
+73 -14

No files matched your search

@@ -0,0 +1,11 @@
#计算滑翔距离和总榜
#判断条件用于排除地毯小人
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviateOneTime = @s fz.aviateCounter
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviateOneTime /= 200 calculator
execute unless score @s carpetBot matches 1 run scoreboard players operation @s fz.aviate1m += @s fz.aviateOneTime
execute unless score @s carpetBot matches 1 run scoreboard players operation 总滑翔距离 fz.aviate1m += @s fz.aviateOneTime
execute unless score @s carpetBot matches 1 run scoreboard players operation 总滑翔距离 totalList += @s fz.aviateOneTime
#重置滑翔探测记分板
scoreboard players operation @s fz.aviateCounter %= 200 calculator
#重置触发该函数的成就
advancement revoke @s only fz:scoreboards/aviate1m
@@ -0,0 +1,2 @@
#将交易榜显示给轮播记分板的队伍(金队)
scoreboard objectives setdisplay sidebar.team.gold fz.aviate1m