Parcourir la source

修复骰子金粒显示问题

HerobrineXia il y a 6 ans
Parent
commit
08c57dc2b3

+ 0 - 1
data/ltw/functions/state/0/roll_dice/draw.mcfunction

@@ -1,4 +1,3 @@
 scoreboard players add @s gold 9
-function item:shop/refresh_gold
 tag @a remove self
 scoreboard players set @s temp 0

+ 1 - 1
data/ltw/functions/state/0/roll_dice/show_result.mcfunction

@@ -26,4 +26,4 @@ execute if score $random mem matches 2..19 if score @s temp matches 2..19 if sco
 execute if score $random mem matches 20 if score @s temp matches 20 run tellraw @s ["",{"text":">> ","color":"green","bold":true},"你和老板一样欧,你们平局了,你拿回了 ",{"text":"1金锭","color":"green","bold":true} ," !"]
 execute if score $random mem matches 2..19 if score @s temp matches 2..19 if score $random mem = @s temp run tellraw @s ["",{"text":">> ","color":"green","bold":true},"你的点数和老板一样大,你们平局了,你拿回了 ",{"text":"1金锭","color":"green","bold":true} ," !"]
 execute if score $random mem matches 1 if score @s temp matches 1 run tellraw @s ["",{"text":">> ","color":"green","bold":true},"你和老板一样非,你们平局了,你拿回了 ",{"text":"1金锭","color":"green","bold":true} ," !"]
-execute if score $random mem = @s temp run function ltw:state/0/roll_dice/draw
+execute if score $random mem = @s temp run function ltw:state/0/roll_dice/draw

+ 0 - 1
data/ltw/functions/state/0/roll_dice/super_lose.mcfunction

@@ -1,5 +1,4 @@
 scoreboard players set @s gold 0
-function item:shop/refresh_gold
 scoreboard players set @s temp 0
 tag @a remove self
 tag @s add self

+ 0 - 1
data/ltw/functions/state/0/roll_dice/super_win.mcfunction

@@ -1,5 +1,4 @@
 scoreboard players add @s gold 243
-function item:shop/refresh_gold
 scoreboard players set @s temp 0
 tag @a remove self
 tag @s add self

+ 0 - 1
data/ltw/functions/state/0/roll_dice/win.mcfunction

@@ -1,4 +1,3 @@
 scoreboard players add @s gold 18
-function item:shop/refresh_gold
 scoreboard players set @s temp 0
 tag @a remove self