Browse Source

Merge branch 'master' of github.com:LTCatt/LTW3

HerobrineXia 6 years ago
parent
commit
954c52fa9a

+ 4 - 4
data/mini/functions/phantom/game/try_summon.mcfunction

@@ -1,10 +1,10 @@
 # 尝试召唤幻翼
-# 数量要求:已有幻翼 < 玩家人数 * 3
+# 数量要求:已有幻翼 < 玩家人数 * 2
 
 function mini:main/update_player_count
 scoreboard players operation #count mem = $player_alive mem
-scoreboard players operation #count mem += #count mem
-scoreboard players operation #count mem += #count mem
-execute as @e[tag=phantom] run scoreboard players remove #count mem 1
+scoreboard players operation #count mem += $player_alive mem
+scoreboard players operation #count mem += $player_alive mem
+execute as @e[type=phantom] run scoreboard players remove #count mem 1
 
 execute if score #count mem matches 1.. run function mini:phantom/game/summon

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

@@ -1,7 +1,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":"\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":"gold","bold": true}, {"text":"此游戏目前仅用于玩法测试, 尚未进行修缮。","color":"gray"}]
 tellraw @s ["",{"text": " <早期测试> ","color":"dark_red","bold": true}, {"text":"这是刚做出来的新游戏, 碰到什么 Bug 都很正常!","color":"dark_red"}]