v0.13.8

UnitHasPowerType

functionimplementedavailable in: camelot

Whether the unit uses the given power type. · description by wowlua

signaturewowlua
function UnitHasPowerType(    unitToken: string,    powerType: PowerType): boolean

Parameters

nametype
unitTokenstring
powerTypePowerType

Returns

hasPower · boolean

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: written by wowlua where no documentation describes the entry.