From 4033227c99d9a3c88acfb18d1fe102bc831fb23f Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 24 Jan 2023 11:22:47 +0100 Subject: [PATCH] Core/Spells: removed some dead code related to Glyph of Pain Supression --- src/server/game/Spells/Spell.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 0782a72e40..9f451d98dd 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -6576,12 +6576,6 @@ SpellCastResult Spell::CheckCasterAuras(uint32* param1) const // SPELL_ATTR5_USABLE_WHILE_CONFUSED by default only disorient (ie no polymorph) bool usableWhileConfused = m_spellInfo->HasAttribute(SPELL_ATTR5_ALLOW_WHILE_CONFUSED); - // Glyph of Pain Suppression - // Allow Pain Suppression and Guardian Spirit to be cast while stunned - // there is no other way to handle it - if ((m_spellInfo->Id == 33206 || m_spellInfo->Id == 47788) && !unitCaster->HasAura(63248)) - usableWhileStunned = false; - // Check whether the cast should be prevented by any state you might have. SpellCastResult result = SPELL_CAST_OK;