|
|
@@ -1,11 +1,8 @@
|
|
|
-# 将土豆刷新给离自己最远的人
|
|
|
-execute at @s as @a[sort=furthest,tag=mini_running,tag=!watcher,limit=1] run function mini:hotpm/game/pm_get
|
|
|
+# 刷新自己土豆
|
|
|
+function mini:hotpm/game/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]
|
|
|
+tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"yellow","bold":false},{"text":" 获得了土豆!","color":"white","bold":false}]
|
|
|
|
|
|
# 土豆爆炸时间 = 2 * 存活人数 + 4(秒)
|
|
|
scoreboard players set $countdown_fast mem 40
|