EffectSpellImmunity

// Create a Spell Immunity effect. // There is a known bug with this function. There *must* be a parameter specified // when this is called (even if the desired parameter is SPELL_ALL_SPELLS), // otherwise an effect of type EFFECT_TYPE_INVALIDEFFECT will be returned. // - nImmunityToSpell: SPELL_* // * Returns an effect of type EFFECT_TYPE_INVALIDEFFECT if nImmunityToSpell is //  invalid. effect EffectSpellImmunity(int nImmunityToSpell=SPELL_ALL_SPELLS);