Yanfly BattleAICore Plugin Targets Fix

See my other requests on those threads, they definitely worth a check since l usually keep my requests to be used on any turn based game:

http://forums.rpgmakerweb.com/index.php?/topic/51728-state-manager/#entry511247

http://forums.rpgmakerweb.com/index.php?/topic/51567-enemies-battle-positioning/#entry509849

http://forums.rpgmakerweb.com/index.php?/topic/51562-state-counter/#entry509804

http://forums.rpgmakerweb.com/index.php?/topic/51561-smart-x-random-targeting/#entry509794

http://yanfly.moe/2015/10/19/yep-16-battle-a-i-core/

In the default plugin, yanfly has made this logic for enemy targeting:

HP% param < 60%: Strike, Highest MP

translates to

If any enemy is below 60% HP then do strike on the highest MP that have below 60% HP

The logic should be instead:

If the highest MP has below 60% HP, then do strike on that target

In this case, l will be open to ideas in order to fix that problem since im not 100% sure if there is another way to fix it.

Thanks
That change won't be practical, because you're missing the larger framework in that interpretation.


The AI structure is


check the top line, if the condition is met than do this, otherwise move to next line.


And in each line the structure is


condition, skill, target


Changing that structure will require you to redo the entire AI framework - it would be easier to write a new AI script instead.


I suggest you request an add-on to that script that gives new options on what to place as a condition, and have those options do what you want.
Fisherolol you do not take that tone against our staff here, you do not make our rules and you do not have the authority to say who does and does not post in your thread. I've hidden the posts concerning this matter. Do not respond to this post to further the issue.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-battleaicore-plugin-targets-fix.52125/