Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Azilroka
ProjectAzilroka
Commits
68366ecd
Commit
68366ecd
authored
Oct 28, 2020
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iFilger: Cooldown table was changed
parent
9e170c6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Modules/iFilger.lua
Modules/iFilger.lua
+3
-3
No files found.
Modules/iFilger.lua
View file @
68366ecd
...
@@ -224,7 +224,7 @@ function iFilger:UpdateActiveCooldowns()
...
@@ -224,7 +224,7 @@ function iFilger:UpdateActiveCooldowns()
if (CurrentDuration and CurrentDuration >= COOLDOWN_MIN_DURATION) then
if (CurrentDuration and CurrentDuration >= COOLDOWN_MIN_DURATION) then
if Panel.db.StatusBar then
if Panel.db.StatusBar then
local timervalue, formatid = PA:GetTimeInfo(CurrentDuration, iFilger.db.
c
ooldown.threshold)
local timervalue, formatid = PA:GetTimeInfo(CurrentDuration, iFilger.db.
C
ooldown.threshold)
local color = PA.TimeColors[formatid]
local color = PA.TimeColors[formatid]
button.StatusBar:SetValue(CurrentDuration / Duration)
button.StatusBar:SetValue(CurrentDuration / Duration)
...
@@ -281,7 +281,7 @@ function iFilger:UpdateItemCooldowns()
...
@@ -281,7 +281,7 @@ function iFilger:UpdateItemCooldowns()
if (CurrentDuration and CurrentDuration >= COOLDOWN_MIN_DURATION) then
if (CurrentDuration and CurrentDuration >= COOLDOWN_MIN_DURATION) then
if Panel.db.StatusBar then
if Panel.db.StatusBar then
local timervalue, formatid = PA:GetTimeInfo(CurrentDuration, iFilger.db.
c
ooldown.threshold)
local timervalue, formatid = PA:GetTimeInfo(CurrentDuration, iFilger.db.
C
ooldown.threshold)
local color = PA.TimeColors[formatid]
local color = PA.TimeColors[formatid]
button.StatusBar:SetValue(CurrentDuration / Duration)
button.StatusBar:SetValue(CurrentDuration / Duration)
...
@@ -619,7 +619,7 @@ function iFilger:CreateAuraIcon(element)
...
@@ -619,7 +619,7 @@ function iFilger:CreateAuraIcon(element)
s.elapsed = (s.elapsed or 0) + elapsed
s.elapsed = (s.elapsed or 0) + elapsed
if (s.elapsed > COOLDOWN_MIN_DURATION) then
if (s.elapsed > COOLDOWN_MIN_DURATION) then
local expiration = Frame.expiration - GetTime()
local expiration = Frame.expiration - GetTime()
local timervalue, formatid = PA:GetTimeInfo(expiration, iFilger.db.
c
ooldown.threshold)
local timervalue, formatid = PA:GetTimeInfo(expiration, iFilger.db.
C
ooldown.threshold)
local color = PA.TimeColors[formatid]
local color = PA.TimeColors[formatid]
if timervalue then
if timervalue then
local Normalized = expiration / Frame.duration
local Normalized = expiration / Frame.duration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment