#vfx
execute as @a[scores={burning_s=1..}] at @s run scoreboard players set @s out_of_combat 100

#damage
$execute unless score .arsonist artifact matches 1.. as @s[tag=$(character)_burning,scores={burning_s=1..,burning_t=19..}] at @s run function main:mechanics/damage/enemy/deal_damage with storage minecraft:reaction_damage $(character).burning
$execute if score .arsonist artifact matches 1.. as @s[tag=$(character)_burning,scores={burning_s=1..,burning_t=9..}] at @s run function main:mechanics/damage/enemy/deal_damage with storage minecraft:reaction_damage $(character).burning

execute as @a[scores={burning_s=1..,burning_t=19}] at @s run function main:mechanics/damage/player/calculation_effects {"damage":15,"id":id7,"id_number":7}

#stuff
execute as @s[scores={burning_s=1..,burning_t=..20}] run scoreboard players add @s burning_t 1

execute unless score .arsonist artifact matches 1.. as @s[scores={burning_s=1..,burning_t=20..}] run function main:mechanics/effects/burning_1
execute if score .arsonist artifact matches 1.. as @s[scores={burning_s=1..,burning_t=10..}] run function main:mechanics/effects/burning_1

execute as @s[scores={burning_s=..0}] run scoreboard players set @s burning_t 0
execute as @s[scores={burning_s=..0}] run scoreboard players set @s burning_s 0