Hey folks,
I've been searching far and wide for a solution to a very specific problem I'm having, and was wondering if anyone here could help me out.
To give the long and short of it, I'm making use of Yanfly's STB plugin, alongside a plugin called CC_Telepathy which displays enemy actions above their sprites in battle. The game I'm designing is very strategy heavy and the intention is to allow you to prepare for the incoming turn by knowing exactly what the enemy battler plans to do next.
Here's the issue, though: with STB active, a battler's condition can change before their turn is made. Let's say my player attacks, and the enemy previously wanted to use an attack of some kind, but they're set to use a particular skill when at less than 100% hp. The enemy will now switch to the new option at the start of their turn, meaning the attack previously displayed above their head is effectively useless.
That leads me to my question: despite having a solid understanding of JavaScript, it's quite difficult to piece together Yanfly's code without spending hours combing through it, and I haven't managed to find any kind of fix. In an ideal world, I would like enemies to choose a new action at the end of their next turn, rather than at the start of it, such that the icon displaying which attack they plan to use above their head is always accurate. Is there any way I could go about doing this?
Thanks,
Median.
I've been searching far and wide for a solution to a very specific problem I'm having, and was wondering if anyone here could help me out.
To give the long and short of it, I'm making use of Yanfly's STB plugin, alongside a plugin called CC_Telepathy which displays enemy actions above their sprites in battle. The game I'm designing is very strategy heavy and the intention is to allow you to prepare for the incoming turn by knowing exactly what the enemy battler plans to do next.
Here's the issue, though: with STB active, a battler's condition can change before their turn is made. Let's say my player attacks, and the enemy previously wanted to use an attack of some kind, but they're set to use a particular skill when at less than 100% hp. The enemy will now switch to the new option at the start of their turn, meaning the attack previously displayed above their head is effectively useless.
That leads me to my question: despite having a solid understanding of JavaScript, it's quite difficult to piece together Yanfly's code without spending hours combing through it, and I haven't managed to find any kind of fix. In an ideal world, I would like enemies to choose a new action at the end of their next turn, rather than at the start of it, such that the icon displaying which attack they plan to use above their head is always accurate. Is there any way I could go about doing this?
Thanks,
Median.