From 61f31980cf204ed8207d96dea9fd71b1015898cb Mon Sep 17 00:00:00 2001 From: Laise Date: Mon, 1 Aug 2011 10:57:20 +0300 Subject: [PATCH] [11765] fix basepoints for auras with initial custom stack amount --- src/game/SpellAuras.cpp | 2 ++ src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 0b373e3d7..6b3900431 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -418,6 +418,8 @@ m_isPersistent(false), m_in_use(0), m_spellAuraHolder(holder) } } + damage *= holder->GetStackAmount(); + DEBUG_FILTER_LOG(LOG_FILTER_SPELL_CAST, "Aura: construct Spellid : %u, Aura : %u Target : %d Damage : %d", spellproto->Id, spellproto->EffectApplyAuraName[eff], spellproto->EffectImplicitTargetA[eff], damage); SetModifier(AuraType(spellproto->EffectApplyAuraName[eff]), damage, spellproto->EffectAmplitude[eff], spellproto->EffectMiscValue[eff]); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 51b001876..82cbdaead 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11764" + #define REVISION_NR "11765" #endif // __REVISION_NR_H__