Target unit (handle)
Rawcode of ability
Changes(set) an ability’s cooldown at runtime for a specific unit.
It does not reduce the cooldown if the ability is currently on CD, it will have its new cooldown after the CD is over though.
Cooldown is a real, which means that it supports negative and positive numbers with decimals, in this case setting it to negative allows you to reduce an ability’s cooldown.
- return type
- Source code
native BlzSetUnitAbilityCooldown takes unit whichUnit, integer abilId, integer level, real cooldown returns nothing