The AI will continually spam spells into my very boosted spell resistance, even with no chance of successfully completing the slow, or curse spell they fire, they will not put my spell resist and they're spell mastery into the calculation.
Might need a few lines of code to think about this.
The example I just had the enemy with 78 spell mastery would spam the spell "Slow" into my powered sov at 130 spell resist to no avail, casting it 10 times in combat waiting for it to succeed.
Sincerely
~ Kongdej