I've noticed several wonderful plugins for adjusting enemy AI. I use Yanfly's currently, as that allows me to target characters based on rows. Is there a plugin to adjust the AI of party members that are under the effects of the autobattle flag? I need a greater level of control over auto battle AI because auto battle seems to ignore skill cool down.
Auto-Battle AI
RPG Maker MV SupportDo you just want to fix the cooldown issue or use all the features from Yanfly's AI plugin for actors?
If the former is the case, could you provide a link to the plugin you are using or describe what you did to achieve them?
I can't help you on the spot unfortunately, but I'll take a look at the plugins tomorrow if nobody else is faster.
If the former is the case, could you provide a link to the plugin you are using or describe what you did to achieve them?
I can't help you on the spot unfortunately, but I'll take a look at the plugins tomorrow if nobody else is faster.
Honestly, I don't know which I want without trying. My combat system is fairly complex. I've done my best to emulate the d20 system. The skill cool downs are achieved using Yanfly's YEP_X_SkillCooldowns.
In in order to replicate the d20 round structure, almost every skill in my game is <Instant>, but applies a Cooldown. If you use a standard action, it applies 1 round of Cooldown to all standard actions, as well as full round actions, but you can still use a move action or a swift action. The instant flag is from YEP_InstantCast.
If a character gets the autobattle flag, they can use infinite standard actions, and wipe out the entire enemy group with ease on one turn. If I can get cooldowns working, I would have to experiment and see if the built in auto battle is sufficient, or if it can't effectively manage the complexity of my system. I don't know, it might do ed stuff like move back and forth with no purpose just because it can. So, I may need to adjust the AI, like I can for enemies.
If none of that is possible, I have an alternate solution that will work, but it will use up hundreds of database entries, and I don't want to dedicate that many resources to it, since the database has a limit.
Could you provide a list of plugins you are using?
As far as I can tell, Yanfly's Instant Cast does not seem to support the autobattle trait. Autobattle actors should just ignore any <Instant> tag on skills they use. Also when I tested it, cooldowns were applied correctly, so the problem is probably something else.
Note that with the default settings, the first 7 skills in your database seemingly can't apply cooldowns.
In general, I don't know how big of a help I can be, I don't own the RPGMaker MV and am not that proficient in Javascript yet either, which makes it a bit complicated to search for errors in complex projects. But I'll try. 🙂
As far as I can tell, Yanfly's Instant Cast does not seem to support the autobattle trait. Autobattle actors should just ignore any <Instant> tag on skills they use. Also when I tested it, cooldowns were applied correctly, so the problem is probably something else.
Note that with the default settings, the first 7 skills in your database seemingly can't apply cooldowns.
In general, I don't know how big of a help I can be, I don't own the RPGMaker MV and am not that proficient in Javascript yet either, which makes it a bit complicated to search for errors in complex projects. But I'll try. 🙂
Original thread: https://forums.rpgmakerweb.com/threads/auto-battle-ai.62358/