mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
*Fix bug that Illidari Council is unlootable after succesfuly completing the encounter.
--HG-- branch : trunk
This commit is contained in:
@@ -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