LTCatt vor 6 Jahren
Ursprung
Commit
0695ffc82e

+ 2 - 0
data/ltw/functions/state/7/next.mcfunction

@@ -14,6 +14,8 @@ execute unless entity @a[tag=mini_rank1] unless entity @a[tag=mini_rank2] if ent
 execute unless entity @a[tag=new_selector] run tag @a[tag=mini_rank4] add new_selector
 execute unless entity @a[tag=mini_rank1] unless entity @a[tag=mini_rank2] unless entity @a[tag=mini_rank3] if entity @a[tag=mini_rank4] run tellraw @a[tag=!new_selector] ["",{"text": ">> ","color":"gold","bold": true},{"text":"轮到其他人选择奖励了!","color":"gold"}]
 
+execute unless entity @a[tag=new_selector] if entity @a[tag=selecting] run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"selector": "@a[tag=selecting]","color":"gold"}," 未选择奖励"]
+
 # 以玩家为对象开始执行
 execute as @a[tag=new_selector] run function ltw:state/7/next2
 execute unless entity @a[tag=new_selector] if score $game_type mem matches 1 if score $round mem matches 6.. run function ltw:main/game_end

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

@@ -1,4 +1,4 @@
-execute if score $countdown mem matches 101.. as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 2.5
-execute if score $countdown mem matches 61..100 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 4.5
-execute if score $countdown mem matches 2..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 6.5
-execute if score $countdown mem matches ..1 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 8.5
+execute if score $countdown mem matches 101.. as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 3
+execute if score $countdown mem matches 61..100 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 5
+execute if score $countdown mem matches 21..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 7
+execute if score $countdown mem matches ..20 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 9

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

@@ -18,20 +18,25 @@ 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
 
-# 加速
-execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "史莱姆的移动速度提高了!","color":"gold"}]
-execute if score $countdown mem matches ..40 run effect give @e[type=slime] speed 10 3
-
 # 召唤提示 2
-execute if score $countdown mem matches 25 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
-execute if score $countdown mem matches 25 as @a at @s run function lib:sounds/error
+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 20 run function mini:slime/game/summon
-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/teleport
+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
 
 # 属性提升 3
-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 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
+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
+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