[10729] Add dummy aura effect of spell 47178 and dummy effect of 47176

Note: see comments in code for spell 47176

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-11-17 13:00:19 +01:00
parent 673b798863
commit 8140ff20d9
3 changed files with 15 additions and 1 deletions

View file

@ -1404,6 +1404,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
break;
}
case 47176: // Infect Ice Troll
{
// Spell has wrong areaGroupid, so it can not be casted where expected.
// TODO: research if spells casted by NPC, having TARGET_SCRIPT, can have disabled area check
if (!unitTarget)
return;
// Plague Effect Self
unitTarget->CastSpell(unitTarget, 47178, true);
return;
}
case 49357: // Brewfest Mount Transformation
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)