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
KnewOne
VuhDo
Commits
28396b5e
Commit
28396b5e
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Added panel sort method 'Tank => MDPS => RDPS => Healer'
parent
3ed5a466
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
VuhDoConst.lua
VuhDoConst.lua
+1
-0
VuhDoOptions/VuhDoNewOptionsPanelBasic.xml
VuhDoOptions/VuhDoNewOptionsPanelBasic.xml
+1
-0
VuhDoPanel.lua
VuhDoPanel.lua
+30
-0
changelog.txt
changelog.txt
+3
-2
No files found.
VuhDoConst.lua
View file @
28396b5e
...
...
@@ -188,6 +188,7 @@ VUHDO_SORT_RAID_MODELS = 4;
VUHDO_SORT_TA_DD_HL
=
5
;
VUHDO_SORT_TA_HL_DD
=
6
;
VUHDO_SORT_HL_TA_DD
=
7
;
VUHDO_SORT_TA_MD_RD_HL
=
8
;
-- Class IDs by class name
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsPanelBasic.xml
View file @
28396b5e
...
...
@@ -446,6 +446,7 @@
{ 5, "Tank => DD => Healer" },
{ 6, "Tank => Healer => DD" },
{ 7, "Healer => Tank => DD" },
{ 8, "Tank => MDPS => RDPS => Healer" },
}
);
VUHDO_lnfSetTooltip(self, nil);
...
...
This diff is collapsed.
Click to expand it.
VuhDoPanel.lua
View file @
28396b5e
...
...
@@ -327,6 +327,36 @@ local VUHDO_RAID_SORTERS = {
end
end
end
,
[
VUHDO_SORT_TA_MD_RD_HL
]
=
function
(
aUnitId
,
anotherUnitId
)
if
sIsPlayerFirst
and
aUnitId
==
"player"
then
return
true
;
elseif
(
sIsPlayerFirst
and
anotherUnitId
==
"player"
)
then
return
false
;
else
if
VUHDO_PANEL_SETUP
[
sPanelNum
][
"MODEL"
][
"isReverse"
]
then
aUnitId
,
anotherUnitId
=
anotherUnitId
,
aUnitId
;
end
tInfo1
,
tInfo2
=
VUHDO_RAID
[
aUnitId
]
or
sEmpty
,
VUHDO_RAID
[
anotherUnitId
]
or
sEmpty
;
tRole1
,
tRole2
=
tInfo1
[
"role"
],
tInfo2
[
"role"
];
if
tRole1
==
VUHDO_ID_MELEE_TANK
and
tRole2
~=
VUHDO_ID_MELEE_TANK
then
return
true
;
elseif
tRole2
==
VUHDO_ID_MELEE_TANK
and
tRole1
~=
VUHDO_ID_MELEE_TANK
then
return
false
;
elseif
tRole1
==
VUHDO_ID_RANGED_HEAL
and
tRole2
~=
VUHDO_ID_RANGED_HEAL
then
return
false
;
elseif
tRole1
==
VUHDO_ID_MELEE_DAMAGE
and
(
tRole2
==
VUHDO_ID_RANGED_DAMAGE
or
tRole2
==
VUHDO_ID_RANGED_HEAL
)
then
return
true
;
elseif
tRole1
==
VUHDO_ID_RANGED_DAMAGE
and
tRole2
==
VUHDO_ID_RANGED_HEAL
then
return
true
;
else
return
(
tInfo1
[
"name"
]
or
""
)
<
(
tInfo2
[
"name"
]
or
""
);
end
end
end
,
};
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
28396b5e
...
...
@@ -20,8 +20,9 @@ Improvements:
-- Added ability to track different spell casts on units
-- See settings under 'VuhDo Options > General > Spell Trace'
-- Useful for tracking which units are hit by AOE healing spells
-- Added new bouquet validator 'Icon: Spell Trace'
-- Added new default bouquet 'Spell Trace'
-- Added bouquet validator 'Icon: Spell Trace'
-- Added default bouquet 'Spell Trace'
-- Added panel sort method 'Tank => MDPS => RDPS => Healer'
--------------------------------------------------------------
...
...
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