diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-02-13 01:03:57 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-02-13 01:03:57 +0100 |
commit | 8dc494c1ae049b4829474e95acce774ed15a9a64 (patch) | |
tree | a0a1d6fb538d234cc9f9d5ef775f58e92e219bbb | |
parent | ed0b621d1569a14174a9802027b68dbe4329da69 (diff) |
Core/Creatures: ed0b621d1569a14174a9802027b68dbe4329da69 followup
-rw-r--r-- | src/server/game/Entities/Creature/Creature.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp index fcc4980b669..d99fef678d2 100644 --- a/src/server/game/Entities/Creature/Creature.cpp +++ b/src/server/game/Entities/Creature/Creature.cpp @@ -2452,6 +2452,9 @@ void Creature::LoadTemplateImmunities(int32 creatureImmunitiesId) for (AuraType aura : immunities->Aura) ApplySpellImmune(placeholderSpellId, IMMUNITY_STATE, aura, apply); + + if (immunities->Other != SpellOtherImmunity::None) + ApplySpellImmune(placeholderSpellId, IMMUNITY_OTHER, immunities->Other.AsUnderlyingType(), apply); }; // unapply template immunities (in case we're updating entry) |