瀏覽代碼

血量远古bug修复

HerobrineXia 6 年之前
父節點
當前提交
ba54e51e67
共有 1 個文件被更改,包括 0 次插入 和 2 次删除
  1. 0 2
      data/mini/functions/main/player_lose_heart.mcfunction

+ 0 - 2
data/mini/functions/main/player_lose_heart.mcfunction

@@ -3,7 +3,5 @@
 execute if score @s mini_heart matches 1.. run scoreboard players remove @s mini_heart 1
 execute if score @s mini_heart matches 1.. run scoreboard players remove @s mini_heart 1
 # 计算血量
 # 计算血量
 function mini:main/player_max_health
 function mini:main/player_max_health
-# 修改血量
-effect give @s minecraft:instant_health 1 0
 # 生命值归0判定失败
 # 生命值归0判定失败
 execute if score @s mini_heart matches 0 run function mini:main/player_failed
 execute if score @s mini_heart matches 0 run function mini:main/player_failed