mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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