pm_init_first.mcfunction 391 B

123456
  1. # 第一次初始化土豆
  2. scoreboard players set $t_score_max mem -2147483648
  3. execute as @a[tag=mini_running] run function ltw:main/get_max_score
  4. execute as @a[tag=mini_running] if score @s total_score = $t_score_max mem run tag @s add mini_hotpm_top
  5. execute as @a[tag=mini_hotpm_top,limit=1,sort=random] run function mini:hotpm/game/pm_init
  6. tag @a[tag=mini_hotpm_top] remove mini_hotpm_top