diff options
| author | megamage <none@none> | 2009-09-01 14:45:29 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-09-01 14:45:29 -0500 |
| commit | d879267f9bb2cbcb509a462bfdd9881c0fb8eea9 (patch) | |
| tree | 917e890de50cd270aa9fff0b75716e1f52fc67b6 /src | |
| parent | 3db602b2d19846cd27638ea33c142701b78c5ca4 (diff) | |
*Fix the final heal of lifebloom. The dispel issue is still not fixed.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
