*Fix a bug that melee weapon spells deal too much damage.
--HG-- branch : trunk
This commit is contained in:
1 parent
2483026d8e
commit
0f0f38c6d7
2 files changed
+5
-5
No files matched your search
@@ -5404,9 +5404,6 @@ int32 Spell::CalculateDamageDone(Unit *unit, const uint32 effectMask, float *mul
|
||||
|
||||
if(m_damage > 0)
|
||||
{
|
||||
if(m_originalCaster)
|
||||
m_damage = m_originalCaster->SpellDamageBonus(unit, m_spellInfo, m_damage, SPELL_DIRECT_DAMAGE);
|
||||
|
||||
if(IsAreaEffectTarget[m_spellInfo->EffectImplicitTargetA[i]] || IsAreaEffectTarget[m_spellInfo->EffectImplicitTargetB[i]])
|
||||
{
|
||||
if(int32 reducedPct = unit->GetMaxNegativeAuraModifier(SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE))
|
||||
|
||||
Reference in new issue
Block a user