fix(Core/Spells): Add more exceptions to Aura of Despair. (#15231)

* fix(Core/Spells): Add more exceptions to Aura of Despair.

* Remove mana shield, works on Animus aoe...

Probably needs more work to proc only on searing flames, and not on profound darkness.
This commit is contained in:
avarishd
2023-03-21 23:32:39 +02:00
committed by GitHub
parent ed31c22cc5
commit 2e4d19a42f

View File

@@ -21385,15 +21385,20 @@ bool Unit::CanRestoreMana(SpellInfo const* spellInfo) const
// Aura of Despair exceptions
switch (spellInfo->Id)
{
case 16666: // Demonic Rune
case 27869: // Dark Rune
case 30824: // Shamanistic Rage
case 31786: // Spiritual Attunement
case 31930: // Judgements of the Wise
case 34075: // Aspect of the Viper
case 34720: // Thrill of the hunt
case 47755: // Rapture
case 54425: // Improved Felhunter
case 57319: // Blessing of Sanctuary
case 63337: // Saronite Vapors (regenerate mana)
case 63375: // Improved stormstrike
case 64372: // Lifebloom
case 68285: // Improved Leader of the Pack
return true;
case 54428: // Divine Plea - only with talent Guarded by the Light
return HasSpell(53583);