diff options
| author | QAston <none@none> | 2009-02-06 22:08:03 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2009-02-06 22:08:03 +0100 |
| commit | e920c9d1abb165f533dc9563a27e342cc93e100d (patch) | |
| tree | f329ef0fece4b11ce21809052d75b0149f6b4e3e /src/game/StatSystem.cpp | |
| parent | ecfe941941039dd0aa16cda64b55dcf3a7170af5 (diff) | |
*Handle aura SPELL_AURA_MOD_HOT_PCT.
--HG--
branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
| -rw-r--r-- | src/game/StatSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 798bf3299d0..df0e677f0c2 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -72,8 +72,9 @@ bool Player::UpdateStats(Stats stat) break; } + // Need update (exist AP from stat auras) - if (HasAuraTypeWithMiscvalue(SPELL_AURA_MOD_MEELE_ATTACK_POWER_OF_STAT_PERCENT, stat)) + if (HasAuraTypeWithMiscvalue(SPELL_AURA_MOD_ATTACK_POWER_OF_STAT_PERCENT, stat)) UpdateAttackPowerAndDamage(false); if (HasAuraTypeWithMiscvalue(SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT, stat)) UpdateAttackPowerAndDamage(true); |
