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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user