execute as @s[scores={burning_s=1..}] at @s run particle flame ~ ~1 ~ 0.1 0.25 0.1 0 3
$execute if entity @s[scores={burning_s=1..},tag=!immune_burning] if entity @a[tag=$(character)] run function main:mechanics/effects/burning {"character":$(character)}
execute as @s[scores={poison_s=1..}] at @s run particle falling_dust{block_state:emerald_block} ~ ~1 ~ 0.1 0.25 0.1 0 3
$execute if entity @s[scores={poison_s=1..},tag=!immune_poison] if entity @a[tag=$(character)] run function main:mechanics/effects/poison {"character":$(character)}
execute as @s[scores={bleeding_s=1..}] at @s run particle falling_dust{block_state:netherrack} ~ ~0.5 ~ 0.1 0.25 0.1 0 1
$execute if entity @s[scores={bleeding_s=1..},tag=!immune_bleeding] if entity @a[tag=$(character)] run function main:mechanics/effects/bleeding/tick {"character":$(character)}