LTCatt 6 lat temu
rodzic
commit
e482f50b19

+ 1 - 1
data/ltw/functions/state/0/change_classic.mcfunction

@@ -1,5 +1,5 @@
 # 切换为经典模式
-execute if score $game_type mem matches 1 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": " 经典模式","color":"aqua"}]
+execute if score $game_type mem matches 1 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "经典模式","color":"aqua"}]
 scoreboard players set $game_type mem 0
 execute as @a at @s run function lib:sounds/teleport
 function ltw:state/0/refresh_game_type

+ 1 - 1
data/ltw/functions/state/0/change_gameparty.mcfunction

@@ -1,5 +1,5 @@
 # 切换为小游戏模式
-execute if score $game_type mem matches 0 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": " 小游戏模式","color":"aqua"}]
+execute if score $game_type mem matches 0 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},"游戏模式已切换为 ",{"text": "小游戏模式","color":"aqua"}]
 scoreboard players set $game_type mem 1
 execute as @a at @s run function lib:sounds/teleport
 function ltw:state/0/refresh_game_type

+ 1 - 1
data/ltw/functions/state/0/tick20.mcfunction

@@ -7,4 +7,4 @@ execute if score $countdown mem matches 1.. run title @a times 3 14 2
 execute if score $countdown mem matches 1.. run title @a subtitle {"score":{"name":"$countdown","objective":"mem"}}
 execute if score $countdown mem matches 1.. if score $game_type mem matches 0 run title @a title ["经典模式"]
 execute if score $countdown mem matches 1.. if score $game_type mem matches 1 run title @a title ["小游戏模式"]
-execute if score $countdown mem matches 1.. run execute as @a at @s run function lib:sounds/hit2
+execute if score $countdown mem matches 1..9 run execute as @a at @s run function lib:sounds/hit2

+ 2 - 1
data/ltw/functions/state/0/try_start_game.mcfunction

@@ -1,3 +1,4 @@
 # 尝试开始任意游戏
 
-execute if score $countdown mem matches 0 run scoreboard players set $countdown mem 11
+execute if score $countdown mem matches 0 run scoreboard players set $countdown mem 10
+function ltw:state/0/tick20