HerobrineXia преди 6 години
родител
ревизия
330ce4912a
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 2 1
      data/mini/functions/main/damage_dealt.mcfunction
  2. 2 0
      data/mini/functions/slime/game/damage_dealt.mcfunction

+ 2 - 1
data/mini/functions/main/damage_dealt.mcfunction

@@ -1,2 +1,3 @@
 # 检测分数调用对应函数
-execute if score $mini_type mem matches 3 run function mini:hotpm/game/damage_dealt
+execute if score $mini_type mem matches 3 run function mini:hotpm/game/damage_dealt
+execute if score $mini_type mem matches 7 run function mini:slime/game/damage_dealt

+ 2 - 0
data/mini/functions/slime/game/damage_dealt.mcfunction

@@ -0,0 +1,2 @@
+say 我打了个东西
+tellraw @a [{"text":"我打的的是:"},{"selector": "@e[type=slime,nbt={HurtTime:10s}]"}]