*Fix bug that Illidari Council is unlootable after succesfuly completing the encounter.
--HG-- branch : trunk
This commit is contained in:
1 parent
bd054b8453
commit
87790145c5
1 file changed
+3
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user