summon when group config

This commit is contained in:
Yunfan Li
2023-12-17 23:04:05 +08:00
parent cf4f2d7309
commit ced051b16c
5 changed files with 12 additions and 2 deletions

View File

@@ -41,5 +41,9 @@ bool AcceptInvitationAction::Execute(Event event)
botAI->Reset();
botAI->TellMaster("Hello");
if (sPlayerbotAIConfig->summonWhenGroup) {
Teleport(inviter, bot);
}
return true;
}