From 4324ffd7dd3418b5ea3b5f75027fb657c71e827f Mon Sep 17 00:00:00 2001 From: breakwater Date: Wed, 21 Dec 2011 18:36:26 +0100 Subject: [PATCH] [11870] Implement spells 49555 and 59807 Signed-off-by: Schmoozerd --- src/game/SpellAuras.cpp | 14 +++++++++++++- src/shared/revision_nr.h | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 454864977..348bdbcb5 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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 diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f7b451666..acea4bb1e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11869" + #define REVISION_NR "11870" #endif // __REVISION_NR_H__