*Update to Mangos 6989.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-30 16:03:36 -06:00
parent 5a5274d21f
commit 3d1d454055
6 changed files with 41 additions and 38 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ HostilReference* ThreatContainer::selectNextVictim(Creature* pAttacker, HostilRe
// some units are preferred in comparison to others
if(iter != lastRef && (target->IsImmunedToDamage(pAttacker->GetMeleeDamageSchoolMask(), false) ||
target->hasUnitState(UNIT_STAT_CONFUSED)
target->hasNegativeAuraWithInterruptFlag(AURA_INTERRUPT_FLAG_DAMAGE)
) )
{
// current victim is a second choice target, so don't compare threat with it below