This an extension plugin for Yanfly's
Battle A.I. Core script
This will give Actors with the Auto-Battle flag the same A.I. capabilities Yanfly's script gives to enemies.
Flag Actor requires:
Bear in mind, the actor must have learned the skill specified on the AI Priority notes in order for it to be able to be used.
Script is plug and play. Place below YEP_BattleAICore.
Link to script.
Btw, if you want the AI Priority to be strictly followed, just comment out the following line:
Code:
if ((random > this.aiLevel()) && (i != this.actor().aiPattern.length - 1)) continue;