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
Klex
VuhDo
Commits
429971f6
Commit
429971f6
authored
6 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed display of debuff tooltips after zone change
parent
5acfa792
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
VuhDoBarCustomizerDebuffIcon.lua
VuhDoBarCustomizerDebuffIcon.lua
+7
-2
VuhDoDebuffs.lua
VuhDoDebuffs.lua
+5
-2
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoBarCustomizerDebuffIcon.lua
View file @
429971f6
...
...
@@ -191,7 +191,7 @@ end
--
local
tIconInfo
;
function
VUHDO_updateDebuffIcon
(
aUnit
,
anIcon
,
aName
,
anExpiry
,
aStacks
,
aDuration
)
function
VUHDO_updateDebuffIcon
(
aUnit
,
anIcon
,
aName
,
anExpiry
,
aStacks
,
aDuration
,
anIsBuff
,
aSpellId
,
aCnt
)
if
not
VUHDO_DEBUFF_ICONS
[
aUnit
]
then
VUHDO_DEBUFF_ICONS
[
aUnit
]
=
{
};
end
...
...
@@ -200,7 +200,12 @@ function VUHDO_updateDebuffIcon(aUnit, anIcon, aName, anExpiry, aStacks, aDurati
tIconInfo
=
VUHDO_DEBUFF_ICONS
[
aUnit
][
tCnt
];
if
tIconInfo
and
tIconInfo
[
3
]
==
aName
then
tIconInfo
[
1
],
tIconInfo
[
4
],
tIconInfo
[
5
],
tIconInfo
[
6
]
=
anIcon
,
anExpiry
,
aStacks
,
aDuration
;
tIconInfo
[
1
],
tIconInfo
[
3
],
tIconInfo
[
4
],
tIconInfo
[
5
],
tIconInfo
[
6
],
tIconInfo
[
7
]
=
anIcon
,
aName
,
anExpiry
,
aStacks
,
aDuration
,
aSpellId
;
for
_
,
tButton
in
pairs
(
VUHDO_getUnitButtonsSafe
(
aUnit
))
do
tFrame
=
VUHDO_getBarIconFrame
(
tButton
,
tCnt
+
39
);
tFrame
[
"debuffInfo"
],
tFrame
[
"isBuff"
],
tFrame
[
"debuffCnt"
]
=
aName
,
anIsBuff
,
aCnt
;
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoDebuffs.lua
View file @
429971f6
...
...
@@ -389,13 +389,16 @@ function VUHDO_determineDebuff(aUnit)
-- update number of stacks?
elseif
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
1
]
~=
tDebuffInfo
[
2
]
or
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
2
]
~=
tDebuffInfo
[
3
]
or
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
3
]
~=
tDebuffInfo
[
1
]
then
or
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
3
]
~=
tDebuffInfo
[
1
]
or
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
4
]
~=
tDebuffInfo
[
7
]
then
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
1
]
=
tDebuffInfo
[
2
];
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
2
]
=
tDebuffInfo
[
3
];
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
3
]
=
tDebuffInfo
[
1
];
VUHDO_UNIT_CUSTOM_DEBUFFS
[
aUnit
][
tName
][
4
]
=
tDebuffInfo
[
7
];
VUHDO_updateDebuffIcon
(
aUnit
,
tDebuffInfo
[
1
],
tName
,
tDebuffInfo
[
2
],
tDebuffInfo
[
3
],
tDebuffInfo
[
4
],
tDebuffInfo
[
5
],
tDebuffInfo
[
6
],
tDebuffInfo
[
7
]);
VUHDO_updateDebuffIcon
(
aUnit
,
tDebuffInfo
[
1
],
tName
,
tDebuffInfo
[
2
],
tDebuffInfo
[
3
],
tDebuffInfo
[
4
]);
VUHDO_updateBouquetsForEvent
(
aUnit
,
29
);
-- VUHDO_UPDATE_CUSTOM_DEBUFF
end
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
429971f6
...
...
@@ -17,6 +17,7 @@ Known issues:
Bugfixes:
-- Fixed display of custom debuffs after closing VuhDo Options
-- Fixed display of debuff tooltips after zone change
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