2
0
Эх сурвалжийг харах

跑酷改为蓝色奖励;调整多个游戏的平衡度

LTCatt 6 жил өмнө
parent
commit
430e1a20c2

+ 1 - 2
data/ltw/functions/main/player_leave.mcfunction

@@ -14,5 +14,4 @@ execute if score $state mem matches 5 if score $mini_type mem matches 3 run func
 # FIXME : <! 紧急> 跑酷中途掉线导致名次判断错误
 # FIXME : <! 紧急> [010] 物品依然可能给不到人
 # FIXME : [010/HIM] 关闭原版进度,它会给玩家经验值什么的很烦
-# TODO : [LTCat] 最后一轮的道具只给分数
-# TODO : [010/HIM] 降低跑酷吃分难度
+# TODO : [LTCat] 最后一轮的道具只给分数

+ 3 - 3
data/mini/functions/colormatch/game/generate_parts.mcfunction

@@ -13,9 +13,9 @@ execute if score $floor_generate_part mem matches 9 positioned 1000 10 4000 run
 execute if score $floor_generate_part mem matches 10 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_10",integrity:0.1f}
 execute if score $floor_generate_part mem matches 11 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_11",integrity:0.09090909090909091f}
 execute if score $floor_generate_part mem matches 12 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_12",integrity:0.08333333333333333f}
-execute if score $floor_generate_part mem matches 13 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_13",integrity:0.07692307692307693f}
-execute if score $floor_generate_part mem matches 14 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_14",integrity:0.07142857142857142f}
-execute if score $floor_generate_part mem matches 15 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_15",integrity:0.06666666666666667f}
+# execute if score $floor_generate_part mem matches 13 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_13",integrity:0.07692307692307693f}
+# execute if score $floor_generate_part mem matches 14 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_14",integrity:0.07142857142857142f}
+# execute if score $floor_generate_part mem matches 15 positioned 1000 10 4000 run setblock ~ ~ ~ minecraft:structure_block{posX:1,mode:"LOAD",name:"mini:color_match/color_15",integrity:0.06666666666666667f}
 setblock 1000 9 4000 redstone_block
 setblock 1000 9 4000 air
 setblock 1000 10 4000 air

+ 3 - 3
data/mini/functions/colormatch/game/get_random_floor.mcfunction

@@ -16,6 +16,6 @@ execute positioned 1001 10 4000 if score $color_match_floor mem matches 9 run cl
 execute positioned 1001 10 4000 if score $color_match_floor mem matches 10 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered emerald_block
 execute positioned 1001 10 4000 if score $color_match_floor mem matches 11 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered prismarine
 execute positioned 1001 10 4000 if score $color_match_floor mem matches 12 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered soul_soil
-execute positioned 1001 10 4000 if score $color_match_floor mem matches 13 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered packed_ice
-execute positioned 1001 10 4000 if score $color_match_floor mem matches 14 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered white_wool
-execute positioned 1001 10 4000 if score $color_match_floor mem matches 15 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered diamond_block
+# execute positioned 1001 10 4000 if score $color_match_floor mem matches 13 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered packed_ice
+# execute positioned 1001 10 4000 if score $color_match_floor mem matches 14 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered white_wool
+# execute positioned 1001 10 4000 if score $color_match_floor mem matches 15 run clone ~ ~ ~ ~24 ~ ~24 ~ ~1 ~ filtered diamond_block

+ 1 - 1
data/mini/functions/colormatch/game/newarray.mcfunction

@@ -1,4 +1,4 @@
-scoreboard players set $randarray_max mem 15
+scoreboard players set $randarray_max mem 12
 scoreboard players operation $randarray_last mem = $color_match_floor mem
 function lib:randarray/call
 data modify storage ltw:mini colormatch.types set from storage lib:randarray out

+ 1 - 1
data/mini/functions/colormatch/game/prepare_round.mcfunction

@@ -2,4 +2,4 @@
 function mini:colormatch/game/generate_floor
 
 # 获取保留地板
-schedule function mini:colormatch/game/get_random_floor 16t replace
+schedule function mini:colormatch/game/get_random_floor 13t replace

+ 12 - 12
data/mini/functions/colormatch/game/replace_wall.mcfunction

@@ -46,15 +46,15 @@ execute if score $color_match_floor mem matches 12 run fill 1075 11 3999 1075 40
 execute if score $color_match_floor mem matches 12 run fill 1075 11 3999 1049 40 3999 soul_soil
 execute if score $color_match_floor mem matches 12 run fill 1049 11 3999 1049 40 4025 soul_soil
 execute if score $color_match_floor mem matches 12 run fill 1049 11 4025 1075 40 4025 soul_soil
-execute if score $color_match_floor mem matches 13 run fill 1075 11 3999 1075 40 4025 packed_ice
-execute if score $color_match_floor mem matches 13 run fill 1075 11 3999 1049 40 3999 packed_ice
-execute if score $color_match_floor mem matches 13 run fill 1049 11 3999 1049 40 4025 packed_ice
-execute if score $color_match_floor mem matches 13 run fill 1049 11 4025 1075 40 4025 packed_ice
-execute if score $color_match_floor mem matches 14 run fill 1075 11 3999 1075 40 4025 white_wool
-execute if score $color_match_floor mem matches 14 run fill 1075 11 3999 1049 40 3999 white_wool
-execute if score $color_match_floor mem matches 14 run fill 1049 11 3999 1049 40 4025 white_wool
-execute if score $color_match_floor mem matches 14 run fill 1049 11 4025 1075 40 4025 white_wool
-execute if score $color_match_floor mem matches 15 run fill 1075 11 3999 1075 40 4025 diamond_block
-execute if score $color_match_floor mem matches 15 run fill 1075 11 3999 1049 40 3999 diamond_block
-execute if score $color_match_floor mem matches 15 run fill 1049 11 3999 1049 40 4025 diamond_block
-execute if score $color_match_floor mem matches 15 run fill 1049 11 4025 1075 40 4025 diamond_block
+# execute if score $color_match_floor mem matches 13 run fill 1075 11 3999 1075 40 4025 packed_ice
+# execute if score $color_match_floor mem matches 13 run fill 1075 11 3999 1049 40 3999 packed_ice
+# execute if score $color_match_floor mem matches 13 run fill 1049 11 3999 1049 40 4025 packed_ice
+# execute if score $color_match_floor mem matches 13 run fill 1049 11 4025 1075 40 4025 packed_ice
+# execute if score $color_match_floor mem matches 14 run fill 1075 11 3999 1075 40 4025 white_wool
+# execute if score $color_match_floor mem matches 14 run fill 1075 11 3999 1049 40 3999 white_wool
+# execute if score $color_match_floor mem matches 14 run fill 1049 11 3999 1049 40 4025 white_wool
+# execute if score $color_match_floor mem matches 14 run fill 1049 11 4025 1075 40 4025 white_wool
+# execute if score $color_match_floor mem matches 15 run fill 1075 11 3999 1075 40 4025 diamond_block
+# execute if score $color_match_floor mem matches 15 run fill 1075 11 3999 1049 40 3999 diamond_block
+# execute if score $color_match_floor mem matches 15 run fill 1049 11 3999 1049 40 4025 diamond_block
+# execute if score $color_match_floor mem matches 15 run fill 1049 11 4025 1075 40 4025 diamond_block

+ 3 - 1
data/mini/functions/colormatch/game/start_new_round.mcfunction

@@ -5,7 +5,7 @@ execute positioned 1001 10 4000 run clone ~ ~ ~ ~24 ~ ~24 1050 15 4000
 
 # 设置倒计时
 execute if score $color_match_time mem matches 37.. run scoreboard players remove $color_match_time mem 5
-execute if score $color_match_time mem matches 15..36 run scoreboard players remove $color_match_time mem 1
+execute if score $color_match_time mem matches 14..36 run scoreboard players remove $color_match_time mem 1
 scoreboard players operation $countdown_fast mem = $color_match_time mem
 
 # 重置分数
