aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-19 00:25:12 +0200
committerQAston <none@none>2009-04-19 00:25:12 +0200
commit8dc8babfb787578fb75214f1858168447c61b34c (patch)
treebfc930a1dc5e33162c530e31aa858b2c3eebf4bd /src/game/SpellAuras.cpp
parentd362d446bdfd98b68e33c5c90e9a61a78ac384ab (diff)
*Add coeficient for lifebloom final healing and temporary set amount of it to not increase while spell is stacked, proc improved mana shield with riptide.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 9a682ed22b0..8664988d03e 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2598,6 +2598,9 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real)
if (GetParentAura()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE && GetParentAura()->GetRemoveMode() != AURA_REMOVE_BY_ENEMY_SPELL)
return;
+ // Not needed in 3.1
+ m_amount /=GetParentAura()->GetStackAmount();
+
// final heal
if(m_target->IsInWorld())
m_target->CastCustomSpell(m_target,33778,&m_amount,NULL,NULL,true,NULL,this,GetCasterGUID());