LTCatt 6 년 전
부모
커밋
c289e9ad32
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      data/mini/functions/phantom/tick5.mcfunction

+ 2 - 0
data/mini/functions/phantom/tick5.mcfunction

@@ -1,5 +1,7 @@
 
 
 # 击杀音效与提示
 # 击杀音效与提示
+execute as @a run scoreboard players operation @s temp = @s kill_phantom
+execute as @a run scoreboard players operation @s temp -= @s kill_phantom2
 execute as @a run scoreboard players operation @s kill_phantom2 = @s kill_phantom
 execute as @a run scoreboard players operation @s kill_phantom2 = @s kill_phantom
 execute as @a run scoreboard players operation @s kill_phantom2 %= #const_5 mem
 execute as @a run scoreboard players operation @s kill_phantom2 %= #const_5 mem
 execute as @a[scores={temp=1..,kill_phantom2=1..}] run function lib:sounds/hit
 execute as @a[scores={temp=1..,kill_phantom2=1..}] run function lib:sounds/hit