Fix typo in prev commit

This commit is contained in:
DiSlord 2009-01-04 17:31:34 +03:00
parent f893214e2b
commit 39c1f547f6

View file

@ -5016,7 +5016,7 @@ void Aura::HandleAuraModRangedAttackPowerOfStatPercent(bool apply, bool Real)
return;
// Recalculate bonus
if(m_target->GetTypeId() == TYPEID_PLAYER && (m_target->getClassMask() & CLASSMASK_WAND_USERS))
if(m_target->GetTypeId() == TYPEID_PLAYER && !(m_target->getClassMask() & CLASSMASK_WAND_USERS))
((Player*)m_target)->UpdateAttackPowerAndDamage(true);
}