WoW API: UnitAttackSpeed
Jump to navigation
Jump to search
Returns the unit's melee attack speed for each hand.
mainSpeed, offSpeed = UnitAttackSpeed("unit");
Parameters[edit]
Arguments[edit]
- unit
- UnitId - The unit to get information from. (Verified for "player" and "target")
Returns[edit]
- mainSpeed
- Number - The unit's base main hand attack speed (seconds)
- offSpeed
- Number - The unit's offhand attack speed (seconds) - nil if the unit has no offhand weapon.