try_summon.mcfunction 444 B

1234567891011
  1. # 尝试召唤幻翼
  2. # 数量要求:已有幻翼 < 玩家人数 * 3
  3. function mini:main/update_player_count
  4. scoreboard players operation #count mem = $player_alive mem
  5. scoreboard players operation #count mem += #count mem
  6. scoreboard players operation #count mem += #count mem
  7. execute as @e[tag=phantom] run scoreboard players remove #count mem 1
  8. say try generate
  9. execute if score #count mem matches 1.. run function mini:phantom/game/summon