From 2e4d19a42f50b6696bc7d2b88785c618c45a0b39 Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:32:39 +0200 Subject: [PATCH] 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. --- src/server/game/Entities/Unit/Unit.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index e7acdae40..8ef65f6da 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -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);