LTCatt hace 6 años
padre
commit
4df8f5b731

+ 1 - 1
data/ltw/functions/state/0/state_enter.mcfunction

@@ -4,7 +4,7 @@ execute as @a run function ltw:state/0/player_enter
 
 # HUD
 scoreboard objectives setdisplay belowName gold
-scoreboard objectives setdisplay sidebar gold
+scoreboard objectives setdisplay sidebar
 scoreboard objectives setdisplay list gold
 
 # 伤害管理

+ 3 - 0
data/ltw/functions/state/4/player_enter.mcfunction

@@ -7,6 +7,9 @@ effect clear @s
 effect give @s saturation 1000000 0 true
 gamerule naturalRegeneration true
 
+# 修改时间
+time set midnight
+
 # 显示小游戏介绍
 function mini:main/player_intro
 

+ 2 - 2
data/mini/functions/colormatch/watcher_limit.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限定范围
-execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=27,dz=27,dy=30] run spectate
-execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=27,dz=27,dy=30] run tp @s[tag=!debug] 1062 22 4012 20 180
+execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=26,dy=30,dz=26] run spectate
+execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=26,dy=30,dz=26] run tp @s[tag=!debug] 1062 22 4012

+ 2 - 2
data/mini/functions/phantom/player_intro.mcfunction

@@ -3,7 +3,7 @@ tp @s[tag=!debug] 1062.34 27.11 6040.84 461.44 28.30
 tellraw @s ["",{"text":"\n >> 月夜狩猎 >>\n\n","color":"gold","bold":true}," 在太阳升起之前, 用三叉戟尽量击杀幻翼吧!\n"]
 tellraw @s ["",{"text": " <积分制> ","color":"red","bold": true}, {"text":"太阳升起时游戏即会结束, 然后根据击杀数决定排名。","color":"gray"}]
 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":"aqua","bold": true}, {"text":"地图的两翼顶端各有 1 个白色道具。","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 ""

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

@@ -1,4 +1,4 @@
 execute if score $countdown mem matches 101.. as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 2.5
-execute if score $countdown mem matches 61..100 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 4
-execute if score $countdown mem matches 21..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 5.5
-execute if score $countdown mem matches ..20 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 7
+execute if score $countdown mem matches 61..100 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 4.5
+execute if score $countdown mem matches 2..60 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 6.5
+execute if score $countdown mem matches ..1 as @e[type=slime] run attribute @s minecraft:generic.attack_damage base set 8.5

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

@@ -3,6 +3,7 @@ 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": " <死亡淘汰制> ","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":"快捷栏的最后一格将提供击退 II 木棍。","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 ""

+ 12 - 8
data/mini/functions/slime/tick20.mcfunction

@@ -18,16 +18,20 @@ execute if score $countdown mem matches 60 run function mini:slime/game/set_atta
 execute if score $countdown mem matches 60 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
 execute if score $countdown mem matches 60 as @a at @s run function lib:sounds/error
 
+# 加速
+execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "史莱姆的移动速度提高了!","color":"gold"}]
+execute if score $countdown mem matches ..40 run effect give @e[type=slime] speed 10 3
+
 # 召唤提示 2
-execute if score $countdown mem matches 45 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
-execute if score $countdown mem matches 45 as @a at @s run function lib:sounds/error
+execute if score $countdown mem matches 25 run tellraw @a ["",{"text": ">> ","color":"gold","bold": true},{"text": "新的史莱姆将在 5 秒后空投到球场中央!","color":"gold"}]
+execute if score $countdown mem matches 25 as @a at @s run function lib:sounds/error
 
 # 召唤 2
-execute if score $countdown mem matches 40 run function mini:slime/game/summon
-execute if score $countdown mem matches 40 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
-execute if score $countdown mem matches 40 as @a at @s run function lib:sounds/teleport
+execute if score $countdown mem matches 20 run function mini:slime/game/summon
+execute if score $countdown mem matches 20 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "新的史莱姆已空投!","color":"red"}]
+execute if score $countdown mem matches 20 as @a at @s run function lib:sounds/teleport
 
 # 属性提升 3
-execute if score $countdown mem matches 20 run function mini:slime/game/set_attack
-execute if score $countdown mem matches 20 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
-execute if score $countdown mem matches 20 as @a at @s run function lib:sounds/error
+execute if score $countdown mem matches 1 run function mini:slime/game/set_attack
+execute if score $countdown mem matches 1 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"text": "史莱姆的攻击力提高了!","color":"red"}]
+execute if score $countdown mem matches 1 as @a at @s run function lib:sounds/error