Auto-battle's AI?

Does anyone know of a way to have more control over actors' auto-battle AI?

I tried searching for it but somehow I haven't seen any relevant result so far. So I suspect it might be possible that the hyphen in "auto-battle" that mess it up.

Anyway, I'd like to be able to set more complex conditions such as being able to use action on opponents' states or hp, or even being able to make decision on allies' conditions/states.
Furthermore, if there is a way to adjust these conditions for your auto-battle actors via events then that would be amazing, but this is optional for now.

Are there scripts for these? Or is there a way to set this up without scripting?
You'd need to make a script for it because its handled by the game's default scripts.
Hmm

Is there any way to somehow make the AI condition in common event as a series of conditional branches that end in force action+end event processing and then include that common event into every battle page?
Yanfly's Auto-Battle script has a pretty decent AI but you can't control it, it is pretty much pre-set by the script author. Google Yanfly scripts VX ACE and you should find it pretty fast.

And be sure to use the github link on the same website, the dropbox has been down for 5+ years now.
Hmm

Is there any way to somehow make the AI condition in common event as a series of conditional branches that end in force action+end event processing and then include that common event into every battle page?

Hmmm technically, you could do that but it might end up really wonky.

Plus if you enable the auto battle flag, there might not be any non scripted way to actually prevent the autobattle AI from working on itself. So you might end up having both actions from the autobattle AI and your custom event AI
So, I came across these 2 interesting scripts that seems to be able to do what I want. I haven't tried any of it yet, but they are quite a read.

https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/automatic-battlers/
This one seems user-friendlier and a bit complex.

https://www.rpgmakercentral.com/topic/36683-how-to-make-custom-ai/
This one needs some setups and some scripting knowledge. I think the Victor's one is better but if it's not working out then this second one can do the job.(I personally like this one better from the look of it, but still have to try both of them out.)

Just so that anyone want to have better control of the AI.

EDIT1:
Found another which is pretty hard to understand....
https://rpgmaker.net/scripts/395/
https://forums.rpgmakerweb.com/index.php?threads/archeias-advanced-ai-conditions.36877/
https://www.rpgmakercentral.com/topic/22710-enemy-ai-targeting-priority-manipulator/
https://mrtrivelvx.wordpress.com/2014/11/09/enemy-ai-checks-tables/
or is it the auto battle the only part your looking for.
Yeah, just the auto battle for actors.

Original thread: https://forums.rpgmakerweb.com/threads/auto-battles-ai.111945/