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.

And here's the Action Sequence:
Any help would be appreciated. Thanks
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.

And here's the Action Sequence:
<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, 30else perform startendwait for movementmotion attack: userattack animation: targetwait for animationaction effect: targetwait for animationwait for movementwait: 5motion attack: userattack animation: targetwait for animationaction effect: targetwait for animationwait for movementwait: 5motion attack: userattack animation: targetwait for animationaction effect: targetwait for animationwait for movementwait: 5motion attack: userattack animation: targetwait for animationaction effect: targetwait for animationwait for movementwait: 5</Target Action><Follow Action></Follow Action><Finish Action>camera resetimmortal: targets, falseperform finishwait for movement</Finish Action>Any help would be appreciated. Thanks