欢迎光临散文网 会员登陆 & 注册

当你和朋友PVP时打出了一张血清-W......

2023-02-25 16:15 作者:为了最初的自我  | 我要投稿

血清-W指令:

1.testfor @p[tag=血清,hasitem={item=potion,

location=slot.weapon.mainhand,data=6}]


2.tag @p[tag=血清] add 行动


3.execute @p[tag=血清] ~ ~ ~ tag @p[tag=!血清] add 目标


4.replaceitem entity @p[tag=血清] slot.weapon.mainhand 0 air


5.scoreboard players add @p[tag=行动] 血清 1


6.execute @p[scores={血清=40..220}] ~ ~ ~ tp @s ~ ~ ~1 facing ~ ~ ~20


7.execute @p[scores={血清=40}] ~ ~ ~ tp @s 260 60 890

(中间可以穷举多条指令,具体视频有讲解)

8.execute @p[scores={血清=220}] ~ ~ ~ tp @s 114 514 1919


9.execute @p[scores={血清=260}] ~ ~ ~ tp @s @p[tag=目标]


10.execute @p[scores={血清=260}] ~ ~ ~ damage @p[tag=目标] 30


11.execute @p[scores={血清=0..220}] ~ ~ ~ tp @p[tag=目标] ^^^5


12.execute @p[scores={血清=280..}] ~ ~ ~ tag @s remove 行动


13.execute @p[scores={血清=280..}] ~ ~ ~ scoreboard players reset @s 血清


如果遇到无法使用的情况可以手动输入

/tag @a remove 目标

/tag @a remove 行动


附加指令:

1.execute @p[scores={血清=260}] ~ ~ ~ execute @p[tag=目标] ~ ~1 ~ particle minecraft:dragon_death_explosion_emitter ~ ~ ~

当你和朋友PVP时打出了一张血清-W......的评论 (共 条)

分享到微博请遵守国家法律