LTCatt 6 лет назад
Родитель
Сommit
b09427ede4

+ 2 - 2
data/mini/functions/slime/game/set_attack.mcfunction

@@ -1,3 +1,3 @@
 execute if score $countdown mem matches 61.. as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 2
-execute if score $countdown mem matches 2..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 3.5
-execute if score $countdown mem matches ..1 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 5
+execute if score $countdown mem matches 31..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 3.5
+execute if score $countdown mem matches ..30 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 5

+ 10 - 10
data/mini/functions/slime/tick20.mcfunction

@@ -13,16 +13,16 @@ 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 30 run function mini:slime/game/set_attack
+execute if score $countdown mem matches 30 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
+execute if score $countdown mem matches 30 as @a at @s run function lib:sounds/error
+
 # 召唤提示 2
-execute if score $countdown mem matches 35 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
-execute if score $countdown mem matches 35 as @a at @s run function lib:sounds/error
+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
 
 # 召唤 2
-execute if score $countdown mem matches 30 run function mini:slime/game/summon
-execute if score $countdown mem matches 30 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
-execute if score $countdown mem matches 30 as @a at @s run function lib:sounds/teleport
-
-# 属性提升 2
-execute if score $countdown mem matches 1 run function mini:slime/game/set_attack
-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/error
+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