ソースを参照

重新计算漂浮时间

HerobrineXia 6 年 前
親
コミット
bc72c15f2a
1 ファイル変更、2 行追加、2 行削除
  1. 2 2
      data/ltw/functions/clock/tick2.mcfunction

+ 2 - 2
data/ltw/functions/clock/tick2.mcfunction

@@ -21,8 +21,8 @@ scoreboard players remove @e[scores={countdown_fast=1..}] countdown_fast 1
 
 # 特殊方块给予效果
 execute as @a[gamemode=!spectator] if score @s effect_floating matches 1.. run scoreboard players add @s effect_floating 1
-execute as @a[gamemode=!spectator] if score @s effect_floating matches 11.. run effect clear @s levitation
-execute as @a[gamemode=!spectator] if score @s effect_floating matches 11.. run scoreboard players set @s effect_floating 0
+execute as @a[gamemode=!spectator] if score @s effect_floating matches 6.. run effect clear @s levitation
+execute as @a[gamemode=!spectator] if score @s effect_floating matches 6.. run scoreboard players set @s effect_floating 0
 execute as @a[gamemode=!spectator] at @s if block ~ ~-1 ~ diamond_block run scoreboard players set @s effect_floating 1
 execute as @a[gamemode=!spectator] at @s if block ~ ~-1 ~ diamond_block run effect give @s levitation 1 12 true
 execute as @a[gamemode=!spectator] at @s if block ~ ~-1 ~ diamond_block run effect give @s slow_falling 2 0 true