From 0866c165427d00b8c7f59a7b4be32944adcdce98 Mon Sep 17 00:00:00 2001 From: Reamer Date: Fri, 17 Aug 2012 16:47:00 +0200 Subject: [PATCH] [12095] Implement spell 64217 --- src/game/SpellAuras.cpp | 9 +++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 73315864e..d9f8882ec 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -8136,6 +8136,15 @@ void Aura::PeriodicDummyTick() target->CastSpell(target, 62593, true); return; } + case 64217: // Overcharged + { + if (GetHolder()->GetStackAmount() >= 10) + { + target->CastSpell(target, 64219, true); + target->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false); + } + return; + } case 66118: // Leeching Swarm case 67630: // Leeching Swarm case 68646: // Leeching Swarm diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4dd2c2f4b..232179308 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 "0124" + #define REVISION_NR "12095" #endif // __REVISION_NR_H__