LTCatt 6 лет назад
Родитель
Сommit
733a641a13
1 измененных файлов с 6 добавлено и 12 удалено
  1. 6 12
      data/mini/functions/slime/tick20.mcfunction

+ 6 - 12
data/mini/functions/slime/tick20.mcfunction

@@ -7,7 +7,6 @@ execute if score $countdown mem matches 100 as @a at @s run function lib:sounds/
 # 召唤提示 1
 execute if score $countdown mem matches 85 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
 execute if score $countdown mem matches 85 as @a at @s run function lib:sounds/error
-
 # 召唤 1
 execute if score $countdown mem matches 80 run function mini:slime/game/summon
 execute if score $countdown mem matches 80 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
@@ -18,25 +17,20 @@ execute if score $countdown mem matches 60 run function mini:slime/game/set_atta
 execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
 execute if score $countdown mem matches 60 as @a at @s run function lib:sounds/error
 
-# 召唤提示 2
-execute if score $countdown mem matches 45 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
-execute if score $countdown mem matches 45 as @a at @s run function lib:sounds/error
-
-# 召唤 2
-execute if score $countdown mem matches 40 run function mini:slime/game/summon
-execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
-execute if score $countdown mem matches 40 as @a at @s run function lib:sounds/teleport
+# 速度提升
+execute if score $countdown mem matches ..40 run effect give @e[type=slime] speed 2 6
+execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的速度提高了!","color":"red"}]
+execute if score $countdown mem matches 40 as @a at @s run function lib:sounds/error
 
 # 属性提升 3
 execute if score $countdown mem matches 20 run function mini:slime/game/set_attack
 execute if score $countdown mem matches 20 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
 execute if score $countdown mem matches 20 as @a at @s run function lib:sounds/error
 
-# 召唤提示 4
+# 召唤提示 2
 execute if score $countdown mem matches 6 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
 execute if score $countdown mem matches 6 as @a at @s run function lib:sounds/error
-
-# 召唤 4
+# 召唤 2
 execute if score $countdown mem matches 1 run function mini:slime/game/summon
 execute if score $countdown mem matches 1 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
 execute if score $countdown mem matches 1 as @a at @s run function lib:sounds/teleport