*Mangos [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage. By DiSlord.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-04 16:45:32 -06:00
parent 2d319dd5b4
commit 13cfff2327
10 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ HostilReference* ThreatContainer::selectNextVictim(Creature* pAttacker, HostilRe
assert(target); // if the ref has status online the target must be there !
// some units are prefered in comparison to others
if(!noPriorityTargetFound && (target->IsImmunedToDamage(pAttacker->GetMeleeDamageSchoolMask(), false) || target->hasNegativeAuraWithInterruptFlag(AURA_INTERRUPT_FLAG_DAMAGE)) )
if(!noPriorityTargetFound && (target->IsImmunedToDamage(pAttacker->GetMeleeDamageSchoolMask()) || target->hasNegativeAuraWithInterruptFlag(AURA_INTERRUPT_FLAG_DAMAGE)) )
{
if(iter != lastRef)
{