mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 16:58:02 +00:00
[Bots] Add Bot-specific Spell Settings. (#2553)
* [Bots] Add Bot-specific Spell Settings. # Notes - Allows players to set `priority`, `min_level`, `max_level`, `min_hp`, `max_hp`, and `is_enabled` settings per spell based on targeted bot. - Lets players disable spells they don't want their bots casting or change the criteria they cast them at if they want. * Update botspellsai.cpp * Update 2022_11_19_bot_spell_settings.sql * Typo. * Update botspellsai.cpp * Cleanup and add Reload Methods to Perl/Lua.
This commit is contained in:
@@ -79,6 +79,15 @@ struct BotAA {
|
||||
uint8 total_levels;
|
||||
};
|
||||
|
||||
struct BotSpellSetting {
|
||||
int16 priority;
|
||||
uint8 min_level;
|
||||
uint8 max_level;
|
||||
int8 min_hp;
|
||||
int8 max_hp;
|
||||
bool is_enabled;
|
||||
};
|
||||
|
||||
#endif // BOTS
|
||||
|
||||
#endif // BOT_STRUCTS
|
||||
|
||||
Reference in New Issue
Block a user