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
Landon Wu
VuhDo
Commits
0d708c34
Commit
0d708c34
authored
6 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed custom debuff spell source filter when aura is a buff
parent
6fd52973
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
VuhDoBarCustomizerDebuffIcon.lua
VuhDoBarCustomizerDebuffIcon.lua
+9
-0
VuhDoDebuffs.lua
VuhDoDebuffs.lua
+4
-4
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoBarCustomizerDebuffIcon.lua
View file @
0d708c34
...
...
@@ -280,3 +280,12 @@ function VUHDO_getLatestCustomDebuff(aUnit)
return
tDebuffInfo
[
1
],
tDebuffInfo
[
4
],
tDebuffInfo
[
5
],
tDebuffInfo
[
6
];
end
--
function
VUHDO_getDebuffIcons
()
return
VUHDO_DEBUFF_ICONS
;
end
This diff is collapsed.
Click to expand it.
VuhDoDebuffs.lua
View file @
0d708c34
...
...
@@ -298,7 +298,7 @@ function VUHDO_determineDebuff(aUnit)
tNow
=
GetTime
();
for
tCnt
=
1
,
huge
do
tName
,
tIcon
,
tStacks
,
tTypeString
,
tDuration
,
tExpiry
,
tUnitCaster
,
_
,
_
,
tSpellId
,
_
,
tIsBossDebuff
=
UnitDebuff
(
aUnit
,
tCnt
,
false
);
tName
,
tIcon
,
tStacks
,
tTypeString
,
tDuration
,
tExpiry
,
tUnitCaster
,
_
,
_
,
tSpellId
,
_
,
tIsBossDebuff
=
UnitDebuff
(
aUnit
,
tCnt
);
if
not
tIcon
then
break
;
end
...
...
@@ -353,16 +353,16 @@ function VUHDO_determineDebuff(aUnit)
end
for
tCnt
=
1
,
huge
do
tName
,
tIcon
,
tStacks
,
_
,
tDuration
,
tExpiry
,
_
,
_
,
_
,
tSpellId
=
UnitBuff
(
aUnit
,
tCnt
);
tName
,
tIcon
,
tStacks
,
_
,
tDuration
,
tExpiry
,
tUnitCaster
,
_
,
_
,
tSpellId
=
UnitBuff
(
aUnit
,
tCnt
);
if
not
tIcon
then
break
;
end
tDebuffConfig
=
VUHDO_CUSTOM_DEBUFF_CONFIG
[
tName
]
or
VUHDO_CUSTOM_DEBUFF_CONFIG
[
tostring
(
tSpellId
)]
or
sEmpty
;
if
tDebuffConfig
[
1
]
then
-- Set c
olor
if
tDebuffConfig
[
1
]
and
((
tDebuffConfig
[
3
]
and
tUnitCaster
==
"player"
)
or
(
tDebuffConfig
[
4
]
and
tUnitCaster
~=
"player"
))
then
-- C
olor
?
sCurChosenType
,
sCurChosenName
,
sCurChosenSpellId
=
6
,
tName
,
tSpellId
;
-- VUHDO_DEBUFF_TYPE_CUSTOM
end
if
tDebuffConfig
[
2
]
then
-- Set i
con
if
tDebuffConfig
[
2
]
and
((
tDebuffConfig
[
3
]
and
tUnitCaster
==
"player"
)
or
(
tDebuffConfig
[
4
]
and
tUnitCaster
~=
"player"
))
then
-- I
con
?
sCurIcons
[
tName
]
=
VUHDO_getOrCreateIconArray
(
tIcon
,
tExpiry
,
tStacks
or
0
,
tDuration
,
true
,
tSpellId
,
tCnt
);
end
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
0d708c34
...
...
@@ -11,6 +11,7 @@ Known issues:
Bugfixes:
-- Fixed hostile spells options UI recognition of talents and items
-- Fixed custom debuff spell source filter when aura is a buff
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