*Allow SPELL_EFFECT_FORCE_CAST (140) to trigger spells with basepoints

*Correct target selection for unrelenting assault - by thenecromancer.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-07-29 22:11:15 +02:00
1 parent f4a90873b4
commit 5d920ddbc3
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2028,7 +2028,7 @@ void Spell::EffectForceCast(uint32 i)
return;
}
unitTarget->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &damage, NULL, NULL, true, NULL, NULL, m_originalCasterGUID);
}
void Spell::EffectTriggerSpell(uint32 i)