→ WoW API
Returns the unit's melee attack speed for each hand.
mainSpeed, offSpeed = UnitAttackSpeed("unit");
- UnitId - The unit to get information from. (Verified for
- Number - The unit's base main hand attack speed (seconds)
- Number - The unit's offhand attack speed (seconds) -
nilif the unit has no offhand weapon.