mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
fix(Scripts/Temple of AhnQiraj): Qiraji Champion. (#12965)
This commit is contained in:
@@ -406,13 +406,16 @@ bool CreatureGroup::IsFormationInCombat()
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CreatureGroup::IsAnyMemberAlive()
|
||||
bool CreatureGroup::IsAnyMemberAlive(bool ignoreLeader /*= false*/)
|
||||
{
|
||||
for (auto const& itr : m_members)
|
||||
{
|
||||
if (itr.first && itr.first->IsAlive())
|
||||
{
|
||||
return true;
|
||||
if (!ignoreLeader || itr.first != m_leader)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user