summon illusioner ~ ~ ~ {Tags:["jjc_mob","jjc_illusioner","jjc_illusioner_bt","jjc_boss"],HandItems:[{id:"bow"},{}],attributes:[{id:"generic.follow_range",base:50},{id:"generic.max_health",base:100}],Health:100f,Passengers:[{id:"marker",Tags:["jjc","jjc_bossbar"],data:{name:"Illusioner"}}]}
scoreboard players set @n[distance=..200,type=illusioner,tag=jjc_illusioner_bt] jjc_damage 8
execute as @n[distance=..200,type=illusioner,tag=jjc_illusioner_bt,tag=!jjc_spawn] at @s run scoreboard players operation @s jjc_damage += @n[distance=..200,tag=jjc_jjc] jjc_ominous
execute as @n[distance=..200,type=illusioner,tag=jjc_illusioner_bt,tag=!jjc_spawn] at @s run scoreboard players operation @s jjc_damage += @n[distance=..200,tag=jjc_jjc] jjc_ominous
playsound entity.illusioner.mirror_move hostile @a[distance=..200] ~ ~1 ~ 4 1
particle enchanted_hit ~ ~1 ~ 0.5 0.5 0.5 0.25 20 force
particle dragon_breath ~ ~0.5 ~ 0.25 0.25 0.25 0.25 100 force