@@ -13,6 +13,8 @@ scoreboard players set $color_match_type mem 0
 
 # 拉玩家下来
 execute as @a[tag=color_match_fall] at @s run tp @s ~ 17 ~
+execute if entity @a[tag=color_match_fall] run scoreboard players add $countdown_fast mem 5
 tag @a[tag=color_match_fall] remove color_match_fall
+
 # 告知玩家
 execute as @a at @s run function lib:sounds/hit

+ 1 - 1
data/mini/functions/colormatch/game_init.mcfunction

@@ -18,7 +18,7 @@ scoreboard players set $color_match_type mem 0
 
 # 刷新地基
 function mini:colormatch/game/prepare_round
-schedule function mini:colormatch/game_init2 18t replace
+schedule function mini:colormatch/game_init2 13t replace
 
 # 清理残余实体
 kill @e[type=arrow]

+ 1 - 1
data/mini/functions/parkour/game_init.mcfunction

@@ -17,7 +17,7 @@ kill @e[type=trident]
 
 # 生成奖励物品
 execute positioned 1004.5 18.5 1043.5 run function item:bonus_item/gameparty/normal/white
-execute positioned 1024.5 30.5 1038.5 run function item:bonus_item/gameparty/last/green
+execute positioned 1024.5 30.5 1038.5 run function item:bonus_item/gameparty/normal/blue
 
 # 初始化开门变量
 scoreboard players set $parkour_door mem 0

+ 1 - 1
data/mini/functions/parkour/game_start.mcfunction

@@ -1,2 +1,2 @@
 # 强制开门倒计时
-scoreboard players set $countdown mem 150
+scoreboard players set $countdown mem 120

+ 2 - 3
data/mini/functions/parkour/player_intro.mcfunction

@@ -1,8 +1,7 @@
 # 向单个玩家展示小游戏介绍
-tp @s 1027.56 18.03 1046.89 13.48 4.84
+tp @s 1010.96 26.83 1032.37 -385.24 16.67
 tellraw @s ["",{"text":"\n >> 旅途 >>\n\n","color":"red","bold":true}," 沿途前进, 到达终点, 获得胜利!\n"]
 tellraw @s ["",{"text": " <完成制> ","color":"red","bold": true}, {"text":"根据完成跑酷的速度快慢决定排名。","color":"gray"}]
 tellraw @s ["",{"text": " <和平环境> ","color":"light_purple","bold": true}, {"text":"无法攻击其他玩家。","color":"gray"}]
-tellraw @s ["",{"text": " <额外道具> ","color":"aqua","bold": true}, {"text":"小游戏地图中存在 1 个得分 +2 奖励与 1 个白色道具。","color":"gray"}]
-tellraw @s ["",{"text": " <缺乏测试> ","color":"gold","bold": true}, {"text":"此游戏尚未经过足够测试, 可能存在 Bug 或设计漏洞。","color":"gray"}]
+tellraw @s ["",{"text": " <额外道具> ","color":"aqua","bold": true}, {"text":"小游戏地图中存在 1 个蓝色道具与 1 个白色道具。","color":"gray"}]
 tellraw @s ""

+ 1 - 1
data/mini/functions/parkour/tick20.mcfunction

@@ -5,5 +5,5 @@ function lib:random
 execute if score $random mem matches 2 if score $parkour_door mem matches 1 run playsound block.portal.ambient ambient @a 1014.5 22 1057.5
 
 # 强制开门
-execute if score $countdown mem matches 0 if score $parkour_door mem matches 0 run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"text": "一股神秘的力量打开了大门!","color":"green"}]
+execute if score $countdown mem matches 0 if score $parkour_door mem matches 0 run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"text": "一股神秘的力量推开了大门!","color":"green"}]
 execute if score $countdown mem matches 0 if score $parkour_door mem matches 0 run function mini:parkour/game/open_the_door

+ 1 - 1
data/mini/functions/zombie/game_start.mcfunction

@@ -5,4 +5,4 @@ function mini:zombie/game/summon_empty
 function mini:zombie/game/summon_empty
 
 # 怪物刷新倒计时
