v0.13.8

UnitPowerMax

functionimplementedavailable in: camelot

Returns the maximum power resource of the unit.

signaturewowlua
function UnitPowerMax(    unitToken: string,    powerType: PowerType?,    unmodified: boolean): number

Parameters

nametypedescription
unitTokenstring
powerTypePowerType?Type of resource (mana/rage/energy/etc) to query
unmodifiedbooleanReturn the higher precision internal value (for graphical use only) Default: false.

Returns

maxPower · number · The unit's maximum amount of the queried resource.

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 ↗.