LTCatt há 6 anos atrás
pai
commit
a08f797345

+ 3 - 5
data/mini/functions/phantom/game/summon2.mcfunction

@@ -2,15 +2,13 @@
 execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
 
 # 随机生命值
-scoreboard players set $random_min mem 0
-scoreboard players set $random_max mem 4
+scoreboard players set $random_min mem 1
+scoreboard players set $random_max mem 3
 function lib:random
-execute if score $random mem matches 0 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 2
 execute if score $random mem matches 1 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 3
 execute if score $random mem matches 2 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 4
 execute if score $random mem matches 3 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 5
-execute if score $random mem matches 4 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 6
 
-attribute @e[tag=new_phantom,limit=1] generic.attack_damage base set 4
+attribute @e[tag=new_phantom,limit=1] generic.attack_damage base set 5
 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 28
+scoreboard players set @s countdown_fast 20
 scoreboard players reset @s use_trident
 
 # 清除三叉戟以防bug