Cooldown for Skill Not Working

Hey y'all,

I have a skill that has the user do their normal attack more than once. I have it so there's a cooldown after using it, but for some reason, the cooldown's not working, and the character can just use that skill again immediately. I've tried it using the notetags and Action Sequences, but the skill won't proc the cooldown.
multi_attack.png
And here's the Action Sequence:
Spoiler
<Cooldown: 30>

<Setup Action>
immortal: targets, true
</Setup Action>

<Whole Action>
</Whole Action>

<Target Action>
if user.attackMotion() !== 'missile'
camera focus: target
zoom: 120%, 30
move user: targets, front, 30
else
perform start
end

wait for movement
motion attack: user
attack animation: target
wait for animation
action effect: target
wait for animation
wait for movement
wait: 5
motion attack: user
attack animation: target
wait for animation
action effect: target
wait for animation
wait for movement
wait: 5
motion attack: user
attack animation: target
wait for animation
action effect: target
wait for animation
wait for movement
wait: 5
motion attack: user
attack animation: target
wait for animation
action effect: target
wait for animation
wait for movement
wait: 5
</Target Action>

<Follow Action>
</Follow Action>

<Finish Action>
camera reset
immortal: targets, false
perform finish
wait for movement
</Finish Action>

Any help would be appreciated. Thanks
We really don't need the whole action sequence, that has nothing to do with it.

Dang, 30 turns? 😛

Do you have Yanfly's Skill Cooldown installed, in the correct place in your plugin manager, and it works on other skills?
i copypasted it into my project and it works perfectly for me. maybe the problem lies within another plugin? have you tried it with the cooldown plugin alone and reenabling them a few at a time?
Do you have Yanfly's Skill Cooldown installed, in the correct place in your plugin manager, and it works on other skills?
Yep, all of the above are correct.

The skill I had before (that wasn't going into cooldown) was in slot 5. I just copy-pasted it into a lower slot, and now it works perfectly.

I don't get it, though. Why would its skill number affect what I was trying to do?
I don't get it, though. Why would its skill number affect what I was trying to do?
There's a whole list of notetags in the documentation that can go on any database item which affect skill cooldowns by ID. You may have entered one of those someplace and forgotten, or used the wrong ID.

Also, did you properly configure all the plugin parameters before you started to use the plugin? 5 is one of the IDs listed by default in the Cooldown Bypass parameter.
the plugin parameters have a default setting that the first 7 skills are exempt from having cooldowns. did you keep that?

Original thread: https://forums.rpgmakerweb.com/threads/cooldown-for-skill-not-working.168909/