tick20.mcfunction 2.9 KB

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