[10908] Imporve detection need use reagents by triggered spell.

Now regagent used if main spell (if infor about provided to triggered cast)
not have regent data.

This fix reagetn use for spell 43723. But maybe need another fixes for proper animation.
This commit is contained in:
VladimirMangos 2010-12-23 00:54:15 +03:00
parent e1074c0ac1
commit a84d67a389
3 changed files with 7 additions and 4 deletions

View file

@ -1220,16 +1220,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
// Demon Broiled Surprise
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
case 43723:
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)
return;
((Player*)m_caster)->CastSpell(unitTarget, 43753, true);
((Player*)m_caster)->CastSpell(unitTarget, 43753, true, m_CastItem, NULL, m_originalCasterGUID, m_spellInfo);
return;
}
*/
case 43882: // Scourging Crystal Controller Dummy
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)