→ WoW API
Returns the unit's melee attack speed for each hand.
mainSpeed, offSpeed = UnitAttackSpeed("unit");
Parameters[edit | edit source]
Arguments[edit | edit source]
- UnitId - The unit to get information from. (Verified for "player" and "target")
Returns[edit | edit source]
- Number - The unit's base main hand attack speed (seconds)
- Number - The unit's offhand attack speed (seconds) - nil if the unit has no offhand weapon.
Community content is available under CC-BY-SA unless otherwise noted.