Just found 3 more lines that I think needed to be adjusted for it to work:
Code:
|| AIspells[i].type == SpellType_Combat_Buff
Code:
if(!AICastSpell(target, 20, SpellType_Nuke | SpellType_Lifetap | SpellType_DOT | SpellType_Combat_Buff)) {
Code:
if(!AICastSpell(target, 90, SpellType_Root | SpellType_Nuke | SpellType_Lifetap | SpellType_Snare | SpellType_DOT | SpellType_Combat_Buff)) {
Compiling it now and will post if it works or not. Crossing my fingers.