Skip to content

ImmunityTypes Enum ​

The ImmunityTypes enum defines the interaction of abilities with spell immunity, specifying whether an ability affects allies or enemies with spell immunity.

Enum Values ​

NameValueDescription
SPELL_IMMUNITY_NONE0No interaction with spell immunity.
SPELL_IMMUNITY_ALLIES_YES1Affects spell-immune allies.
SPELL_IMMUNITY_ALLIES_NO2Does not affect spell-immune allies.
SPELL_IMMUNITY_ENEMIES_YES3Affects spell-immune enemies.
SPELL_IMMUNITY_ENEMIES_NO4Does not affect spell-immune enemies.