Ver código fonte

重新列了下土豆

LTCatt 6 anos atrás
pai
commit
261feb2fb9

+ 4 - 3
data/ltw/functions/main/player_leave.mcfunction

@@ -9,6 +9,7 @@ execute if score $state mem matches 1.. if score $game_type mem matches 1 if sco
 # 如果携带热土豆的玩家掉线,则重新生成土豆
 execute if score $state mem matches 5 if score $mini_type mem matches 3 run function mini:hotpm/player_leave
 
-# TODO : 如果在熔炉中放入魔晶石(暂时用下界之星代替),则显示提示并且炸毁熔炉
-# TODO : 判断玩家背包中的魔晶石数量(暂时用下界之星代替),每一个魔晶石提供 -10% 速度和 +0.5 击退抗性
-# FIXME : 奖励选择房里还有结构方块的线
+# TODO : [010|HIM] 如果在熔炉中放入魔晶石(暂时用下界之星代替),则显示提示并且炸毁熔炉
+# TODO : [010|HIM] 修改跑酷:进一步降低主路难度(不必苛求难度递增),增加点灯支线难度和长度,然后将点灯支线修改为绿色物品
+# TODO : [010|HIM] 判断玩家背包中的魔晶石数量(暂时用下界之星代替),每一个魔晶石提供 -10% 速度和 +0.5 击退抗性
+# FIXME : [010] 奖励选择房里还有结构方块的线

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

@@ -1,3 +1,3 @@
 # 向单个玩家展示小游戏介绍
 tp @s 1008.5 8.00 1008.5
-tellraw @s [{"text":"\n>> 跑酷(测试) >>\n\n","color":"red","bold":true},{"text": "到达最上层即可获胜, 规则就是这么简单!\n这个小游戏还在测试中, 欢迎告诉我们让它变得更好玩的方法!\n","color":"white","bold": false}]
+tellraw @s [{"text":"\n>> 苦痛之路 >>\n\n","color":"red","bold":true},{"text": "从起点出发, 一路到达终点, 获得胜利!\n你也可以从岔路中获得补给物资……\n","color":"white","bold": false}]

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

@@ -1,4 +1,7 @@
-function lib:sounds/error
+# 似乎不需要播放音效,方块破坏的时候自带音效了
+# 顺带一提,下次放音效记得 execute as @a at @s,给服务器放 rap 没什么卵用
+# function lib:sounds/error
+
 scoreboard players add $parkour_block mem 1
 execute if score $parkour_block mem matches 1 run setblock 1009 9 1036 air destroy
 execute if score $parkour_block mem matches 1 run setblock 1013 9 1032 air destroy
@@ -19,3 +22,5 @@ execute if score $parkour_block mem matches 0 run setblock 1009 9 1036 minecraft
 execute if score $parkour_block mem matches 0 run setblock 1013 9 1032 minecraft:warped_hyphae
 execute if score $parkour_block mem matches 0 run setblock 1010 11 1033 minecraft:warped_hyphae
 execute if score $parkour_block mem matches 0 run setblock 1010 13 1030 minecraft:warped_hyphae
+
+# TODO : [HIM] 使用 $countdown_fast 进行计时,在 tick2 触发,每 1.5s ($countdown_fast=15) 轮换一次方块

+ 1 - 1
data/mini/functions/tntrun/player_intro.mcfunction

@@ -2,4 +2,4 @@
 tp @s 1011.5 18.0 2019.0 180 15
 tellraw @s [{"text":"\n>> TNT Run >>\n\n","color":"red","bold":true},{"text": "你脚下的方块会不断塌陷, 所以, 不要停下来啊!\n场地一共有三层, 掉到最下面则为失败!\n","color":"white","bold": false}]
 
-# FIXME : ColorMatch 用屏障封顶防珍珠
+# FIXME : [HIM] ColorMatch 用屏障封顶防末影珍珠

+ 1 - 1
data/mini/functions/zombie/game/give_equip.mcfunction

@@ -12,4 +12,4 @@ execute if score $random mem matches 1..2 run replaceitem entity @s weapon.mainh
 execute if score $random mem matches 3..4 run replaceitem entity @s weapon.mainhand minecraft:golden_sword
 execute if score $random mem matches 2..3 run replaceitem entity @s armor.legs minecraft:golden_leggings
 
-# TODO : 被猪灵打了之后给予 2 秒无敌和速度
+# TODO : [HIM] 被猪灵打了之后给予 2 秒无敌和速度

+ 2 - 1
data/mini/functions/zombie/tick20.mcfunction

@@ -7,6 +7,7 @@ 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 ..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
@@ -21,8 +22,8 @@ execute if score $countdown mem matches 55 run tellraw @a ["",{"text": ">> ","co
 
 # 召唤猪灵
 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 ..10 if score $countdown mem matches ..80 unless entity @e[tag=empty_pig] run function mini:zombie/game/summon_equip
 
 # 生成奖励
 execute if score $countdown mem matches 155 run execute positioned 1015.5 11.0 5022.0 run function item:bonus_item/rank/white