*Fix Impurity.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-10 00:29:49 +02:00
parent 107e7eafbd
commit 474af870d7
3 changed files with 25 additions and 1 deletions
+3
View File
@@ -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));
}