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

+ 1 - 1
data/mini/functions/slime/game/set_attack.mcfunction

@@ -1 +1 @@
-execute as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 7
+execute as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 6

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

@@ -1,11 +1,10 @@
 # 向单个玩家展示小游戏介绍
 tp @s[tag=!debug] 1004.13 7.86 7003.00 -2922.38 12.84
-tellraw @s ["",{"text":"\n >> 夺命足球 >>\n\n","color":"gold","bold":true}," 将史莱姆踢到其他人的脸上, 其他人就是你的球门!\n"]
+tellraw @s ["",{"text":"\n >> 夺命足球 >>\n\n","color":"gold","bold":true}," 将史莱姆踢到其他人的脸上, 其他人就是你的球门!\n 史莱姆也会造成伤害, 站在绿宝石上恢复生命值……\n"]
 tellraw @s ["",{"text": " <积分制> ","color":"red","bold": true}, {"text":"击退史莱姆, 每撞到一个人获得一分。","color":"gray"}]
 tellraw @s ["",{"text": " <间接 PVP> ","color":"light_purple","bold": true}, {"text":"无法直接攻击他人, 但可以击退史莱姆撞击他人。","color":"gray"}]
 tellraw @s ["",{"text": " <提供补给> ","color":"aqua","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 ""
 
 effect give @s night_vision 1000000 0 true

+ 2 - 2
data/mini/functions/slime/tick20.mcfunction

@@ -9,5 +9,5 @@ execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds
 execute if score $countdown mem matches 0 run function mini:main/game_end
 
 # 回复生命值
-execute if score $twice mem matches 1 run effect give @a regeneration 1 10 true
-execute if score $twice mem matches 1 run schedule function mini:slime/game/clear_effect 1t replace
+execute as @a at @s if block ~ ~-1 ~ emerald_block run effect give @s regeneration 1 10 true
+execute as @a at @s if block ~ ~-1 ~ emerald_block run schedule function mini:slime/game/clear_effect 1t replace