[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:
Aeadoin
2022-12-30 17:18:05 -05:00
committed by GitHub
parent 8fc665a3c1
commit 0c9c78fbab
3 changed files with 6 additions and 10 deletions
+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);