Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joschi Grey
VuhDo
Commits
6b3446e4
Commit
6b3446e4
authored
2 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed clock sweep for HoT Icons whose duration increases post application
parent
80479ac0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
VuhDoBarCustomizerHots.lua
VuhDoBarCustomizerHots.lua
+8
-1
VuhDoPanelConvenience.lua
VuhDoPanelConvenience.lua
+9
-8
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoBarCustomizerHots.lua
View file @
6b3446e4
...
...
@@ -195,6 +195,7 @@ local tDuration;
local
tHotCfg
;
local
tIsChargeAlpha
;
local
tStarted
;
local
tClockDuration
;
local
function
VUHDO_customizeHotIcons
(
aButton
,
aHotName
,
aRest
,
aTimes
,
anIcon
,
aDuration
,
aShieldCharges
,
aColor
,
anIndex
,
aClipL
,
aClipR
,
aClipT
,
aClipB
)
tHotCfg
=
sBarColors
[
VUHDO_HOT_CFGS
[
anIndex
]];
...
...
@@ -258,12 +259,18 @@ local function VUHDO_customizeHotIcons(aButton, aHotName, aRest, aTimes, anIcon,
end
tTimer
:
SetText
(
tDuration
);
tStarted
=
floor
(
10
*
(
GetTime
()
-
aDuration
+
aRest
)
+
0
.
5
)
*
0
.
1
;
if
aDuration
>
0
and
(
tClock
:
GetAlpha
()
==
0
or
(
tClock
:
GetAttribute
(
"started"
)
or
tStarted
)
~=
tStarted
)
then
tClockDuration
=
tClock
:
GetCooldownDuration
()
*
0
.
001
;
if
aDuration
>
0
and
(
tClock
:
GetAlpha
()
==
0
or
(
tClock
:
GetAttribute
(
"started"
)
or
tStarted
)
~=
tStarted
or
(
tClock
:
IsVisible
()
and
aDuration
>
tClockDuration
))
then
tClock
:
SetAlpha
(
1
);
tClock
:
SetCooldown
(
tStarted
,
aDuration
);
tClock
:
SetAttribute
(
"started"
,
tStarted
);
end
tIcon
:
SetAlpha
(((
sIsFade
or
tHotCfg
[
"isFadeOut"
])
and
aRest
<
10
)
and
tHotCfg
[
"O"
]
*
aRest
*
0
.
1
or
tHotCfg
[
"O"
]);
if
aRest
>
5
then
...
...
This diff is collapsed.
Click to expand it.
VuhDoPanelConvenience.lua
View file @
6b3446e4
...
...
@@ -27,15 +27,16 @@ local VUHDO_STUB_COMPONENT = {
[
"GetName"
]
=
function
()
return
"VuhDoDummyStub"
end
,
[
"GetAttribute"
]
=
function
()
return
nil
end
,
[
"SetAttribute"
]
=
function
()
end
,
-- General
[
"SetAllPoints"
]
=
function
()
end
,
[
"SetAlpha"
]
=
function
(
self
,
anAlpha
)
end
,
[
"GetAlpha"
]
=
function
()
return
1
end
,
[
"Hide"
]
=
function
()
end
,
[
"IsVisible"
]
=
function
()
return
false
end
,
-- General
[
"SetAllPoints"
]
=
function
()
end
,
[
"SetAlpha"
]
=
function
(
self
,
anAlpha
)
end
,
[
"GetAlpha"
]
=
function
()
return
1
end
,
[
"Hide"
]
=
function
()
end
,
[
"IsVisible"
]
=
function
()
return
false
end
,
-- Clock
[
"SetReverse"
]
=
function
()
end
,
[
"SetCooldown"
]
=
function
()
end
[
"SetReverse"
]
=
function
()
end
,
[
"SetCooldown"
]
=
function
()
end
,
[
"GetCooldownDuration"
]
=
function
()
return
0
end
};
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
6b3446e4
...
...
@@ -19,6 +19,7 @@ Bugfixes:
-- Fixed keybindings under 'Game Menu > Options > Gameplay > Keybindings > AddOns'
-- Fixed mouse/key bindings after spells are learned from talent changes
-- Fixed debuff types for both basic and talented Shaman 'Purify Spirit'
-- Fixed clock sweep for HoT Icons whose duration increases post application
Improvements:
...
...
This diff is collapsed.
Click to expand it.
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