Explorar el Código

修复幻翼生成

LTCatt hace 6 años
padre
commit
84b892402a

+ 2 - 2
data/mini/functions/phantom/game/summon.mcfunction

@@ -2,6 +2,6 @@
 
 summon phantom 1030 255 6030 {Tags:["new_phantom"]}
 spreadplayers 1030 6030 20 20 false @e[tag=new_phantom]
-tp @e[tag=new_phantom] ~ 50 ~
-attribute @e[tag=new_phantom,limit=1] generic.max_health base set 1
+tp @e[tag=new_phantom] ~ 35 ~
+attribute @e[tag=new_phantom,limit=1] generic.max_health base set 8
 tag @e[tag=new_phantom] remove new_phantom

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

@@ -1,5 +1,5 @@
 
-execute if score $countdown mem matches ..10 run function mini:phantom/game/try_summon
+execute if score $countdown mem matches 11.. run function mini:phantom/game/try_summon
 
 # 显示倒计时
 execute if score $countdown mem matches ..10 run title @a times 3 14 2