execute if entity @s[tag=!explosive_fire] run scoreboard players add @s n_effects 1
scoreboard players add @s explosive_fire 15

# since they have resistance 5 when doing dmg it's really Fire:40
execute store result score fire explosive_fire run data get entity @s Fire 1
execute if score fire explosive_fire matches ..60 run data merge entity @s {Fire:80}
scoreboard players add @s damage 600


tag @s add explosive_fire

summon area_effect_cloud ~ ~ ~ {Tags:["unspellable","ef_center"],Duration:1}
execute at @s run tp @s ~ ~ ~ facing entity @e[tag=ef_center,limit=1,sort=nearest]
execute at @s run tp @s ~ ~ ~ ~180 ~
execute at @s run playsound entity.generic.explode ambient @a ~ ~ ~
execute at @s run function effects:explosive_fire/launch
