tick20.mcfunction 1.9 KB

12345678910111213141516171819202122232425262728
  1. # 召唤提示 1
  2. execute if score $countdown mem matches 95 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
  3. execute if score $countdown mem matches 95 as @a at @s run function lib:sounds/error
  4. # 召唤 1
  5. execute if score $countdown mem matches 90 run function mini:slime/game/summon
  6. execute if score $countdown mem matches 90 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
  7. execute if score $countdown mem matches 90 as @a at @s run function lib:sounds/teleport
  8. # 属性提升 1
  9. execute if score $countdown mem matches 60 run function mini:slime/game/set_attack
  10. execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
  11. execute if score $countdown mem matches 60 as @a at @s run function lib:sounds/error
  12. # 召唤提示 2
  13. execute if score $countdown mem matches 35 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
  14. execute if score $countdown mem matches 35 as @a at @s run function lib:sounds/error
  15. # 召唤 2
  16. execute if score $countdown mem matches 30 run function mini:slime/game/summon
  17. execute if score $countdown mem matches 30 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
  18. execute if score $countdown mem matches 30 as @a at @s run function lib:sounds/teleport
  19. # 属性提升 2
  20. execute if score $countdown mem matches 1 run function mini:slime/game/set_attack
  21. execute if score $countdown mem matches 1 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
  22. execute if score $countdown mem matches 1 as @a at @s run function lib:sounds/error