Core/Spells: removed some dead code related to Glyph of Pain Supression
This commit is contained in:
1 parent
80b9e160dd
commit
4033227c99
1 file changed
-6
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user