Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API UnitAttackSpeed

From WoW Classic Wiki
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