Sfoglia il codice sorgente

调整回血速度

LTCatt 6 anni fa
parent
commit
22a28dc7f7
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      data/mini/functions/slime/tick20.mcfunction

+ 2 - 2
data/mini/functions/slime/tick20.mcfunction

@@ -9,5 +9,5 @@ execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds
 execute if score $countdown mem matches 0 run function mini:main/game_end
 execute if score $countdown mem matches 0 run function mini:main/game_end
 
 
 # 回复生命值
 # 回复生命值
-execute as @a at @s if block ~ ~-1 ~ emerald_block run effect give @s regeneration 1 10 true
-execute as @a at @s if block ~ ~-1 ~ emerald_block run schedule function mini:slime/game/clear_effect 1t replace
+execute as @a at @s if block ~ ~-1 ~ emerald_block run effect give @s regeneration 1 3
+# execute as @a at @s if block ~ ~-1 ~ emerald_block run schedule function mini:slime/game/clear_effect 1t replace