Berserk AI Expansion scripts?

So I'm curious. Is there a script out there that gives actors put under "attack enemies / allies / anyone" statuses dedicated AI routines that make them use the moves they know as opposed to the basic attack command?

A bit like how enemies work, if that makes any sense.

I ask because I have some interesting ideas to make Berserk/Charm more useful, the most important of which being guest fighters that you can't directly control.
If I remember correctly there was an Ace script that makes an actor use a specified enemy attack pattern for autobattle, but I don't remember which one it was or if it still is available somewhere.
This one? https://www.rpgmakercentral.com/topic/20886-doublex-rmvxa-confusion-edit/

Wow, holy hell! This one does exactly what I wanted! I'll admit when I saw "confusion state" I was wondering if it would apply to "attack only enemies/allies" statuses too, but testing proved that it does in fact work.

It doesn't conflict with any script as far as I'm aware, based on the run of battles I've done with this after you've shown me.

Only real problem I can see is Charmed allies nuking the battlefield due to how powerful Skills are compared to the normal attack command, so there might need to be a countermeasure for that... but that's something I can figure out for myself.

(Oh wait, does this DoubleX script also come with something that prevents that kind of thing from happening? Never mind then.)

Thanks guys. 😍
Wow, holy hell! This one does exactly what I wanted! I'll admit when I saw "confusion state" I was wondering if it would apply to "attack only enemies/allies" statuses too, but testing proved that it does in fact work.

It doesn't conflict with any script as far as I'm aware, based on the run of battles I've done with this after you've shown me.

Only real problem I can see is Charmed allies nuking the battlefield due to how powerful Skills are compared to the normal attack command, so there might need to be a countermeasure for that... but that's something I can figure out for myself.

(Oh wait, does this DoubleX script also come with something that prevents that kind of thing from happening? Never mind then.)

Thanks guys. 😍
You could try lowering attack/matk in those states
Re-opening this thread because of one critical problem:

JDlDENH.png


This happens when:
* Two people both have a confusion edit status on >> Always Exclude Self is set to False, but having it at True makes this script not work at all.

@DoubleX @Roninator2 do you have any ideas how to fix this?
That error is saying @targets_confusion_edit doesn't exist, yet it is specified in the initialize.
Do you have any scripts overwriting this value or the functions in Game Action?
You could try adding attr_reader :targets_confusion_edit in Game_Action -> line 152
Not sure if it will help.
That error is saying @targets_confusion_edit doesn't exist, yet it is specified in the initialize.
Do you have any scripts overwriting this value or the functions in Game Action?
You could try adding attr_reader :targets_confusion_edit in Game_Action -> line 152
Not sure if it will help.

... So never mind me, it was actually just bad script placement. I moved it to the top of the list and it doesn't crash anymore. I just figured it was something clashing in the script itself, so oops.

Original thread: https://forums.rpgmakerweb.com/threads/berserk-ai-expansion-scripts.143714/