Multiple evaluation checks? (Yanfly Battle A.I Core)

AdamSakuru

[Null_Value]
Veteran
Joined
Mar 14, 2014
Messages
314
Reaction score
171
First Language
English
Primarily Uses
N/A
http://yanfly.moe/2015/10/19/yep-16-battle-a-i-core/

Is it possible to have multiple evaluations for a skill condition? And if so what's the correct way to do it?

<AI Priority>
Eval (State !== State 12) && (State !== State 13): 14, Highest ATK
Eval ((user.hp <= user.mhp * 1) && (State !== State 12): 14, Highest ATK
</AI Priority>

What I was going for was trying to see if I could have skills that needed more than one thing before they could be executed. I'm not sure if I did the syntax correctly for these since they aren't working.
 

Fernyfer775

Veteran
Veteran
Joined
Oct 6, 2013
Messages
1,317
Reaction score
818
First Language
English
Last I checked, (I had asked Yanfly specifically), there was no way to do more than one check. That was a while ago though, so I'm not 100% sure if Yanfly updated the plugin to be able to handle multiple checks.
 

AdamSakuru

[Null_Value]
Veteran
Joined
Mar 14, 2014
Messages
314
Reaction score
171
First Language
English
Primarily Uses
N/A
Last I checked, (I had asked Yanfly specifically), there was no way to do more than one check. That was a while ago though, so I'm not 100% sure if Yanfly updated the plugin to be able to handle multiple checks.
Oh okay, that would explain it. I came across this plugin extension for the AI Core at some point:
https://forums.rpgmakerweb.com/index.php?threads/battle-ai-core-extension.61403/

It sounds like it might allow for multiple checks since the eval conditions can be custom. Do you know if this would work for doing that?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,019
Members
137,564
Latest member
McFinnaPants
Top