Hello everyone. I found another way of detecting whether the damage came from a spell or from natural damage.
Now, for those of you who do not know how magic damage is detected, I advise you to look at the following links:
Physical Damage Detection
Damage Engine
In short, they detect magical...