*Fix bug that Illidari Council is unlootable after succesfuly completing the encounter.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-06-17 17:13:30 +02:00
parent bd054b8453
commit 87790145c5

View File

@@ -407,7 +407,10 @@ struct TRINITY_DLL_DECL boss_illidari_councilAI : public ScriptedAI
{
if(Unit* pUnit = Unit::GetUnit(*m_creature, Council[i]))
if(pUnit != m_creature && damage < pUnit->GetHealth())
{
pUnit->SetHealth(pUnit->GetHealth() - damage);
((Creature*)pUnit)->LowerPlayerDamageReq(damage);
}
}
}