Fandom

WoWWiki

API UnitAttackSpeed

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < UnitAttackSpeed

Returns the unit's melee attack speed for each hand.

mainSpeed, offSpeed = UnitAttackSpeed("unit");

ParametersEdit

ArgumentsEdit

unit 
UnitId - The unit to get information from. (Verified for "player" and "target")

ReturnsEdit

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki