Thread: Bot spell issue
View Single Post
  #7  
Old 06-26-2014, 09:13 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

This section is probably what you will want to look at: https://github.com/EQEmu/Server/blob...llsai.cpp#L300

..in particular - https://github.com/EQEmu/Server/blob...llsai.cpp#L345


Changing this:
Code:
IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) ||
to:
Code:
/*IsEffectInSpell(selectedBotSpell.SpellId, SE_STR) ||*/
and recompiling should disregard the anti-str behavior for caster archetypes.


EDIT: Just remember that if you get 'too crazy' with overriding casting behavior, you may run out of spell slots
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote