Cooldowns and CTB

I am using Yanfly's Skill Restrictions script. However, cooldowns that I have set with the usual note tag have no effect at all.

Is that because cooldowns are incompatible with CTB systems, due to the way that 'turn' is calculated, or have I found yet another bug with the PCTB script I'm using?

Thanks for any enlightenment that you can give.
By not having an effect, does it mean the cooldown is not applied or the cooldown is not updated (it's forever on cooldown without the cooldown counter goes down)?

It is possible that CTB/PCTB just overwrite the function to update the turn and not calling the update cooldown function if it was the latter. But without the reference to the script, idk if that was the case.
It's very possible you're right that turns are handled completely differently in the CTB - but it definitely depends on the CTB (I know when I made my own for a game years ago, the concept of "Turns" still existed but only one battler would act on each Turn).

However, in place of the Skill Restrictions script, you might want to try just handling Cooldowns through the use of States. Have each skill (with a cooldown) add a state to the user that Seals that skill for X turns (or actions). If the CTB is doing something incredibly weird it's possible this approach won't work, but I think it would be more innocuous than something like Yanfly's script, and less likely to conflict with your CTB.
@TheoAllen cooldowns were not being applied.
@Wavelength a state works. I've used 'action' rather than 'turn' for the duration, as I think that might be safer. However, I shall only know that for certain after much more playtesting.

Thank you both for your time and attention.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/cooldowns-and-ctb.122342/