mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +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;
|
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;
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue