Hello man I've got an other question. I've done a BlackHole spell, in this first spell a struct "Spell" checks the enemies in the area and generate other structs called Buffs, in the attributes of each Buff struct there is the Spell struct.
If the caster dies or stops casting the spells or the duration ends the struct Spell is destroyed.
The question is in my structs Buff how can I check the state of my Spell struct to know when I need to unlock my targets? How to check if a Struct have been "deallocate()"