Core/Spell: Fix rogue "Glyph of Preparation"
Closes #10359 Signed-off-by: Vincent-Michael <Vincent_Michael@gmx.de>
This commit is contained in:
1 parent
6dc1f242e4
commit
6a6e9a225c
3 files changed
+32
-40
No files matched your search
@@ -3975,7 +3975,7 @@ void Spell::EffectSanctuary(SpellEffIndex /*effIndex*/)
|
||||
// Vanish allows to remove all threat and cast regular stealth so other spells can be used
|
||||
if (m_caster->GetTypeId() == TYPEID_PLAYER
|
||||
&& m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE
|
||||
&& (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_ROGUE_VANISH))
|
||||
&& (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG0_ROGUE_VANISH))
|
||||
{
|
||||
m_caster->ToPlayer()->RemoveAurasByType(SPELL_AURA_MOD_ROOT);
|
||||
// Overkill
|
||||
|
||||
Reference in new issue
Block a user