[9416] Implement dummy effect of spell 46606

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-02-20 00:02:10 +01:00
parent 233e75ab4b
commit 61556d8ff0
2 changed files with 11 additions and 1 deletions

View file

@ -1253,6 +1253,16 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
}
return;
}
case 46606: // Plague Canister Dummy
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
unitTarget->CastSpell(m_caster, 43160, true);
unitTarget->setDeathState(JUST_DIED);
unitTarget->SetHealth(0);
return;
}
case 46797: // Quest - Borean Tundra - Set Explosives Cart
if (!unitTarget)
return;