*Creatures no longer prioritize attacking unfeared targets over feared targets. By Tassader2.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-21 18:52:23 -06:00
parent 2d2f6f6785
commit 409100869c
+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 | UNIT_STAT_FLEEING)
target->hasUnitState(UNIT_STAT_CONFUSED)
) )
{
// current victim is a second choice target, so don't compare threat with it below