浏览代码

修复最后一轮刷道具

LTCatt 6 年之前
父节点
当前提交
727da8ebb5

+ 2 - 2
data/item/functions/bonus_item/gameparty/auto/blue.mcfunction

@@ -1,7 +1,7 @@
 # 生成蓝色品质的物品实体
 
-execute if score $round mem matches ..5 run loot spawn ~ ~ ~ loot item:gameparty/normal/blue
-execute if score $round mem matches 6 run loot spawn ~ ~ ~ loot item:gameparty/last/blue
+execute if score $round mem matches ..4 run loot spawn ~ ~ ~ loot item:gameparty/normal/blue
+execute if score $round mem matches 5 run loot spawn ~ ~ ~ loot item:gameparty/last/blue
 summon item ~ ~ ~ {Tags:["new_item"],Age:-32768,PickupDelay:0,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"gold_nugget",Count:1}}
 data modify entity @e[tag=new_item,limit=1] Item set from entity @e[limit=1,type=item,sort=nearest,tag=!new_item] Item
 kill @e[limit=1,type=item,sort=nearest,tag=!new_item]

+ 2 - 2
data/item/functions/bonus_item/gameparty/auto/green.mcfunction

@@ -1,7 +1,7 @@
 # 生成绿色品质的物品实体
 
-execute if score $round mem matches ..5 run loot spawn ~ ~ ~ loot item:gameparty/normal/green
-execute if score $round mem matches 6 run loot spawn ~ ~ ~ loot item:gameparty/last/green
+execute if score $round mem matches ..4 run loot spawn ~ ~ ~ loot item:gameparty/normal/green
+execute if score $round mem matches 5 run loot spawn ~ ~ ~ loot item:gameparty/last/green
 summon item ~ ~ ~ {Tags:["new_item"],Age:-32768,PickupDelay:0,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"gold_nugget",Count:1}}
 data modify entity @e[tag=new_item,limit=1] Item set from entity @e[limit=1,type=item,sort=nearest,tag=!new_item] Item
 kill @e[limit=1,type=item,sort=nearest,tag=!new_item]

+ 2 - 2
data/item/functions/bonus_item/gameparty/auto/purple.mcfunction

@@ -1,7 +1,7 @@
 # 生成紫色品质的物品实体
 
-execute if score $round mem matches ..5 run loot spawn ~ ~ ~ loot item:gameparty/normal/purple
-execute if score $round mem matches 6 run loot spawn ~ ~ ~ loot item:gameparty/last/purple
+execute if score $round mem matches ..4 run loot spawn ~ ~ ~ loot item:gameparty/normal/purple
+execute if score $round mem matches 5 run loot spawn ~ ~ ~ loot item:gameparty/last/purple
 summon item ~ ~ ~ {Tags:["new_item"],Age:-32768,PickupDelay:0,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"gold_nugget",Count:1}}
 data modify entity @e[tag=new_item,limit=1] Item set from entity @e[limit=1,type=item,sort=nearest,tag=!new_item] Item
 kill @e[limit=1,type=item,sort=nearest,tag=!new_item]

+ 2 - 2
data/item/functions/bonus_item/gameparty/auto/white.mcfunction

@@ -1,7 +1,7 @@
 # 生成白色品质的物品实体
 
-execute if score $round mem matches ..5 run loot spawn ~ ~ ~ loot item:gameparty/normal/white
-execute if score $round mem matches 6 run loot spawn ~ ~ ~ loot item:gameparty/last/white
+execute if score $round mem matches ..4 run loot spawn ~ ~ ~ loot item:gameparty/normal/white
+execute if score $round mem matches 5 run loot spawn ~ ~ ~ loot item:gameparty/last/white
 summon item ~ ~ ~ {Tags:["new_item"],Age:-32768,PickupDelay:0,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"gold_nugget",Count:1}}
 data modify entity @e[tag=new_item,limit=1] Item set from entity @e[limit=1,type=item,sort=nearest,tag=!new_item] Item
 kill @e[limit=1,type=item,sort=nearest,tag=!new_item]