aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellAuraEffects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp
index 2e46f4866a9..fa62761b31a 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -407,7 +407,7 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
int32 amount;
// default amount calculation
if (caster)
- amount = caster->CalculateSpellDamage(NULL, m_spellProto, m_effIndex);
+ amount = caster->CalculateSpellDamage(NULL, m_spellProto, m_effIndex, &m_baseAmount);
else
amount = m_baseAmount + 1;
@@ -1044,7 +1044,7 @@ void AuraEffect::UpdatePeriodic(Unit * caster)
break;
if (target->ToPlayer()->isMoving())
- m_amount = target->CalculateSpellDamage(target, m_spellProto,m_effIndex);
+ m_amount = target->CalculateSpellDamage(target, m_spellProto,m_effIndex, &m_baseAmount);
else
--m_amount;
break;