tick20.mcfunction 560 B

123456789101112
  1. # 召唤幻翼
  2. execute if score $countdown mem matches 11.. run function mini:phantom/game/try_summon
  3. # 显示倒计时
  4. execute if score $countdown mem matches ..10 run title @a times 3 14 2
  5. execute if score $countdown mem matches ..10 run title @a subtitle {"score":{"name":"$countdown","objective":"mem"}}
  6. execute if score $countdown mem matches ..10 run title @a title [""]
  7. execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds/hit2
  8. # 0s:游戏结束
  9. execute if score $countdown mem matches 0 run function mini:main/game_end