@@ -1 +1 @@
-playsound minecraft:entity.creeper.primed ambient @s
+playsound minecraft:entity.creeper.primed ambient @a ~ ~ ~ 0.4
@@ -1,5 +1,5 @@
# 造成伤害时由玩家触发
-advancement revoke @s only mini:hotpm/game/damage_dealt
+advancement revoke @s only mini:hotpm/damage_dealt
# 如果是土豆持有者在热土豆游戏中打到人,才执行下一步
execute as @s[tag=pm_hoding] at @s if score $state mem matches 5 if score $mini_type mem matches 3 run function mini:hotpm/game/damage_dealt2
# 受到伤害时由玩家触发
-advancement revoke @s only mini:hotpm/game/damage_taken
+advancement revoke @s only mini:hotpm/damage_taken
# 添加受伤 Tag
execute if score $state mem matches 5 if score $mini_type mem matches 3 run tag @s add pm_damage_taken
@@ -1,3 +1,3 @@
# 向单个玩家展示小游戏介绍
-tp @s 1022 29 3038 180 0
+tp @s 1022 25 3038 180 20
tellraw @s [{"text":"\n>> 热土豆 >>\n\n","color":"red","bold":true},{"text": "有一个人会被土豆附身, 攻击他人就能将土豆转移到其他人上!\n在土豆爆炸之前努力生存吧!\n","color":"white","bold": false}]
@@ -1,5 +1,6 @@
# 土豆倒计时
-execute if score $countdown_fast mem matches 1.. run title @a actionbar [{"text":"土豆爆炸: ","color":"red","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+title @a[tag=pm_hoding] actionbar [{"text":"土豆爆炸: ","color":"red","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+title @a[tag=!pm_hoding] 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/game/pm_boom