execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s run data merge entity @s {active_effects:[{id:"resistance",amplifier:66,duration:20,show_particles:0b,show_icon:0b}]}
execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s run playsound entity.ghast.hurt hostile @a[distance=..200] ~ ~2.4 ~ 4 0

execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s store result score @s jjc_hp run data get entity @s attributes[{id:"minecraft:generic.max_health"}].base 100
execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s store result entity @s attributes[{id:"minecraft:generic.max_health"}].base double 0.01 run scoreboard players add @s jjc_hp 3000

execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s store result score @s jjc_hp run data get entity @s Health 100
execute as @e[type=marker,tag=jjc_oblb1,predicate=colosseum_of_fools:nov] at @s as @e[type=ghast,tag=jjc_oblb,distance=..48] at @s store result entity @s Health double 0.01 run scoreboard players add @s jjc_hp 4000

execute as @e[type=ghast,tag=jjc_oblb,nbt={active_effects:[{id:"minecraft:resistance",amplifier:66b}]}] at @s run particle angry_villager ~ ~2.4 ~ 2 2 2 0.1 5 force
execute as @e[type=ghast,tag=jjc_oblb,nbt={active_effects:[{id:"minecraft:resistance",amplifier:66b}]}] at @s run particle flame ~ ~2.4 ~ 2 2 2 0.1 5 force