Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Fired when a unit's current power (mana, rage, focus, energy, runic power, holy power, ...) changes. See below for details.

UNIT_POWER_UPDATE: unitTarget, powerType

Payload[]

unitTarget
string : UnitId
powerType
string - resource whose value changed: "MANA", "RAGE", "ENERGY", "FOCUS", "HAPPINESS", "RUNIC_POWER", "HOLY_POWER".

Details[]

This event is fired under the following conditions:

  • A spell is cast which changes the unit's power.
  • The unit reaches full power.
  • While the unit's power is naturally regenerating or decaying, this event will only fire once every two seconds. See UNIT_POWER_FREQUENT for a more exact alternative.
Related API UnitPower
Related Events UNIT_POWER_FREQUENT
Related Enum Enum.PowerType

Patch changes[]

Battle for Azeroth Patch 8.0.1 (2018-07-17): Renamed to UNIT_POWER_UPDATE.
Cataclysm Patch 4.0.1 (2010-10-12): Added as UNIT_POWER, replacing several events such as UNIT_MANA and UNIT_ENERGY.

Advertisement