*Add more Player::CanUseAttackType checks in places where item bonuses are applied.
--HG-- branch : trunk
This commit is contained in:
1 parent
f3e97bfaae
commit
7b87ab4de7
4 files changed
+26
-19
No files matched your search
@@ -666,7 +666,7 @@ void Player::UpdateExpertise(WeaponAttackType attack)
|
||||
|
||||
int32 expertise = int32(GetRatingBonusValue(CR_EXPERTISE));
|
||||
|
||||
Item *weapon = GetWeaponForAttack(attack);
|
||||
Item *weapon = GetWeaponForAttack(attack, true);
|
||||
|
||||
AuraEffectList const& expAuras = GetAuraEffectsByType(SPELL_AURA_MOD_EXPERTISE);
|
||||
for (AuraEffectList::const_iterator itr = expAuras.begin(); itr != expAuras.end(); ++itr)
|
||||
|
||||
Reference in new issue
Block a user