Wowpedia

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

READ MORE

Wowpedia
Register
Advertisement

Needs summary.

info = GetUnitPowerBarInfo(unitToken)
     = GetUnitPowerBarInfoByID(barID)

Arguments[]

GetUnitPowerBarInfo[]

unitToken
string : UnitId

GetUnitPowerBarInfoByID[]

barID
number - from UnitPowerBarID()

Returns[]

info
UnitPowerBarInfo
Field Type Description
ID number
barType number
minPower number
startInset number
endInset number
smooth boolean
hideFromOthers boolean
showOnRaid boolean
opaqueSpark boolean
opaqueFlash boolean
anchorTop boolean
forcePercentage boolean
sparkUnderFrame boolean
flashAtMinPower boolean
fractionalCounter boolean
animateNumbers boolean

Patch changes[]

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added. Replaces UnitAlternatePowerInfo() and UnitAlternatePowerCounterInfo() which are deprecated. [1]

Advertisement