[11870] Implement spells 49555 and 59807

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
breakwater 2011-12-21 18:36:26 +01:00 committed by Schmoozerd
parent 8f95cbab1a
commit 4324ffd7dd
2 changed files with 14 additions and 2 deletions

View file

@ -7807,7 +7807,19 @@ void Aura::PeriodicDummyTick()
// case 49313: break; // Proximity Mine Area Aura
// // Mole Machine Portal Schedule
// case 49466: break;
// case 49555: break; // Corpse Explode
case 49555: // Corpse Explode (Drak'tharon Keep - Trollgore)
case 59807: // Corpse Explode (heroic)
{
if (GetAuraTicks() == 3 && target->GetTypeId() == TYPEID_UNIT)
((Creature*)target)->ForcedDespawn();
else if (GetAuraTicks() != 2)
return;
if (Unit* pCaster = GetCaster())
pCaster->CastSpell(target, spell->Id == 49555 ? 49618 : 59809, true);
return;
}
// case 49592: break; // Temporal Rift
// case 49957: break; // Cutting Laser
// case 50085: break; // Slow Fall

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11869"
#define REVISION_NR "11870"
#endif // __REVISION_NR_H__