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

+ 6 - 6
data/mini/functions/zombie/game/summon_evoker.mcfunction

@@ -4,13 +4,13 @@ scoreboard players set $random_min mem 0
 scoreboard players set $random_max mem 4
 function lib:random
 
-execute if score $random mem matches 0 positioned 1019.0 20.1 5002.0 unless entity @e[tag=mini_mob,distance=..1] run summon evoker ~ ~ ~ {Tags:["mini_mob"]}
-execute if score $random mem matches 1 positioned 1002.0 19.1 5016.0 unless entity @e[tag=mini_mob,distance=..1] run summon evoker ~ ~ ~ {Tags:["mini_mob"]}
-execute if score $random mem matches 2 positioned 1019.0 13.1 5013.0 unless entity @e[tag=mini_mob,distance=..1] run summon evoker ~ ~ ~ {Tags:["mini_mob"]}
-execute if score $random mem matches 3 positioned 1002.0 13.1 5024.0 unless entity @e[tag=mini_mob,distance=..1] run summon evoker ~ ~ ~ {Tags:["mini_mob"]}
-execute if score $random mem matches 4 positioned 1002.0 13.1 5002.0 unless entity @e[tag=mini_mob,distance=..1] run summon evoker ~ ~ ~ {Tags:["mini_mob"]}
+execute if score $random mem matches 0 positioned 1019.0 20.1 5002.0 unless entity @e[tag=mini_mob,distance=..1] run summon skeleton ~ ~ ~ {Tags:["mini_mob"]}
+execute if score $random mem matches 1 positioned 1002.0 19.1 5016.0 unless entity @e[tag=mini_mob,distance=..1] run summon skeleton ~ ~ ~ {Tags:["mini_mob"]}
+execute if score $random mem matches 2 positioned 1019.0 13.1 5013.0 unless entity @e[tag=mini_mob,distance=..1] run summon skeleton ~ ~ ~ {Tags:["mini_mob"]}
+execute if score $random mem matches 3 positioned 1002.0 13.1 5024.0 unless entity @e[tag=mini_mob,distance=..1] run summon skeleton ~ ~ ~ {Tags:["mini_mob"]}
+execute if score $random mem matches 4 positioned 1002.0 13.1 5002.0 unless entity @e[tag=mini_mob,distance=..1] run summon skeleton ~ ~ ~ {Tags:["mini_mob"]}
 
-tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "唤魔者 ","color":"gold"},"已出现!"]
+tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "骷髅 ","color":"gold"},"已出现!"]
 
 # 提高追踪范围
 execute as @e[type=evoker] run attribute @s generic.follow_range base set 35

+ 3 - 1
data/mini/functions/zombie/player_failed.mcfunction

@@ -1,3 +1,5 @@
 # 玩家死亡时由玩家自己触发
-effect give @s night_vision 1000000 0 true
 function mini:main/player_failed
+
+# 给死亡玩家加夜视
+effect give @s night_vision 1000000 0 true

+ 3 - 3
data/mini/functions/zombie/tick20.mcfunction

@@ -6,10 +6,10 @@ scoreboard players set $random_min mem 0
 scoreboard players set $random_max mem 100
 function lib:random
 scoreboard players operation $random mem += $zombie_luck mem
-execute if score $random mem matches 80.. run scoreboard players remove $zombie_luck mem 1
+execute if score $random mem matches 75.. run scoreboard players remove $zombie_luck mem 1
 
 # 清理恼鬼
-execute if score $random mem matches 60.. run tp @e[type=vex,limit=1,sort=random] ~ -100 ~
+execute if score $random mem matches 40.. run tp @e[type=vex,limit=1,sort=random] ~ -100 ~
 
 # 赋予随机效果
 effect give @e[type=husk,limit=1,sort=random] speed 1 1
@@ -19,4 +19,4 @@ effect give @e[type=zombie,limit=1,sort=random] slowness 2 1
 
 # 召唤怪物
 execute if score $random mem matches -5..5 run function mini:zombie/game/summon_zombie
-execute if score $random mem matches ..-12 run function mini:zombie/game/summon_evoker
+execute if score $random mem matches ..-8 run function mini:zombie/game/summon_evoker