mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Do not use outnumbererd trigger in raid group
This commit is contained in:
@@ -67,6 +67,9 @@ bool OutNumberedTrigger::IsActive()
|
|||||||
if (bot->GetMap() && (bot->GetMap()->IsDungeon() || bot->GetMap()->IsRaid()))
|
if (bot->GetMap() && (bot->GetMap()->IsDungeon() || bot->GetMap()->IsRaid()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (bot->GetGroup() && bot->GetGroup()->isRaidGroup())
|
||||||
|
return false;
|
||||||
|
|
||||||
int32 botLevel = bot->getLevel();
|
int32 botLevel = bot->getLevel();
|
||||||
uint32 friendPower = 200;
|
uint32 friendPower = 200;
|
||||||
uint32 foePower = 0;
|
uint32 foePower = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user