enable battleground

This commit is contained in:
Yunfan Li
2023-10-19 00:20:45 +08:00
parent e5e05988b2
commit 29b748803e
16 changed files with 151 additions and 36 deletions

View File

@@ -93,6 +93,11 @@ bool BgInviteActiveTrigger::IsActive()
return false;
}
bool InsideBGTrigger::IsActive()
{
return bot->InBattleground() && bot->GetBattleground();
}
bool PlayerIsInBattlegroundWithoutFlag::IsActive()
{
if (botAI->GetBot()->InBattleground())