This commit is contained in:
延皓
2021-07-03 18:55:08 +08:00
commit b259706807
114 changed files with 3798 additions and 0 deletions
@@ -0,0 +1,10 @@
#计算受伤害量和总榜
#判断条件用于排除地毯小人
execute unless score @s carpetBot matches 1 run scoreboard players operation @s 10xDamageTaken /= 10 calculator
execute unless score @s carpetBot matches 1 run scoreboard players operation @s damageTaken += @s 10xDamageTaken
execute unless score @s carpetBot matches 1 run scoreboard players operation p抖M damageTaken += @s 10xDamageTaken
execute unless score @s carpetBot matches 1 run scoreboard players operation p抖M totalList += @s 10xDamageTaken
#重置伤害探测记分板
scoreboard players reset @s 10xDamageTaken
#重置触发该函数的成就
advancement revoke @s only fz:scoreboards/damagetaken
@@ -0,0 +1,2 @@
#将抖M榜显示给轮播记分板的队伍
scoreboard objectives setdisplay sidebar.team.gold damageTaken