Custom content notes Edit
This type of effect can be created with either the command
EffectSpellImmunity() (for immunity to a specific spell or to all spells) or
EffectSpellLevelAbsorption() (for immunity to a spell school and/or by spell level). In the latter case, the second parameter (total spell levels absorbed) must be left at the default value of zero or else a spell level absorption effect will be created instead.