Kaynağa Gözat

把弓发给了骷髅 :(

LTCatt 6 yıl önce
ebeveyn
işleme
13109f0700

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

@@ -4,11 +4,12 @@ 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 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"]}
+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
+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
+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
+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
+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
+tag @e[type=skeleton] add mini_mob
 
 tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "骷髅 ","color":"gold"},"已出现!"]
 

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

@@ -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 ..-8 run function mini:zombie/game/summon_evoker
+execute if score $random mem matches ..-8 run function mini:zombie/game/summon_skeleton