There is nothing you can use to directly tell you about energy ticks, you can only sync them with the event UNIT_ENERGY. It always fires when you login to a rogue, which should be the start of the tick, so start your OnUpdate count on that event. If it still isn't syncing up, try coding it to resync itself every time it measures an energy increase outside of combat.
|