Ver Fonte

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

HerobrineXia há 6 anos atrás
pai
commit
a4a7f47a16

+ 2 - 0
data/lib/functions/random.mcfunction

@@ -8,3 +8,5 @@ scoreboard players operation $random_max mem -= $random_min mem
 scoreboard players add $random_max mem 1
 scoreboard players operation $random mem %= $random_max mem
 scoreboard players operation $random mem += $random_min mem
+
+# TODO : 重置血量上限

+ 1 - 1
data/ltw/functions/state/4/player_enter.mcfunction

@@ -12,5 +12,5 @@ effect give @s night_vision 1000000 0 true
 function mini:main/player_intro
 
 # 自由旁观
-gamemode spectator @s
+gamemode spectator
 spectate

+ 0 - 4
data/ltw/functions/state/5/player_enter.mcfunction

@@ -1,6 +1,2 @@
 # 对单个玩家的处理(如果玩家中途加入就会执行此函数)
-gamemode creative
-title @s clear
-
-# 使用小游戏的其他项目
 function mini:main/player_enter

+ 4 - 3
data/ltw/functions/state/7/player_enter.mcfunction

@@ -1,6 +1,6 @@
 # 对单个玩家的处理(如果玩家中途加入就会执行此函数)
-title @s clear
 gamemode creative
+title @s clear
 
 # 状态效果
 effect clear @s
@@ -12,5 +12,6 @@ effect give @s resistance 1000000 4 true
 # 传送玩家
 tp @s 7.0 11.4 2007.0 0 0
 
-# 调整模式
-gamemode spectator
+# 自由旁观
+gamemode spectator
+spectate

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

@@ -1,6 +1,6 @@
 # 单个玩家开始小游戏时执行
-title @s clear
 gamemode creative
+title @s clear
 
 # 状态效果
 effect clear @s

+ 1 - 1
data/mini/functions/parkour/player_enter.mcfunction

@@ -1,6 +1,6 @@
 # 单个玩家开始小游戏时执行
-title @s clear
 gamemode creative
+title @s clear
 
 # 状态效果
 effect clear @s

+ 1 - 1
data/mini/functions/tntrun/player_enter.mcfunction

@@ -1,6 +1,6 @@
 # 单个玩家开始小游戏时执行
-title @s clear
 gamemode creative
+title @s clear
 
 # 状态效果
 effect clear @s