Save-Point
Skill Cooldown script - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Skill Cooldown script (/thread-7600.html)

Pages: 1 2


RE: Skill Cooldown script - DerVVulfman - 12-10-2019

Confused Are you commenting out the whole line?????
Try just commenting out the 'if effective'

Code:
user.cooldown[skill.id] = skill.cooldown # if effective

That may work even better.


RE: Skill Cooldown script - Fenriswolf - 12-10-2019

(12-10-2019, 04:17 AM)DerVVulfman Wrote: Confused  Are you commenting out the whole line?????
Try just commenting out the 'if effective'

Code:
user.cooldown[skill.id] = skill.cooldown # if effective

That may work even better.

That's what I did, but thanks  Very happy + Tongue sticking out