| 12345678910111213141516171819202122232425262728 |
- # 生成奖励物品
- # 清理残余实体
- kill @e[type=item]
- kill @e[type=arrow]
- kill @e[type=trident]
- # 生成 玩家数+1 个奖励
- execute store result score #bonus_count mem if entity @a[team=playing]
- scoreboard players add #bonus_count mem 1
- execute if score #bonus_count mem matches 1.. positioned 17.5 10.2 1967.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 2.. positioned 19.5 10.2 1962.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 3.. positioned 24.5 10.2 1960.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 4.. positioned 29.5 10.2 1962.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 5.. positioned 31.5 10.2 1967.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 6.. positioned 29.5 10.2 1972.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 7.. positioned 24.5 10.2 1974.5 run function item:bonus_item/gameparty/auto/random
- execute if score #bonus_count mem matches 8.. positioned 19.5 10.2 1972.5 run function item:bonus_item/gameparty/auto/random
- # 生成拾取背景
- execute positioned 17.0 10.0 1967.0 run function ltw:state/6/generate_background
- execute positioned 19.0 10.0 1962.0 run function ltw:state/6/generate_background
- execute positioned 24.0 10.0 1960.0 run function ltw:state/6/generate_background
- execute positioned 29.0 10.0 1962.0 run function ltw:state/6/generate_background
- execute positioned 31.0 10.0 1967.0 run function ltw:state/6/generate_background
- execute positioned 29.0 10.0 1972.0 run function ltw:state/6/generate_background
- execute positioned 24.0 10.0 1974.0 run function ltw:state/6/generate_background
- execute positioned 19.0 10.0 1972.0 run function ltw:state/6/generate_background
|