mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 18:55:41 +00:00
[Avoid aoe] Position selection
This commit is contained in:
@@ -81,8 +81,10 @@ bool SummonAction::Execute(Event event)
|
||||
pet->GetCharmInfo()->IsReturning();
|
||||
}
|
||||
|
||||
if (master->GetSession()->GetSecurity() >= SEC_PLAYER)
|
||||
if (master->GetSession()->GetSecurity() >= SEC_PLAYER) {
|
||||
botAI->GetAiObjectContext()->GetValue<GuidVector>("prioritized targets")->Set({});
|
||||
return Teleport(master, bot);
|
||||
}
|
||||
|
||||
if (SummonUsingGos(master, bot) || SummonUsingNpcs(master, bot))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user