Explorar o código

重新计算漂浮时间

HerobrineXia %!s(int64=6) %!d(string=hai) anos
pai
achega
bc72c15f2a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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