Skip to content

Reducing cooldowns

Wouterz90 edited this page Jan 7, 2017 · 2 revisions

Whenever are reduced, do not use the GetCooldown() function, instead store the remaining cooldown and manipulate that after.

For example, mirana perk:

local cooldown = keys.ability:GetCooldownTimeRemaining()
keys.ability:EndCooldown()
keys.ability:StartCooldown(cooldown*cooldownReduction)