View Single Post
05-22-13, 03:12 PM   #9
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
oUF's altpower element would show the bar for every unit where the 6th return of UnitAlternatePowerInfo(unit) - hideFromOthers - is nil. Only exception is the player, where it would be always shown if present. You could also display the altpowerbar instead of the power bar by setting self.Power.displayAltPower = true. In that case the 7th return of UnitAlternatePowerInfo(unit) - showOnRaid - should be true. That's the case for encounters like Atramedes. You are not bound to obey that though, but in that case you would have to write your own implementation of the altpowerbar element or use self.Power.Override.
  Reply With Quote