From d879267f9bb2cbcb509a462bfdd9881c0fb8eea9 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 1 Sep 2009 14:45:29 -0500 Subject: *Fix the final heal of lifebloom. The dispel issue is still not fixed. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 4311a0c208e..217db41e297 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1796,6 +1796,7 @@ void Aura::SetStackAmount(uint8 stackAmount, bool applied) SendAuraUpdate(); } +// TODO: lifebloom should bloom when each stack is dispelled bool Aura::modStackAmount(int32 num) { // Can`t mod @@ -3099,7 +3100,9 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount) return; // final heal - if(m_target->IsInWorld()) + //if(m_target->IsInWorld()) + // This may be a hack, but we need a way to count healing bonus three times + for(uint8 i = 0; i < GetParentAura()->GetStackAmount(); ++i) m_target->CastCustomSpell(m_target,33778,&m_amount,NULL,NULL,true,NULL,this,GetCasterGUID()); // restore mana -- cgit v1.2.3