Method Unit:GetAttackTimer [-] [+]
Returns the Unit's attack timer of given [WeaponAttackType].
enum WeaponAttackType : uint8 { BASE_ATTACK = 0, OFF_ATTACK = 1, RANGED_ATTACK = 2, MAX_ATTACK };
Synopsis
time = Unit:GetAttackTimer( type )
Arguments
WeaponAttackType type
- See method description.
Returns
number time
Valid numbers: integers from 0 to 4,294,967,295.