Halls of Stone: Prevents Brann Bronzebeard stuck in combat.

--HG--
branch : trunk
This commit is contained in:
_manuel_
2010-01-05 21:49:48 -03:00
parent 4a0af0314e
commit 0bd566213a
@@ -632,6 +632,11 @@ struct TRINITY_DLL_DECL npc_brann_hosAI : public npc_escortAI
bIsLowHP = true; bIsLowHP = true;
} else if (bIsLowHP && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) > 30) } else if (bIsLowHP && (m_creature->GetHealth()*100 / m_creature->GetMaxHealth()) > 30)
bIsLowHP = false; bIsLowHP = false;
if (!UpdateVictim())
return;
DoMeleeAttackIfReady();
} }
}; };