diff options
author | Machiavelli <none@none> | 2009-06-17 17:14:25 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-17 17:14:25 +0200 |
commit | d9057a8189abf953569f62c6a2b0e1aeb242fb32 (patch) | |
tree | 8b43dad76a1fea951fab889010d843d33fff6d0a /src/game/StatSystem.cpp | |
parent | 87790145c548bfa18d1c964f062268905ab7137c (diff) | |
parent | e405e6f9ede8c9ce5db647fdffb1dd6c008856eb (diff) |
*Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r-- | src/game/StatSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 7a0b6f285eb..8287ed2b2bf 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -378,7 +378,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged ) AuraEffectList const& mAPbyArmor = GetAurasByType(SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR); for(AuraEffectList::const_iterator iter = mAPbyArmor.begin(); iter != mAPbyArmor.end(); ++iter) // always: ((*i)->GetModifier()->m_miscvalue == 1 == SPELL_SCHOOL_MASK_NORMAL) - attPowerMod += int32(GetArmor() / (*iter)->GetMiscValue()); + attPowerMod += int32(GetArmor() / (*iter)->GetAmount()); } float attPowerMultiplier = GetModifierValue(unitMod, TOTAL_PCT) - 1.0f; |