mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Auras: Allow some whitelisted spells to update effect values of non-passive auras when adding spell mods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user