mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11064] Add dummy effect of spell 9976
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
49810598c6
commit
686d9b0c70
2 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue