CooldownLib

by Ter13
Handle attack/skill cooldown periods flexibly and simply (supports saving) [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Ter13.CooldownLib##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Ter13.CooldownLib##version=3

70 downloads
Version 2.0
Date added: Dec 28 2016
Last updated: Aug 27 2017
0 fans
CooldownLib allows you to handle ability cooldowns on mobs.

Cooldowns are inherently just named time offsets. CooldownLib provides functions for getting single and multiple cooldowns at once, setting a single cooldown, and also contains behavior that will allow you to save and restore players with cooldowns relative to the real time passed between when they saved and loaded, or even to not be saved between login sessions at all.