The title actually says it all. I want battlers to buff -e.g. ATK-Buff- only if their ATK-Buff isn't active at the moment. I want to prevent battlers from using the same buff skill over and over again. My goal is that opponents always have a buff active and don't use the buff otherwise. If the buff disappears, the opponents should notice this and cast it again immediately in the next turn.
Thought about doing this with "Turn No" in the database, but I guess this won't work properly if the player interferes their skill pattern (e.g. by using stun).
Sounds simple. Don't know if this can be done in a simple way, though. Any help?
Oof sorry, that's awkward.
Well I am not very familiar with Ace, so before I tell you any stupid stuff, I'll let someone else help you with this.
I don't have any knowledge about scripting or damage formulas, so I might have an idea about how to work around that. It might be a little rough and I don't know if it could work, but it's at least worth a try.
Add a status to the buffing skill that locks all other buffing skills. You'd have to specify all of those skills (unless they have the own category)individually, but then the player wouldn't be able to use any buffing skills. Of course, you'd need to remove that status when the buff disappears. I'm not sure how well it would work with enemies, but that's all I can think of.
My solution is close to what AMN posted, I had no idea that had been done before, so that makes things easier. I assume Hime's script does not change anything regarding the action rating (and just deal with the condition), here is what you can do
For buff action, put the rating at the highest rating, for example, 10
Then set the condition like !a.state?(10) (assuming state 10 is the buff state).
This way, if the condition is valid, every other action that is below 8 will not get executed and always use the buff action.