Skip to content

Commit

Permalink
Reset tick when entering Cat Form in BCC
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed May 28, 2021
1 parent 9dee707 commit d32143c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NugEnergy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,9 @@ function NugEnergy.Initialize(self)
GetPower = GetPower_ClassicRogueTicker(nil, 19, 0, false)
NugEnergy.UNIT_MAXPOWER = UNIT_MAXPOWER_ClassicTicker
self:UnregisterEvent("UNIT_POWER_FREQUENT")
if APILevel == 2 then
lastEnergyTickTime = GetTime()
end
self:SetScript("OnUpdate",self.UpdateEnergy)
ClassicTickerFrame:Enable(true)
self:UpdateBarEffects()
Expand Down

0 comments on commit d32143c

Please sign in to comment.