Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-16-10, 07:56 AM   #20
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
The values returned by the Blizzard API do not tie directly into the information you want to display.

Code:
local power = UnitPower(unit, SPELL_POWER_ECLIPSE)
The above is the API call to get the current eclipse value, with the returned value being between -100 and 100 inclusive.

The value is negative when you are towards solar power, and positive when you are towards lunar power.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » EclipseBar


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