Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuller committed Nov 11, 2022
1 parent 6825972 commit 8c7e824
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dominos_Cast/castBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -402,23 +402,23 @@ function CastBar:UpdateEmpowering()
if name then
numStages = tonumber(numStages) or 0

local chargeSpell = numStages > 0

self:SetProperty("state", "empowering")
self:SetProperty("label", name or text)
self:SetProperty("icon", texture)
self:SetProperty("spell", spellID)
self:SetProperty("uninterruptible", notInterruptible)

self.timer:SetCountdown(false)
self.timer:SetShowLatency(self:Displaying("latency"))
self.timer:SetShowLatency(false)

local time = GetTime()
local startTime = startTimeMS / 1000
local endTime = endTimeMS / 1000
local endTime

if isChargeSpell then
endTime = endTime + GetUnitEmpowerHoldAtMaxTime(self.unit);
if numStages > 0 then
endTime = (endTimeMS + GetUnitEmpowerHoldAtMaxTime(unit)) / 1000;
else
endTime = endTimeMS / 1000
end

self.timer:Start(time - startTime, 0, endTime - startTime)
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* The exit vehicle button should work under more scenarios now
* Adjusted the strata of the queue status bar
* Add Evoker stance support (untested)
* Empowered spells should now show up on Dominos cast. Level display is not yet implemented

## 10.0.4

Expand Down

0 comments on commit 8c7e824

Please sign in to comment.