|
@@ -3,15 +3,15 @@
|
|
|
tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 爆炸了!"]
|
|
tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 爆炸了!"]
|
|
|
# 玩家失去土豆
|
|
# 玩家失去土豆
|
|
|
function mini:hotpm/game/pm_lost
|
|
function mini:hotpm/game/pm_lost
|
|
|
|
|
+
|
|
|
|
|
+# 增加tag
|
|
|
|
|
+tag @s add pm_explode_last
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
# 特效
|
|
# 特效
|
|
|
summon minecraft:creeper ~ ~-1 ~ {ignited:1,ExplosionRadius:1,Fuse:0,Invulnerable:1}
|
|
summon minecraft:creeper ~ ~-1 ~ {ignited:1,ExplosionRadius:1,Fuse:0,Invulnerable:1}
|
|
|
particle minecraft:explosion ~ ~1 ~ 0.4 0.4 0.4 0 5
|
|
particle minecraft:explosion ~ ~1 ~ 0.4 0.4 0.4 0 5
|
|
|
-# 记录位置
|
|
|
|
|
-summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["pm_boom"]}
|
|
|
|
|
# 减少生命
|
|
# 减少生命
|
|
|
function mini:main/player_lose_heart
|
|
function mini:main/player_lose_heart
|
|
|
-# 最远的人新土豆
|
|
|
|
|
-execute if score $player_alive mem matches 2.. as @e[type=area_effect_cloud,tag=pm_boom] at @s as @a[sort=furthest,tag=mini_running,tag=!watcher,limit=1] run function mini:hotpm/game/pm_init
|
|
|
|
|
-
|
|
|
|
|
# 强制观战
|
|
# 强制观战
|
|
|
# execute at @s as @a[gamemode=spectator,distance=..0.1] run spectate @p[tag=pm_holding]
|
|
# execute at @s as @a[gamemode=spectator,distance=..0.1] run spectate @p[tag=pm_holding]
|