LTCatt 6 سال پیش
والد
کامیت
43f5d9db16

+ 1 - 0
data/mini/functions/main/player_death.mcfunction

@@ -1,3 +1,4 @@
 # 玩家死亡后触发
 execute if score $mini_type mem matches 5 run function mini:zombie/player_failed
 execute if score $mini_type mem matches 6 run function mini:phantom/player_failed
+execute if score $mini_type mem matches 7 run function mini:slime/player_failed

+ 1 - 1
data/mini/functions/slime/player_enter.mcfunction

@@ -21,4 +21,4 @@ gamemode adventure @s[tag=!watcher,tag=!rejoining,tag=!debug]
 execute if entity @s[tag=rejoining] run function mini:slime/player_failed
 
 # 给予物品
-replaceitem entity @s hotbar.8 stick{Enchantments:[{id:"knockback",lvl:1}],Unbreakable:1b,display:{Name:'{"text":"击退棒","italic":false}'}} 1
+replaceitem entity @s hotbar.8 stick{GameItem:1b,Enchantments:[{id:"knockback",lvl:1}],Unbreakable:1b,display:{Name:'{"text":"击退棒","italic":false}'}} 1

+ 3 - 1
data/mini/functions/slime/player_intro.mcfunction

@@ -5,4 +5,6 @@ tellraw @s ["",{"text": " <死亡淘汰制> ","color":"red","bold": true}, {"tex
 tellraw @s ["",{"text": " <间接 PVP> ","color":"light_purple","bold": true}, {"text":"无法直接攻击他人, 但可以击退史莱姆撞击他人。","color":"gray"}]
 tellraw @s ["",{"text": " <原型> ","color":"gold","bold": true}, {"text":"此游戏目前仅用于玩法测试, 尚未进行修缮。","color":"gray"}]
 tellraw @s ["",{"text": " <早期测试> ","color":"dark_red","bold": true}, {"text":"这是刚做出来的新游戏, 碰到什么见鬼问题都很正常!","color":"dark_red"}]
-tellraw @s ""
+tellraw @s ""
+
+effect give @s night_vision 1000000 0 true