Core/Spells: Glyph of Desperation/Pain Suppression has been removed

This commit is contained in:
hondacrx
2017-12-26 12:35:06 -05:00
parent 58333b9f1f
commit 2c0134ba33
-6
View File
@@ -5395,12 +5395,6 @@ namespace Game.Spells
bool usableInStun = m_spellInfo.HasAttribute(SpellAttr5.UsableWhileStunned);
// 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) && !m_caster.HasAura(63248))
usableInStun = false;
// Check whether the cast should be prevented by any state you might have.
SpellCastResult prevented_reason = SpellCastResult.SpellCastOk;
// Have to check if there is a stun aura. Otherwise will have problems with ghost aura apply while logging out