LTCatt 6 лет назад
Родитель
Сommit
bfa4cdc0f3

+ 1 - 1
data/mini/functions/phantom/game/give_trident.mcfunction

@@ -1,2 +1,2 @@
 clear @s trident{GameItem:1b}
-replaceitem entity @s hotbar.8 trident{Damage:248,GameItem:1b,Unbreakable:1b,display:{Name:'{"text":"补给用三叉戟","italic":false}'}} 1
+replaceitem entity @s hotbar.8 trident{Damage:248,GameItem:1b,display:{Name:'{"text":"补给用三叉戟","italic":false}'}} 1

+ 1 - 1
data/mini/functions/phantom/game/summon2.mcfunction

@@ -1,6 +1,6 @@
 
 execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
-attribute @e[tag=new_phantom,limit=1] generic.max_health base set 6
+attribute @e[tag=new_phantom,limit=1] generic.max_health base set 4
 attribute @e[tag=new_phantom,limit=1] generic.attack_damage base set 1.6
 effect give @e[tag=new_phantom] instant_damage
 tag @e[tag=new_phantom] remove new_phantom

+ 1 - 1
data/mini/functions/phantom/game/use_trident.mcfunction

@@ -1,5 +1,5 @@
 # 设置玩家分数
-scoreboard players set @s countdown_fast 30
+scoreboard players set @s countdown_fast 25
 scoreboard players reset @s use_trident
 
 # 清除三叉戟以防bug

+ 1 - 1
data/mini/functions/phantom/player_failed.mcfunction

@@ -3,5 +3,5 @@
 gamemode spectator
 tp @s[tag=!debug] 1062.34 27.11 6040.84 461.44 28.30
 tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"selector": "@s","color":"red"}," 已死亡!"]
-execute at @s run function lib:sounds/error
+execute as @a at @s run function lib:sounds/error
 execute unless entity @a[gamemode=adventure] run function mini:main/game_end