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
VuhDo
VuhDo
Commits
3dec7699
Commit
3dec7699
authored
Nov 25, 2022
by
Ivaria
Browse files
Fixed tracking of HoTs when cache key is spell ID
parent
943ef055
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
VuhDoBarCustomizerHots.lua
VuhDoBarCustomizerHots.lua
+3
-3
VuhDoConstSpells.lua
VuhDoConstSpells.lua
+1
-1
No files found.
VuhDoBarCustomizerHots.lua
View file @
3dec7699
...
...
@@ -607,9 +607,9 @@ local function VUHDO_updateHots(aUnit, anInfo)
for
tHotCmpName
,
_
in
pairs
(
VUHDO_ACTIVE_HOTS
)
do
tDiffIcon
=
VUHDO_CAST_ICON_DIFF
[
tHotCmpName
];
if
tDiffIcon
==
tBuffIcon
or
(
tDiffIcon
==
nil
and
tIsCacheByName
and
tBuffName
==
tHotCmpName
)
or
(
not
tIsCacheByName
and
tostring
(
tSpellId
or
-
1
)
==
tHotCmpName
)
then
if
tDiffIcon
==
tBuffIcon
or
(
VUHDO_ACTIVE_HOTS
[
tostring
(
tSpellId
)]
and
tostring
(
tSpellId
or
-
1
)
==
tHotCmpName
)
or
(
not
VUHDO_ACTIVE_HOTS
[
tostring
(
tSpellId
)]
and
tDiffIcon
==
nil
and
tBuffName
==
tHotCmpName
)
then
tRest
=
tExpiry
-
tNow
;
if
tRest
>
0
then
...
...
VuhDoConstSpells.lua
View file @
3dec7699
...
...
@@ -21,7 +21,7 @@ VUHDO_SPELL_ID.ATONEMENT = VUHDO_getSpellInfo(194384);
VUHDO_SPELL_ID
.
BINDING_HEAL
=
VUHDO_getSpellInfo
(
32546
);
VUHDO_SPELL_ID
.
CALL_OF_THE_ELEMENTS
=
VUHDO_getSpellInfo
(
66842
);
VUHDO_SPELL_ID
.
CAUTERIZING_FLAME
=
VUHDO_getSpellInfo
(
374251
);
VUHDO_SPELL_ID
.
CENARION_WARD
=
VUHDO_getSpellInfo
(
10235
2
);
VUHDO_SPELL_ID
.
CENARION_WARD
=
VUHDO_getSpellInfo
(
10235
1
);
VUHDO_SPELL_ID
.
CHAIN_HEAL
=
VUHDO_getSpellInfo
(
1064
);
VUHDO_SPELL_ID
.
CIRCLE_OF_HEALING
=
VUHDO_getSpellInfo
(
34861
);
VUHDO_SPELL_ID
.
CLEANSE_SPIRIT
=
VUHDO_getSpellInfo
(
51886
);
...
...
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