Do not use outnumbererd trigger in raid group

This commit is contained in:
郑佩茹
2023-03-23 12:35:12 -06:00
parent 2394387e86
commit 0038b2bc08

View File

@@ -67,6 +67,9 @@ bool OutNumberedTrigger::IsActive()
if (bot->GetMap() && (bot->GetMap()->IsDungeon() || bot->GetMap()->IsRaid()))
return false;
if (bot->GetGroup() && bot->GetGroup()->isRaidGroup())
return false;
int32 botLevel = bot->getLevel();
uint32 friendPower = 200;
uint32 foePower = 0;