|
|
@@ -4,10 +4,10 @@ execute unless entity @s[scores={shop_particle_s=0..}] run scoreboard players se
|
|
|
tag @s remove canbuy
|
|
|
tag @s[scores={shop_particle_s=0,green=18..}] add canbuy
|
|
|
|
|
|
-tellraw @s[scores={shop_particle_s=1..}] ["",{"text":">> ","color":"aqua","bold":true},{"text":"你已经购买了尾迹效果了!","color":"aqua"}]
|
|
|
+tellraw @s[scores={shop_particle_s=1..}] ["",{"text":">> ","color":"aqua","bold":true},{"text":"你已经购买了尾迹特效了!","color":"aqua"}]
|
|
|
tellraw @s[scores={shop_particle_s=0,green=..17}] ["",{"text":">> ","color":"red","bold":true},{"text":"你没有足够的绿宝石块来购买它!","color":"red"}]
|
|
|
-tellraw @s[tag=canbuy] ["",{"text":">> ","color":"green","bold":true},"你购买了 ",{"text":"尾迹效果","color":"green"}]
|
|
|
-execute as @s[tag=canbuy] run tellraw @a[tag=!canbuy] ["",{"text":">> ","color":"green","bold":true},{"selector": "@s","color":"green"}," 购买了 ",{"text":"尾迹效果","color":"green"}]
|
|
|
+tellraw @s[tag=canbuy] ["",{"text":">> ","color":"green","bold":true},"你购买了 ",{"text":"尾迹特效","color":"green"}]
|
|
|
+execute as @s[tag=canbuy] run tellraw @a[tag=!canbuy] ["",{"text":">> ","color":"green","bold":true},{"selector": "@s","color":"green"}," 购买了 ",{"text":"尾迹特效","color":"green"}]
|
|
|
|
|
|
scoreboard players add @s[tag=canbuy] shop_particle_s 1
|
|
|
scoreboard players remove @s[tag=canbuy] green 18
|