# 将土豆刷新给离自己最远的人 execute at @s as @a[sort=furthest,tag=mini_running,tag=!watcher,limit=1] run function mini:hotpm/pm_get # 告知玩家 tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@a[tag=pm_hoding]","color":"yellow","bold":false},{"text":" 获得了土豆!","color":"white","bold":false}] # 强制观战 execute at @s as @a[gamemode=spectator,distance=..0.1] run spectate @p[tag=pm_hoding] # 土豆爆炸时间 = 4 * 存活人数 + 2 scoreboard players set $countdown mem 2 execute as @a[tag=mini_running] run scoreboard players add $countdown mem 4 # 删除效果云 kill @s[type=area_effect_cloud,tag=pm_boom]