mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Merge pull request #575 from avirar/master
Update UtgardeKeepTriggers.cpp
This commit is contained in:
@@ -8,7 +8,8 @@ bool KelesethFrostTombTrigger::IsActive()
|
||||
GuidVector members = AI_VALUE(GuidVector, "group members");
|
||||
for (auto& member : members)
|
||||
{
|
||||
if (botAI->GetUnit(member)->HasAura(DEBUFF_FROST_TOMB))
|
||||
Unit* unit = botAI->GetUnit(member);
|
||||
if (unit && unit->HasAura(DEBUFF_FROST_TOMB))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user