-scoreboard players set $countdown mem 180
+scoreboard players set $countdown mem 170

+ 0 - 1
data/mini/functions/zombie/player_intro.mcfunction

@@ -5,5 +5,4 @@ tellraw @s ["",{"text": " <死亡淘汰制> ","color":"red","bold": true}, {"tex
 tellraw @s ["",{"text": " <PVE> ","color":"light_purple","bold": true}, {"text":"无法攻击其他玩家, 但可以杀死猪灵。","color":"gray"}]
 tellraw @s ["",{"text": " <额外道具> ","color":"aqua","bold": true}, {"text":"将会随着时间推移生成 2 个白色道具。","color":"gray"}]
 tellraw @s ["",{"text": " <原型> ","color":"gold","bold": true}, {"text":"此游戏目前仅用于玩法测试, 尚未进行修缮。","color":"gray"}]
-tellraw @s ["",{"text": " <缺乏测试> ","color":"gold","bold": true}, {"text":"此游戏尚未经过足够测试, 可能存在 Bug 或设计漏洞。","color":"gray"}]
 tellraw @s ""

+ 6 - 5
data/mini/functions/zombie/tick20.mcfunction

@@ -6,14 +6,13 @@ scoreboard players set $random_max mem 100
 function lib:random
 
 # 赋予缓慢效果
-execute if score $countdown mem matches ..30 run effect give @e[tag=mini_mob,limit=1,sort=random] speed 2 1
-execute if score $countdown mem matches ..80 run effect give @e[tag=mini_mob,limit=1,sort=random] resistance 2 1
+execute if score $countdown mem matches ..30 run effect give @e[tag=mini_mob,limit=2,sort=random] speed 2 1
+execute if score $countdown mem matches ..80 run effect give @e[tag=mini_mob,limit=2,sort=random] resistance 2 1
 execute if score $countdown mem matches ..105 run effect give @e[tag=mini_mob,limit=1,sort=random] speed 2 0
-execute if score $countdown mem matches 131..180 run effect give @e[tag=mini_mob,limit=3,sort=random] slowness 2 0
-execute if score $countdown mem matches 156..180 run effect give @e[tag=mini_mob,limit=1,sort=random] slowness 2 1
+execute if score $countdown mem matches 131..170 run effect give @e[tag=mini_mob,limit=3,sort=random] slowness 2 0
 
 # 显示提示
-execute if score $countdown mem matches 155 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"text": "补给物资已经送达!","color":"aqua"}]
+execute if score $countdown mem matches 150 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"text": "补给物资已经送达!","color":"aqua"}]
 execute if score $countdown mem matches 130 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "猪灵开始摆脱缓慢的束缚了!","color":"red"}]
 execute if score $countdown mem matches 105 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"text": "补给物资已经送达!","color":"aqua"}]
 execute if score $countdown mem matches 80 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "猪灵开始取回他们的装备了!","color":"red"}]
@@ -24,6 +23,8 @@ execute if score $countdown mem matches 80 run scoreboard players set $random me
 execute if score $random mem matches ..10 if score $countdown mem matches 81.. run function mini:zombie/game/summon_empty
 execute if score $random mem matches ..20 if score $countdown mem matches ..80 unless entity @e[tag=empty_pig] run function mini:zombie/game/summon_equip
 execute if score $random mem matches ..20 if score $countdown mem matches ..80 as @e[tag=empty_pig,limit=1,sort=random] run function mini:zombie/game/give_equip
+execute if score $random mem matches 21..30 if score $countdown mem matches ..5 unless entity @e[tag=empty_pig] run function mini:zombie/game/summon_equip
+execute if score $random mem matches 21..30 if score $countdown mem matches ..5 as @e[tag=empty_pig,limit=1,sort=random] run function mini:zombie/game/give_equip
 
 # 生成奖励
 execute if score $random mem matches ..50 if score $countdown mem matches 155 run execute positioned 1015.5 11.0 5022.0 run function item:bonus_item/gameparty/normal/white