ボス作り4日目
ボスといえば
必殺技
そう必殺技ですよねということで今回は必殺技爆発ノックバック(略してバック君)
Q&A
下からダウンロード
チャットで打つコマンド
/scoreboard objectives add a dummy
コマンドコーナー(最終回(´;ω;`))
execute as @e[name=boss] at @s run scoreboard players random @s 1 1000
execute as @e[name=boss,scores={a=19}] at @s run summon bat a ~ ~ ~
execute as @e[name=a,type=bat] at @s run tag @e[r=1,name=!boss] add e
scoreboard objectives add e dummy
execute as @e[tag=e] at @s run scoreboard players add @s e 1
execute as @e[tag=e,scores={e=100..}] at @s run tag @s add r
execute as @e[tag=r] at @s run particle minecraft:knockback_roar_particle
execute as @e[tag=r] at @s run particle minecraft:huge_explosion_emitter
execute as @e[tag=r] at @s run damage @s 10 self_destruct