|
|
@@ -4,9 +4,10 @@ function mini:hotpm/game/pm_get
|
|
|
# 告知玩家
|
|
|
tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 幸运地获得了美味的土豆!"]
|
|
|
|
|
|
-# 土豆爆炸时间 = 存活人数 + 6(秒)
|
|
|
-scoreboard players set $countdown_fast mem 60
|
|
|
-execute as @a[tag=mini_running] run scoreboard players add $countdown_fast mem 10
|
|
|
+# 土豆爆炸时间 = 存活人数 * 1.5 + 5(秒),最大 10 秒
|
|
|
+scoreboard players set $countdown_fast mem 50
|
|
|
+execute as @a[tag=mini_running] run scoreboard players add $countdown_fast mem 15
|
|
|
+scoreboard players operation $countdown_fast mem < #count_100 mem
|
|
|
scoreboard players operation $countdown_max mem = $countdown_fast mem
|
|
|
|
|
|
# 删除效果云
|