BlzSetUnitAttackCooldown

Parameters
whichUnit unit
cooldown real
weaponIndex integer
comment

Set a unit’s base Attack Cooldown, weapon index can be either 0 and 1 (a unit can have two different attacks) at runtime.

patch

1.29

return type
nothing
Source code
native BlzSetUnitAttackCooldown                    takes unit whichUnit, real cooldown, integer weaponIndex returns nothing
Source
common.j
wc3modding.com
BlzSetUnitAttackCooldown