Do not disband alt bots group when master goes away (#702)

* Do not disband alt bots group when master goes away

* This update makes the original PR functionality optional, which prevents alternative bots (random bots) from automatically leaving the group when the master leaves.

* Fix

---------

Co-authored-by: bash <31279994+hermensbas@users.noreply.github.com>
This commit is contained in:
EricksOliveira
2025-05-24 19:19:11 -03:00
committed by GitHub
parent c24b7a7bb3
commit f8660bc939
4 changed files with 16 additions and 5 deletions

View File

@@ -333,6 +333,8 @@ public:
bool equipmentPersistence;
int32 equipmentPersistenceLevel;
int32 groupInvitationPermission;
bool keepAltsInGroup = false;
bool KeepAltsInGroup() const { return keepAltsInGroup; }
bool allowSummonInCombat;
bool allowSummonWhenMasterIsDead;
bool allowSummonWhenBotIsDead;