|
|
@@ -1,14 +1,16 @@
|
|
|
-# 爆炸
|
|
|
-execute if score $countdown_fast mem matches ..0 if entity @a[tag=pm_holding] run function mini:hotpm/player_lose_heart
|
|
|
-
|
|
|
-# 检测土豆
|
|
|
-function mini:hotpm/game/pm_check
|
|
|
|
|
|
# 随机时间
|
|
|
-scoreboard players set $random_min mem -5
|
|
|
-scoreboard players set $random_max mem 5
|
|
|
+scoreboard players set $random_min mem -3
|
|
|
+scoreboard players set $random_max mem 3
|
|
|
function lib:random
|
|
|
scoreboard players operation $countdown_fast mem += $random mem
|
|
|
+execute if score $countdown_fast mem matches ..0 run scoreboard players set $countdown_fast mem 0
|
|
|
+
|
|
|
+# 爆炸
|
|
|
+execute if score $countdown_fast mem matches 0 if entity @a[tag=pm_holding] run function mini:hotpm/player_lose_heart
|
|
|
+
|
|
|
+# 检测土豆
|
|
|
+function mini:hotpm/game/pm_check
|
|
|
|
|
|
# HUD
|
|
|
scoreboard players set $bossbar_color mem 0
|