PitBull4_PowerBarAlt

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

This functionality is now part of PitBull4! Please uninstall after updating to v4.0.0-beta23 or later

Shows an "alternate power" bar on PitBull unit frames for boss encounters like Atramedes and Cho'gall.

The default PlayerPowerBarAlt frame is hidden by default, you can change this in the PitBull4 config under Modules -> Alternate power bar.

This is pretty much the PowerBar module from PitBull4 by ckknight and Shefki stripped down and adapted to use the ALTERNATE_POWER_INDEX flag.

To show the percentage with LuaTexts you can use:

local max = UnitPowerMax(unit, 10)
if max > 0 then
  return "%s%%",Percent(UnitPower(unit, 10),max)
end

Updating on events UNIT_POWER and UNIT_MAXPOWER

About This Project

  • Project ID
    28662
  • Created
    Jan 18, 2011
  • Last Released File
    Feb 11, 2011
  • Total Downloads
    2,034
  • License

Categories

Members

Recent Files

WoW Retail

  • r9
    Feb 11, 2011
  • r7
    Jan 29, 2011