Fix defaults for clients

This commit is contained in:
nytmyr
2025-01-31 16:35:54 -06:00
parent e5bcb6acfc
commit 660cf91297
2 changed files with 13 additions and 57 deletions
+3 -3
View File
@@ -2283,9 +2283,9 @@ public:
int GetBotSetting(uint8 setting_type, uint16 bot_setting);
void SetBotSetting(uint8 setting_type, uint16 bot_setting, uint32 setting_value);
uint16 GetDefaultSpellDelay(uint16 spell_type, uint8 stance = Stance::Balanced);
uint8 GetDefaultSpellMinThreshold(uint16 spell_type, uint8 stance = Stance::Balanced);
uint8 GetDefaultSpellMaxThreshold(uint16 spell_type, uint8 stance = Stance::Balanced);
uint16 GetDefaultSpellDelay(uint16 spell_type);
uint8 GetDefaultSpellMinThreshold(uint16 spell_type);
uint8 GetDefaultSpellMaxThreshold(uint16 spell_type);
inline uint16 GetSpellDelay(uint16 spell_type) const { return m_bot_spell_settings[spell_type].delay; }
inline void SetSpellDelay(uint16 spell_type, uint16 delay_value) { m_bot_spell_settings[spell_type].delay = delay_value; }
inline uint8 GetSpellMinThreshold(uint16 spell_type) const { return m_bot_spell_settings[spell_type].min_threshold; }