[11064] Add dummy effect of spell 9976

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-01-22 12:29:39 +01:00
parent 49810598c6
commit 686d9b0c70
2 changed files with 12 additions and 1 deletions

View file

@ -821,6 +821,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
((Creature*)unitTarget)->SetDeathState(JUST_ALIVED);
return;
}
case 9976: // Polly Eats the E.C.A.C.
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
// Summon Polly Jr.
unitTarget->CastSpell(unitTarget, 9998, true);
((Creature*)unitTarget)->ForcedDespawn(100);
return;
}
case 10254: // Stone Dwarf Awaken Visual
{
if (m_caster->GetTypeId() != TYPEID_UNIT)