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
Chris Houm
VuhDo
Commits
284ffebb
Commit
284ffebb
authored
5 years ago
by
Ivaria
Browse files
Options
Download
Plain Diff
Merge branch 'master' into classic
parents
5b62ae5e
73f73f91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
VuhDoDebuffs.lua
VuhDoDebuffs.lua
+16
-2
changelog.txt
changelog.txt
+2
-1
No files found.
VuhDoDebuffs.lua
View file @
284ffebb
...
...
@@ -322,7 +322,6 @@ function VUHDO_determineDebuff(aUnit)
end
end
tStacks
=
tStacks
or
0
;
if
(
tExpiry
or
0
)
==
0
then
tExpiry
=
(
sCurIcons
[
tName
]
or
sEmpty
)[
2
]
or
tNow
;
end
-- Custom Debuff?
...
...
@@ -332,7 +331,22 @@ function VUHDO_determineDebuff(aUnit)
sCurChosenType
,
sCurChosenName
,
sCurChosenSpellId
=
6
,
tName
,
tSpellId
;
-- VUHDO_DEBUFF_TYPE_CUSTOM
end
if
sCurIcons
[
tName
]
then
tStacks
=
tStacks
+
sCurIcons
[
tName
][
3
];
end
tStacks
=
tStacks
or
0
;
if
sCurIcons
[
tName
]
then
-- if we de-dupe a debuff by name then ensure it is tracked as another "stack"
-- oddly by default UnitAura returns a "stack" of 0 for un-stackable debuffs
-- in the common case (no de-dupe by name) we'll retain this default
if
tStacks
==
0
then
tStacks
=
1
;
end
if
sCurIcons
[
tName
][
3
]
>
0
then
tStacks
=
tStacks
+
sCurIcons
[
tName
][
3
];
else
tStacks
=
tStacks
+
1
;
end
end
if
tDebuffConfig
[
2
]
and
((
tDebuffConfig
[
3
]
and
tUnitCaster
==
"player"
)
or
(
tDebuffConfig
[
4
]
and
tUnitCaster
~=
"player"
))
then
-- Icon?
sCurIcons
[
tName
]
=
VUHDO_getOrCreateIconArray
(
tIcon
,
tExpiry
,
tStacks
,
tDuration
,
false
,
tSpellId
,
tCnt
);
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
284ffebb
...
...
@@ -33,10 +33,11 @@ Known issues:
Bugfixes:
-- Duplicate debuffs (same name) are now treated as stacks
Improvements:
-- Added string localization for Korean (koKR)
-- Added string localization for Korean (koKR)
--------------------------------------------------------------
...
...
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