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

Port From (https://github.com/TrinityCore/TrinityCore/commit/3a19b8160d8e2c8f2c2b10380fcd3fe7468810e2)
This commit is contained in:
Hondacrx
2025-06-02 14:03:36 -04:00
parent 2043ac37f9
commit 7b0433c028
2 changed files with 43 additions and 31 deletions
+13
View File
@@ -677,6 +677,19 @@ namespace Game.Spells
return false;
}
public bool IsUpdatingTemporaryAuraValuesBySpellMod()
{
switch (Id)
{
case 384669: // Overflowing Maelstrom
return true;
default:
break;
}
return false;
}
public bool CanPierceImmuneAura(SpellInfo auraSpellInfo)
{
// Dispels other auras on immunity, check if this spell makes the unit immune to aura