UnitPower
functionimplementedavailable in: camelot
Returns the current power resource of the unit.
function UnitPower( unitToken: string, powerType: PowerType?, unmodified: boolean): numberParameters
| name | type | description |
|---|---|---|
unitToken | string | |
powerType | PowerType? | Type of resource (mana/rage/energy/etc) to query |
unmodified | boolean | Return the higher precision internal value (for graphical use only) Default: false. |
Returns
power · number · the unit's current power level
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 ↗.