aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-08-17 09:01:48 -0500
committerSubv <s.v.h21@hotmail.com>2012-08-17 09:01:48 -0500
commita96f695245a7adea6f7307e2dee360d547d26c18 (patch)
treec68c63438972e98ebcd17fbc08ff2be400a32828 /src/server/game/Spells/Spell.cpp
parentb3b10ccb5a37007b21837169a5f7515173cef2c5 (diff)
Core/Spells: Removed some more deprecated spells code
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 771da8162f9..6a62b143abc 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -5579,8 +5579,9 @@ SpellCastResult Spell::CheckCasterAuras() const
bool usableInStun = m_spellInfo->AttributesEx5 & SPELL_ATTR5_USABLE_WHILE_STUNNED;
// 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_caster->HasAura(63248))
+ if ((m_spellInfo->Id == 33206 || m_spellInfo->Id == 47788) && !m_caster->HasAura(63248))
usableInStun = false;
// Check whether the cast should be prevented by any state you might have.