WoW:API UnitAttackSpeed

Revision as of 18:15, 23 December 2004 by WoWWiki>Flickering (First version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UnitAttackSpeed -Documentation by Flickering-
mainSpeed, offSpeed = UnitAttackSpeed("unit");

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


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

Returns
mainSpeed, offSpeed
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.

Template:WoW API