2.0.9
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user