*Move target selection check for Death Coil to Spell::CheckCast - by Astellar

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-07-14 13:26:28 +02:00
1 parent e18b7ad4a6
commit 2f5befd26a
2 files changed
+6 -3

No files matched your search

-3
View File
@@ -1905,9 +1905,6 @@ void Spell::EffectDummy(uint32 i)
{
if(m_caster->IsFriendlyTo(unitTarget))
{
if(unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD)
return;
int32 bp = damage * 1.5f;
m_caster->CastCustomSpell(unitTarget, 47633, &bp, NULL, NULL, true);
}