[11765] fix basepoints for auras with initial custom stack amount

This commit is contained in:
Laise 2011-08-01 10:57:20 +03:00
parent 22da544ab1
commit 61f31980cf
2 changed files with 3 additions and 1 deletions

View file

@ -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]);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11764"
#define REVISION_NR "11765"
#endif // __REVISION_NR_H__