I have custom spells for the enemy AI, but they don't use them automatically for some reason. The enemy is Neutral Passive (player 15) and I don't know how to, if there is a way, to make them use spells on their own (I.E. impale). I think they use blink on their own though.