Răsfoiți Sursa

平衡性调整

LTCatt 5 ani în urmă
părinte
comite
eb9d759e6d

+ 1 - 0
data/mini/functions/ass/game/clear_effect.mcfunction

@@ -0,0 +1 @@
+effect clear @a regeneration

+ 2 - 1
data/mini/functions/ass/game/give_creeper.mcfunction

@@ -4,4 +4,5 @@ clear @s creeper_spawn_egg{game_item:1b}
 execute if data entity @s Inventory[{Slot:-106b}] run scoreboard players set @s item_slot -106
 execute if data entity @s Inventory[{Slot:-106b}] at @s run function item:pop_slot/return_item
 
-replaceitem entity @s weapon.offhand creeper_spawn_egg{game_item:1b,display:{Name:'{"text":"苦力怕刷怪蛋","italic":false}'},EntityTag:{CustomName:'',ignited:1b,Fuse:40s,AbsorptionAmount:1000},CanPlaceOn:["#mini:creeper_block"],HideFlags:16} 1
+replaceitem entity @s weapon.offhand creeper_spawn_egg{game_item:1b,display:{Name:'{"text":"苦力怕刷怪蛋","italic":false}'},EntityTag:{CustomName:'',ignited:1b,Fuse:35s,AbsorptionAmount:1000},CanPlaceOn:["#mini:creeper_block"],HideFlags:16} 1
+function lib:sounds/hit

+ 2 - 2
data/mini/functions/ass/game_start.mcfunction

@@ -9,5 +9,5 @@ scoreboard players set $bossbar_color mem 3
 scoreboard players set $countdown_max mem 120
 scoreboard players set $bossbar_type mem 2
 function lib:bossbar/show
-bossbar set mini:blue name "剩余时间"
-bossbar set mini:red name "剩余时间"
+bossbar set mini:green name "剩余时间"
+bossbar set mini:red name "强制死亡模式"

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

@@ -9,7 +9,5 @@ execute if score $countdown mem matches 1 as @a at @s run function lib:sounds/dr
 execute if score $countdown mem matches ..0 run effect give @a[team=playing] wither 60 1 true
 
 # 回复生命值
-execute if score $foursec mem matches 1 run effect give @a[team=playing] regeneration 1 10 true
-execute if score $foursec mem matches 1 run schedule function mini:diamond/game/clear_effect 1t replace
-execute if score $foursec mem matches 3 run effect give @a[team=playing] regeneration 1 10 true
-execute if score $foursec mem matches 3 run schedule function mini:diamond/game/clear_effect 1t replace
+execute if score $countdown mem matches 1.. if score $foursec mem matches 1 run effect give @a[team=playing] regeneration 1 10 true
+execute if score $countdown mem matches 1.. if score $foursec mem matches 1 run schedule function mini:ass/game/clear_effect 1t replace