[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; 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 case 46797: // Quest - Borean Tundra - Set Explosives Cart
if (!unitTarget) if (!unitTarget)
return; return;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9415" #define REVISION_NR "9416"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__