UnitAttackSpeed
functionimplementedavailable in: camelot
Returns the unit's melee attack speed for each hand.
function UnitAttackSpeed( unit: string): (number, number?, number?)Parameters
| name | type | description |
|---|---|---|
unit | string | The unit to get information from. (Verified for "player" and "target") |
Returns
| # | name | type |
|---|---|---|
| 1 | attackSpeed | number |
| 2 | offhandAttackSpeed | number? |
| 3 | rangedAttackSpeed | number? |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.