Cooldowns and CTB

Status
Not open for further replies.

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,005
Reaction score
11,337
First Language
English
Primarily Uses
RMVXA
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.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,288
Reaction score
6,042
First Language
Indonesian
Primarily Uses
RMVXA
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.
 
  • Like
Reactions: Kes

Wavelength

Edge of Eternity
Global Mod
Joined
Jul 22, 2014
Messages
5,160
Reaction score
4,469
First Language
English
Primarily Uses
RMVXA
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.
 
  • Like
Reactions: Kes

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,005
Reaction score
11,337
First Language
English
Primarily Uses
RMVXA
@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.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,264
Reaction score
4,391
First Language
English
Primarily Uses
RMMV

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.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Yo Ho Ho... Time flies when you are having rum...

I'm rewatching Glee, just watched grilled cheesus.
Now I'm not sure if I'm hungry or I want to cry.
I just completed Ara Fell - completing the game unlocks an Epilogue. An interesting thing to possibly consider for my games.
I decided to try to make a mucha-styled artwork, and by now I've sunk more time in studies and sketches than I usually do in the whole thing. Fingers crossed it's worth it!

Forum statistics

Threads
99,452
Messages
965,437
Members
131,067
Latest member
LeoWolf
Top