aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuraEffects.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-04-11 11:16:42 +0400
committern0n4m3 <none@none>2010-04-11 11:16:42 +0400
commitbe95faff2370db63eedd812ab4e70bb87e34b570 (patch)
treed2db46e9e6161abe0dd8740461979b8309ef79c7 /src/game/SpellAuraEffects.cpp
parent457df07bd4fd1b394cfcdbb63d5ff76e87fe8c89 (diff)
Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuraEffects.cpp')
-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 4cdc09492fa..b632f79718a 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -376,7 +376,7 @@ pAuraEffectHandler AuraEffectHandler[TOTAL_AURAS]=
AuraEffect::AuraEffect(Aura * base, uint8 effIndex, int32 *baseAmount, Unit * caster) :
m_base(base), m_spellProto(base->GetSpellProto()), m_spellmod(NULL), m_periodicTimer(0),
m_tickNumber(0), m_effIndex(effIndex), m_isPeriodic(false), m_canBeRecalculated(true),
- m_baseAmount (baseAmount ? *baseAmount : m_spellProto->EffectBasePoints[m_effIndex])
+ m_baseAmount (baseAmount ? *baseAmount : m_spellProto->EffectBasePoints[m_effIndex] + 1)
{
CalculatePeriodic(caster, true);
@@ -409,7 +409,7 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
if (caster)
amount = caster->CalculateSpellDamage(m_spellProto, m_effIndex, m_baseAmount, NULL);
else
- amount = m_baseAmount + m_spellProto->EffectBaseDice[m_effIndex];
+ amount = m_baseAmount + 1;
// check item enchant aura cast
if (!amount && caster)