*Backout *[8394] Propertly reject self targeting for pet spell 2947 and ranks, and spell 54646.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-28 00:58:08 +02:00
parent 5be01b1d14
commit 562f661ac3
-11
View File
@@ -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