mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[9416] Implement dummy effect of spell 46606
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
233e75ab4b
commit
61556d8ff0
2 changed files with 11 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue