LTCatt 5 лет назад
Родитель
Сommit
d692b78fdf

+ 0 - 1
data/ltw/functions/state/5/state_enter.mcfunction

@@ -1,6 +1,5 @@
 # 要求系统进入状态 5(小游戏进行中)
 scoreboard players set $state mem 5
-say 0
 execute as @a run function ltw:state/5/player_enter
 
 # 调用游戏开始

+ 2 - 3
data/mini/functions/diamond/player_enter.mcfunction

@@ -1,14 +1,13 @@
 # 单个玩家开始小游戏时执行
 # TODO: 让 BGM 支持循环播放
-say 3
 function lib:sounds/music/mini_slow
 title @s clear
 title @s actionbar ""
 
 # 触发复活
 function mini:diamond/player_death
-effect give @s slowness 0
-effect give @s blindness 0
+effect clear @s slowness
+effect clear @s blindness
 
 # 设置玩家生命
 attribute @s generic.max_health base set 20

+ 0 - 2
data/mini/functions/main/player_enter.mcfunction

@@ -9,8 +9,6 @@ function mini:main/update_player_count
 
 clear @s #mini:game_item{game_item:1b}
 
-say 1
-execute if score $mini_type mem matches 6 run say 2
 execute if score $mini_type mem matches 1 run function mini:parkour/player_enter
 execute if score $mini_type mem matches 2 run function mini:tntrun/player_enter
 execute if score $mini_type mem matches 3 run function mini:hotpm/player_enter