diff options
| author | Shauren <shauren.trinity@gmail.com> | 2022-09-05 18:22:39 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-09-05 18:22:39 +0200 |
| commit | 3306a4d06cc557967c23adcc60c2e3257811b324 (patch) | |
| tree | ba39127335e73b1af89750fdba18c0329a036146 /src/server/game/Spells/SpellEffects.cpp | |
| parent | f3384fecaa17c2b14bf2089c6813a31f5799a020 (diff) | |
Core/Auras: Improve aura interactions with immunities on spell effect level
* Effects that target is immune to will be suppressed instead of completely removed
Closes #28096
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 7140403ce95..0c8a93f05c8 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -1083,7 +1083,7 @@ void Spell::EffectApplyAura() if (!aurApp) aurApp = unitTarget->_CreateAuraApplication(_spellAura, 1 << effectInfo->EffectIndex); else - aurApp->UpdateApplyEffectMask(aurApp->GetEffectsToApply() | 1 << effectInfo->EffectIndex); + aurApp->UpdateApplyEffectMask(aurApp->GetEffectsToApply() | 1 << effectInfo->EffectIndex, false); } void Spell::EffectUnlearnSpecialization() |
