Bladeren bron

高分土豆

00ll00 6 jaren geleden
bovenliggende
commit
147c7665cc

+ 1 - 0
data/mini/functions/hotpm/game/get_max_score.mcfunction

@@ -0,0 +1 @@
+execute if score @s mini_score > $temp_07e3c mem run scoreboard players operation $temp_07e3c mem = @s mini_score

+ 3 - 2
data/mini/functions/hotpm/game/pm_init_first.mcfunction

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