Bot command spells and bot ai spells draw from two different sources.
AI spells come from the database and probably are not up-to-date.
Command spells, however, come directly from the in-memory spell sub-system:
https://github.com/EQEmu/Server/blob...mmand.cpp#L118
- in particular:
https://github.com/EQEmu/Server/blob...mmand.cpp#L436
You should get a log report that looks like this:
Quote:
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'RuleI(Bots, CommandSpellRank)' set to 1.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_BindAffinity' returned 14 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Charm' returned 48 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Cure' returned 149 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Depart' returned 157 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Escape' returned 4 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Identify' returned 5 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Invisibility' returned 30 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Levitation' returned 13 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Lull' returned 27 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Mesmerize' returned 42 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_MovementSpeed' returned 21 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Resistance' returned 83 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Resurrect' returned 18 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Rune' returned 21 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_SendHome' returned 2 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Size' returned 4 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_Stance' returned 187 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_SummonCorpse' returned 18 spell entries.
[06-02-2016 :: 19:57:42] [Commands] load_bot_command_spells(): - 'SpT_WaterBreathing' returned 11 spell entries.
|
If there's an issue with what spells are being chosen, the best place to discriminate would be in the command handler itself:
https://github.com/EQEmu/Server/blob...mand.cpp#L3394
Bot command 'size' shows an example of how to discriminate arguments:
https://github.com/EQEmu/Server/blob...mand.cpp#L3783
EDIT:
The spell system is designed to use the most level-appropriate spells available - which may not be what is desired in all cases.
An argument to force 'spirit' over 'scale' would probably be the best solution..though, you could completely exclude 'scale' from the spell load by 'continue'ing if its id matches.