Originally Posted by Copialinex
I'm currently working on an addon to track Solar & Lunar Energy in moonkin, but I have no beta key, so I'd be very grateful if you can answer me some questions:
Does the UnitPower("player",8) return the energy? I know 9 is holy power and 7 are soul shards, so I think 8 is for Moonkin energy, but I'm not sure.
I think /dump UnitPower("player",8) would be enough (maybe you need to be moonkin)
Also, I'd like to know the eclipse bar's frame's name, but I'm not sure how to find it.
Thank you!
|
Have a look at Blizzards implementation of the eclipse bar, it should tell you everything you need:
EclipseBarFrame.lua
EclipseBarFrame.xml