If the latter is true, I would change this - the s...
# kvision
r
If the latter is true, I would change this - the state should only keep the information if the weapon is active or inactive. Instead of resetting and decreasing the value every second, I would start a single timer set for cooldownMax seconds after deactivation, and dispatch the activation action when the timer ends. Independent timers for all inactive skills would work fine.