mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
[Combat formation] Avoid flee repeatly
This commit is contained in:
@@ -83,6 +83,7 @@ bool SummonAction::Execute(Event event)
|
||||
|
||||
if (master->GetSession()->GetSecurity() >= SEC_PLAYER) {
|
||||
// botAI->GetAiObjectContext()->GetValue<GuidVector>("prioritized targets")->Set({});
|
||||
SET_AI_VALUE(std::list<FleeInfo>, "recently flee info", {});
|
||||
return Teleport(master, bot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user