Core/Auras: Allow some whitelisted spells to update effect values of non-passive auras when adding spell mods

This commit is contained in:
Shauren
2025-01-04 20:44:05 +01:00
parent c9099c8756
commit 3a19b8160d
3 changed files with 41 additions and 24 deletions

View File

@@ -1881,6 +1881,19 @@ bool SpellInfo::IsAffectedBySpellMod(SpellModifier const* mod) const
return false;
}
bool SpellInfo::IsUpdatingTemporaryAuraValuesBySpellMod() const
{
switch (Id)
{
case 384669: // Overflowing Maelstrom
return true;
default:
break;
}
return false;
}
bool SpellInfo::CanPierceImmuneAura(SpellInfo const* auraSpellInfo) const
{
// Dispels other auras on immunity, check if this spell makes the unit immune to aura