LTCatt 6 rokov pred
rodič
commit
84b2741a83

+ 4 - 3
data/ltw/functions/state/7/tick20.mcfunction

@@ -1,7 +1,8 @@
+
+# 下一状态
+execute if score $countdown mem matches 1 run function ltw:state/7/next
+
 # 显示倒计时
 execute if entity @a[tag=selecting] run title @a times 3 14 2
 execute if entity @a[tag=selecting] run title @a subtitle {"score":{"name":"$countdown","objective":"mem"}}
 execute if entity @a[tag=selecting] run title @a title ""
-
-# 下一状态
-execute if score $countdown mem matches 1 run function ltw:state/7/next

+ 4 - 3
data/mini/functions/hotpm/game/pm_init.mcfunction

@@ -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
 
 # 删除效果云