mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Do not use outnumbererd trigger in raid group
This commit is contained in:
parent
2394387e86
commit
0038b2bc08
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user