mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Update UtgardeKeepTriggers.cpp
This commit is contained in:
parent
f75cd3b3af
commit
551a8c8ed1
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user