Creature immune to normal damage (meele/ranged)

Hi there. Is there any way to make a creature immune to physical attacks? MechanicImmuneMask works only for stuns/freezes, even with the highest value.

Thought of some code, but maybe it's achievable in db or something.


CanPierceImmuneAura in spellinfo.cpp add condition for school physical damage you can also create your own mechanic mask the closed mechanic for what you’re looking is MECHANIC_IMMUNE_SHIELD search on the core where it s located and add a condition for physical damage.