RowFormation

Hello forum,

after days of no progress I decided to ask you guys. I'm german, so pardon my english...

I decided to make my Battle System ( Core + BattleCore + STB ) in an auto battle way (easier to balance was the main reason for this thought), where all my attention is focusing right now (i like tactical stuff). That's why YEP_BattleAICore is used. AI lvl is set to 100 (always do AutoAI formula correctly, right?).
Yep_RowFormation is used to place my actors where I want them to be. Max is 3 rows (front, mid, back). all rows have specific +-parameters (through states - front *300% tgr, mid *200% tgr, back *100% tgr).
I use Yep_X_BattlAITGRAddon to make the Enemy AI focusing on that TGR parameter.
Yep_TargetCore helps me give simple commands (atk frontrow first, highest/lowest tgr, highest/lowest hp% etc).

Enemy got the note flag

<AI Priority>
Always: Skill 1, Highest TGR
</AI Priority>

because i want them to atk front row first.. Skill 1 = default normal atk

Now to the real problem where I can't find a solution:

If I put 2+ Actors in ANY row, the enemy will MOSTLY attack the TOP actor. It's like any actor in party slot 1 has more prio than party slot 2+)
Is there a way to say "attack 1 random enemy in front row"? If I just write "Front Row" it's the whole row that gets damage, not just one actor/enemy... Did I do something wrong somewhere? Or is it even a plugin issue?

Thanks in advance.

Edit: I hope it's better to understand now. It's from the original source, not my edited files. That's what I understood you told me. If I missed something will edit it again.


Edit: After some thoughts, maybe I shouldn't use TGR, but instead another parameter that's always set (and doesn't change in battle somehow, like TGR does apparently?), so if all Actors in 1 row have X parameter, the targets would be chosen randomly in that row? Which parameter could I use instead? Sry, my brain is tired.
Could you pleased edit your opening post to include a link to Yanfly's web page where you got the Battle AI Core plugin. That way, if anyone needs to check something they don't have to go hunting.
Thanks.
Highest TGR means attack the character that has the highest Target Rate, which includes equipment , skills , ect. It has nothing to do with front row, you can have a character in the back row that has the Highest TGR. I see that you've made the front row a 300% multiple but that doesn't mean the front row will always be the highest, bases can be different.
Also, I don't believe it would randomly choose between a tie in TGR, which is why the top character is always chosen.
OK so it's not a plugin thing I guess?... hmm... any idea how/where to fix that (top actor higher priority set to random)?I really thought that TGR Plugin could solve that problem...
little bump

Original thread: https://forums.rpgmakerweb.com/threads/rowformation.90870/