LTCatt пре 6 година
родитељ
комит
e7a8ca3d3d
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      data/mini/functions/hotpm/tick2.mcfunction

+ 3 - 2
data/mini/functions/hotpm/tick2.mcfunction

@@ -1,7 +1,8 @@
 # 土豆倒计时
 title @a[tag=pm_hoding] actionbar [{"text":"土豆爆炸: ","color":"red","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
-execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=..5] actionbar [{"text":"土豆爆炸: ","color":"yellow","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
-execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=5..] actionbar [{"text":"土豆爆炸: ","color":"green","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=..5] actionbar [{"text":"土豆爆炸: ","color":"gold","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=5..9] actionbar [{"text":"土豆爆炸: ","color":"yellow","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=9..] actionbar [{"text":"土豆爆炸: ","color":"green","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
 
 # 爆炸
 execute if score $countdown_fast mem matches 0 as @a[tag=pm_hoding] at @s run function mini:hotpm/player_lose_heart