[Bot Commands] Toggle Enforce Spell Settings (#2682)

* [Bot Commands] Toggle enforcespellsettings

* Cleanup

* Update bot_command.cpp

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
This commit is contained in:
AeadoinandAlex King authored and GitHub committed 2022-12-30 17:18:05 -05:00
1 parent 8fc665a3c1
commit 0c9c78fbab
3 files changed
+6 -10

No files matched your search

+1
View File
@@ -638,6 +638,7 @@ public:
void LoadBotSpellSettings();
bool UpdateBotSpellSetting(uint16 spell_id, BotSpellSetting* bs);
void SetBotEnforceSpellSetting(bool enforcespellsettings, bool save = false);
bool GetBotEnforceSpellSetting() const { return m_enforce_spell_settings; }
static void SpawnBotGroupByName(Client* c, std::string botgroup_name, uint32 leader_id);