*Use basepoints for effect 140 only when non-null.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-30 00:05:36 +02:00
parent ba26a738c4
commit 29e9bc64d1
+4 -1
View File
@@ -2028,7 +2028,10 @@ void Spell::EffectForceCast(uint32 i)
return;
}
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
if (damage)
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
else
unitTarget->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
}
void Spell::EffectTriggerSpell(uint32 i)