Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-28-12, 05:05 AM   #1
Paopao001
A Fallenroot Satyr
 
Paopao001's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 20
Power bat alt issue

In some quests like Unyielding Fists: Trial of Bamboo,the player get into a vehicle but got altpower itself.
That is, UnitPower("player", ALTERNATE_POWER_INDEX) returns the value while UnitPower("vehicle", ALTERNATE_POWER_INDEX) returns nil.
But the unit of player frame is vehicle, not player. so the power bar alt don't show up in these cases.

Here's my solution. I wonder if anybody have a better solution.

https://github.com/Paojy/Altz-UI/com...dc836bd773df9b
__________________

I hope you could understand my broken English.
If I offended you it was unwitting.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Power bat alt issue


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off