2
0
Эх сурвалжийг харах

更改pm获得最高分 调用的函数

HerobrineXia 6 жил өмнө
parent
commit
8e9664e9aa

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

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

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

@@ -1,6 +1,6 @@
 # 第一次初始化土豆
-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 total_score = $temp_07e3c mem run tag @s add mini_hotpm_top
+scoreboard players set $t_score_max mem -2147483648
+execute as @a[tag=mini_running] run function mini:main/get_max_score
+execute as @a[tag=mini_running] if score @s total_score = $t_score_max 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