瀏覽代碼

打死远程粒子

HerobrineXia 5 年之前
父節點
當前提交
f299a58f91
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
  1. 3 1
      data/item/functions/shop/check.mcfunction

+ 3 - 1
data/item/functions/shop/check.mcfunction

@@ -1,4 +1,6 @@
-execute if score @s buy_trigger matches 1 at @s unless entity @s[x=-3,z=-63,y=7,dx=20,dy=8,dz=30] run function item:shop/error
+execute if score @s buy_trigger matches 1..21 at @s unless entity @s[x=-3,z=-63,y=7,dx=20,dy=8,dz=30] run function item:shop/error
+execute if score @s buy_trigger matches 100..108 at @s unless entity @s[x=-3,z=-63,y=7,dx=20,dy=8,dz=30] run function item:shop/error
+
 execute if score @s buy_trigger matches 1 if score $state mem matches 0 run function item:shop/buy_apple1
 execute if score @s buy_trigger matches 2 if score $state mem matches 0 run function item:shop/buy_apple2
 execute if score @s buy_trigger matches 3 if score $state mem matches 0 run function item:shop/buy_armor1