Przeglądaj źródła

修正cm传送坐标

LTCatt 6 lat temu
rodzic
commit
b335abb1e5

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

@@ -11,7 +11,7 @@ effect give @s resistance 1000000 4 true
 effect give @s slow_falling 1000000 0 true
 
 # 传送玩家
-tp @s[tag=!watcher,tag=!rejoining] 1062 20 4012
+tp @s[tag=!watcher,tag=!rejoining] 1062 16.5 4012
 
 # 调整模式
 gamemode spectator @s

+ 1 - 1
data/mini/functions/colormatch/player_intro.mcfunction

@@ -1,3 +1,3 @@
 # 向单个玩家展示小游戏介绍
-tp @s 1062 30 4012 0 180
+tp @s 1062 22 4012 20 180
 tellraw @s [{"text":"\n>> 陷阱迷阵 >>\n\n","color":"red","bold":true},{"text": "墙壁上会显示安全的歇脚方块,\n在倒计时结束前跑到它们上面以躲避陷阱!\n","color":"white","bold": false}]

+ 1 - 1
data/mini/functions/colormatch/player_lose_heart.mcfunction

@@ -5,4 +5,4 @@ tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":
 function mini:main/player_lose_heart
 
 # 拉回来
-execute if entity @s[tag=mini_running] run tp @s ~ 17 ~
+execute if entity @s[tag=mini_running] run tp @s ~ 17.5 ~

+ 1 - 1
data/mini/functions/colormatch/watcher_limit.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限定范围
 execute as @a[gamemode=spectator,x=1049,y=10,z=4025,dx=27,dz=27,dy=30] run spectate
-tp @a[gamemode=spectator,x=1049,y=10,z=4025,dx=27,dz=27,dy=30] 1062 30 4012 0 180
+tp @a[gamemode=spectator,x=1049,y=10,z=4025,dx=27,dz=27,dy=30] 1062 22 4012 20 180