mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 21:32:17 +00:00
[Bots] Cleanup Spell Settings Commands (#2607)
* [Bots] Cleanup Spell Settings Commands * Update Bot DB version * typo
This commit is contained in:
1 parent
61b91d92c3
commit
80fffb57b1
8 files changed
+122
-28
No files matched your search
@@ -88,6 +88,23 @@ struct BotSpellSetting {
|
||||
bool is_enabled;
|
||||
};
|
||||
|
||||
struct BotSpells_Struct {
|
||||
uint32 type; // 0 = never, must be one (and only one) of the defined values
|
||||
int16 spellid; // <= 0 = no spell
|
||||
int16 manacost; // -1 = use spdat, -2 = no cast time
|
||||
uint32 time_cancast; // when we can cast this spell next
|
||||
int32 recast_delay;
|
||||
int16 priority;
|
||||
int16 resist_adjust;
|
||||
uint8 minlevel;
|
||||
uint8 maxlevel;
|
||||
int16 min_hp; // >0 won't cast if HP is below
|
||||
int16 max_hp; // >0 won't cast if HP is above
|
||||
std::string bucket_name;
|
||||
std::string bucket_value;
|
||||
uint8 bucket_comparison;
|
||||
};
|
||||
|
||||
#endif // BOTS
|
||||
|
||||
#endif // BOT_STRUCTS
|
||||
Reference in new issue
Block a user