diff options
author | QAston <none@none> | 2009-07-10 00:29:49 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-10 00:29:49 +0200 |
commit | 474af870d71a46c02b28a713c19080af6e2f5781 (patch) | |
tree | f81c7ead79d7575b8d48018af9ec26a207da4f05 /src | |
parent | 107e7eafbdf3ae836442d1087d453aa16cccf968 (diff) |
*Fix Impurity.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e3c7eae83d9..a6314fa16b8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10213,6 +10213,9 @@ void Unit::MeleeDamageBonus(Unit *pVictim, uint32 *pdamage,WeaponAttackType attT } } } + // This is not a typo - Impurity has SPELLFAMILY_DRUID + if (AuraEffect const * aurEff = GetDummyAura(SPELLFAMILY_DRUID, 1986, 0)) + APbonus *= (100.0f + aurEff->GetAmount()) / 100.0f; DoneFlatBenefit += int32(APbonus/14.0f * GetAPMultiplier(attType,normalized)); } |