Energy tick rate
I made a frame to track energy tick rates, but how do I sync it?
I started counting 2s from the first OnUpdate, but that doesn't work. When does the first energy tick happen? |
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.
|
Quote:
|
My bad. I was looking at how IceHUD does their energy tick, which is what I use, and I missed the part of the code that checks for WoW version.
|
All times are GMT -6. The time now is 05:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI