LTCatt 5 years ago
parent
commit
388768fe57

+ 1 - 0
data/lib/functions/sounds/dragon_growl.mcfunction

@@ -0,0 +1 @@
+playsound minecraft:entity.ender_dragon.growl player @s 0 1000000 0 1000000

+ 1 - 1
data/mini/functions/diamond/player_death.mcfunction

@@ -5,5 +5,5 @@ function mini:diamond/game/respawn1
 # 复活特效
 execute as @a at @s run function lib:sounds/error
 effect give @s blindness 3 5 true
-effect give @s weakness 20 1
+effect give @s weakness 30 1
 give @s wooden_pickaxe

+ 4 - 2
data/mini/functions/diamond/tick20.mcfunction

@@ -6,8 +6,10 @@ execute if score $countdown mem matches ..10 run title @a title [""]
 execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds/hit2
 
 # 60s / 30s:雷达提示
-execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color": "aqua","bold": true},"玩家雷达将在 ",{"text": "30 秒","color": "aqua"}, "后开启!"]
-execute if score $countdown mem matches 30 run tellraw @a ["",{"text": ">> ","color": "aqua","bold": true},"玩家雷达已开启, 游戏将在 ",{"text": "30 秒","color": "aqua"}, "后结束!"]
+execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},"玩家雷达将在 ",{"text": "20 秒","color": "gold"}, "后开启!"]
+execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},"玩家雷达已开启, 游戏将在 ",{"text": "40 秒","color": "gold"}, "后结束!"]
+execute if score $countdown mem matches 40 as @a run function lib:sounds/dragon_growl
+execute if score $countdown mem matches 40 as @a run function lib:sounds/music/mini_middle
 
 # 0s:游戏结束
 execute if score $countdown mem matches 0 run function mini:main/game_end

+ 2 - 2
data/mini/functions/diamond/tick5.mcfunction

@@ -1,8 +1,8 @@
 
 # 更新钻石数量
 execute as @a[team=playing] store result score @s diamond run clear @s diamond 0
-execute if score $countdown mem matches ..30 run effect give @a glowing 2 0
-effect give @a[scores={diamond=1..}] glowing 2 0
+execute if score $countdown mem matches ..40 run effect give @a glowing 1000000 0
+effect give @a[scores={diamond=1..}] glowing 5 0
 
 # 显示提示
 execute as @a[scores={diamond=1..},tag=!diamond_got] run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s"},{"text":" 获得了闪闪发光的钻石!","color":"aqua"}]