From b2da4b11ce5a4ff530f576a7c39445c9f08e874a Mon Sep 17 00:00:00 2001 From: bobaz Date: Sat, 20 Jun 2009 02:19:15 +0200 Subject: [PATCH] [8049] Added energize effect after last heal tick for 33763 and ranks. Signed-off-by: ApoC --- src/game/SpellAuras.cpp | 6 ++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index d42e7ccc3..fad9cd9ce 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2371,6 +2371,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real) { int32 amount = m_modifier.m_amount / m_stackAmount; m_target->CastCustomSpell(m_target, 33778, &amount, NULL, NULL, true, NULL, this, GetCasterGUID()); + + if (caster) + { + int32 returnmana = (GetSpellProto()->ManaCostPercentage * caster->GetCreateMana() / 100) * m_stackAmount / 2; + caster->CastCustomSpell(caster, 64372, &returnmana, NULL, NULL, true, NULL, this, GetCasterGUID()); + } } } return; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 6510df520..41cfb1377 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 "8048" + #define REVISION_NR "8049" #endif // __REVISION_NR_H__