Просмотр исходного кода

Merge branch 'master' of https://github.com/LTCatt/LTW3

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

+ 3 - 0
data/mini/functions/hotpm/player_enter.mcfunction

@@ -22,6 +22,9 @@ execute if entity @s[tag=!watcher,tag=!rejoining] run schedule function mini:hot
 gamemode spectator @s
 gamemode adventure @s[tag=!watcher,tag=!rejoining]
 
+# 设置玩家生命数量
+scoreboard players set @s mini_heart 3
+
 # 3秒后给予土豆
 execute if entity @s[tag=!watcher,tag=!rejoining] run schedule function mini:hotpm/pm_init_first 3s replace
 # TODO 灭火无效

+ 1 - 1
data/mini/functions/hotpm/player_failed.mcfunction

@@ -1,2 +1,2 @@
 # 玩家失败时由玩家自己触发
-function mini:main/player_failed
+function mini:main/player_lose_heart