From 562f661ac3bc64fecf4a847b506651a5d7306e0b Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 28 Aug 2009 00:58:08 +0200 Subject: *Backout *[8394] Propertly reject self targeting for pet spell 2947 and ranks, and spell 54646. --HG-- branch : trunk --- src/game/Spell.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 80636557f79..b766f3d75af 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4488,17 +4488,6 @@ SpellCastResult Spell::CheckCast(bool strict) return SPELL_FAILED_BAD_TARGETS; } } - - // Some special spells with non-caster only mode - - // Fire Shield - if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK && - m_spellInfo->SpellIconID == 16) - return SPELL_FAILED_BAD_TARGETS; - - // Focus Magic (main spell) - if (m_spellInfo->Id == 54646) - return SPELL_FAILED_BAD_TARGETS; } // check pet presents -- cgit v1.2.3