SOLVED / Yanfly Skill Cooldown Issue

EuphemiaArtoria

Veteran
Veteran
Joined
Aug 6, 2013
Messages
63
Reaction score
75
First Language
English
Primarily Uses
RMMV
EDIT: Think I figured this out and it was down to my own individual hamhandedness. I had renamed the Skill Cooldown script file. When I deleted it and replaced it with the original, it worked again as expected. I'd delete this topic but I think I can. Sorry to bother you all! Thank you very much if you took the time to look at this.

Hi. Encountered a bug with Yanfly Skill Cooldown. The first time I have a battle after starting the game up, or using the battle test in the editor, cooldowns work fine. But in subsequent battles cooldowns stop working and abilities with cooldowns are usable every turn.

I was able to reproduce it with a new project created from scratch. Here are the steps:

  1. Start a new project
  2. Import the following scripts: YEP_CoreEngine (v 1.31), YEP_SkillCore (v1.12), YEP_X_SkillCooldowns (v1.12)
  3. Add the following notetag to the Heal and Fire skills: <Cooldown: 1>
  4. Make an event on the map with battle processing, fight 2 bats
  5. Run game. Fight the bats once, have Harold and Marsha use Heal and Fire respectively. Second turn they go on cooldown as expected. Defeat the bats with regular attacks
  6. Fight the bats a second time, repeat as before. This time Heal and Fire will not go on cooldown

I found that if only Heal had the cooldown, it worked as expected.

I'm totally stumped on this one. If anyone can tell me a decent way to debug to see how the cooldown costs are being evaluated at runtime I'd love to know.
 
Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top