scoreboard objectives add n_effects dummy
execute as @a unless score @s n_effects matches ..0 unless score @s n_effects matches 0.. run scoreboard players set @s n_effects 0

scoreboard objectives add wind_push dummy
scoreboard objectives add dark_curse dummy
scoreboard objectives add dark_curse_2 dummy
scoreboard objectives add freeze dummy
scoreboard objectives add electric_charge dummy
scoreboard objectives add explosive_fire dummy
scoreboard objectives add fire_effect dummy
scoreboard objectives add fire_effect_2 dummy
scoreboard objectives add spore_poison dummy
scoreboard objectives add spore_poison_2 dummy
scoreboard objectives add mage_armor dummy

scoreboard objectives add motion_calc dummy
