Yanfly BattleAICore Plugin Targets Fix

lolshtar

Master of Magic thatknow nospell
Veteran
Joined
Apr 13, 2013
Messages
694
Reaction score
101
First Language
French
Primarily Uses
RMMV
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
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,430
Reaction score
7,711
First Language
German
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,450
Members
137,820
Latest member
georg09byron
Top