LTCatt %!s(int64=5) %!d(string=hai) anos
pai
achega
f117fa4dcc

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

@@ -3,7 +3,7 @@ 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 blindness 3 0 true
 
 # 处理玩家掉落物品
 execute at @s as @e[type=item,distance=..100] store result score @s temp run data get entity @s Age

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

@@ -9,10 +9,10 @@ execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds
 execute if score $countdown mem matches 170 run scoreboard players set @a music_time 999
 
 # 90s / 60s:雷达提示
-execute if score $countdown mem matches 90 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},"玩家雷达将在 ",{"text": "30 秒 ","color": "gold"}, "后开启!"]
+execute if score $countdown mem matches 90 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},{"text":"玩家雷达将在 ","color": "gold"}, "30 秒 ",{"text": "后开启!","color": "gold"}]
 execute if score $countdown mem matches 90 run scoreboard players set $bossbar_color mem 2
 execute if score $countdown mem matches 90 run function lib:bossbar/show
-execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},"玩家雷达已开启, 游戏将在 ",{"text": "60 秒 ","color": "gold"}, "后结束!"]
+execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color": "gold","bold": true},{"text": "玩家雷达已开启, 游戏将在 ","color": "gold"},"60 秒 ", {"text": "后结束!","color": "gold"}]
 execute if score $countdown mem matches 60 as @a run function lib:sounds/music/mini_fast
 execute if score $countdown mem matches 60 run scoreboard players set $bossbar_color mem 1
 execute if score $countdown mem matches 60 run function lib:bossbar/show

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

@@ -1,11 +1,11 @@
 
 # 更新钻石数量
 execute as @a[team=playing] store result score @s diamond run clear @s diamond 0
-execute if score $countdown mem matches ..40 run effect give @a glowing 1000000 0 true
+execute if score $countdown mem matches ..60 run effect give @a glowing 1000000 0 true
 # effect give @a[scores={diamond=1..}] glowing 5 0 true
 
 # 显示提示
-execute as @a[scores={diamond=1..},tag=!diamond_got,x=1000,y=0,z=1000,dx=32,dy=252,dz=32] run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s"},{"text":" 获得了闪闪发光的钻石!","color":"aqua"}]
-execute as @a[scores={diamond=1..},tag=!diamond_got,x=1000,y=0,z=1000,dx=32,dy=252,dz=32] as @a[distance=1..] run function lib:sounds/hit
+execute as @a[scores={diamond=1..},tag=!diamond_got,x=1000,y=0,z=5000,dx=32,dy=253,dz=32] run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s"},{"text":" 获得了闪闪发光的钻石!","color":"aqua"}]
+execute as @a[scores={diamond=1..},tag=!diamond_got,x=1000,y=0,z=5000,dx=32,dy=253,dz=32] as @a run function lib:sounds/hit
 tag @a remove diamond_got
 tag @a[scores={diamond=1..}] add diamond_got