v0.13.8

UNIT_POWER_UPDATE

eventimplementedavailable in: camelot

Fires when a unit's power, such as mana, rage or energy, changes. · description by wowlua

declarationwowlua
declare event UNIT_POWER_UPDATE(unitTarget: string, powerType: string)

Payload

#nametypedescription
1unitTargetstringThe unit whose power changed.
2powerTypestringThe power type that changed, such as MANA.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its inventory and units models. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.