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
Simon Van Casteren
VuhDo
Commits
70d634f8
Commit
70d634f8
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed Tank => MDPS => RDPS => Healer sorting
parent
0d4229c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
VuhDoPanel.lua
VuhDoPanel.lua
+7
-0
No files found.
VuhDoPanel.lua
View file @
70d634f8
...
...
@@ -344,13 +344,20 @@ local VUHDO_RAID_SORTERS = {
return
true
;
elseif
tRole2
==
VUHDO_ID_MELEE_TANK
and
tRole1
~=
VUHDO_ID_MELEE_TANK
then
return
false
;
elseif
tRole2
==
VUHDO_ID_RANGED_HEAL
and
tRole1
~=
VUHDO_ID_RANGED_HEAL
then
return
true
;
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
tRole2
==
VUHDO_ID_MELEE_DAMAGE
and
(
tRole1
==
VUHDO_ID_RANGED_DAMAGE
or
tRole1
==
VUHDO_ID_RANGED_HEAL
)
then
return
false
;
elseif
tRole1
==
VUHDO_ID_RANGED_DAMAGE
and
tRole2
==
VUHDO_ID_RANGED_HEAL
then
return
true
;
elseif
tRole2
==
VUHDO_ID_RANGED_DAMAGE
and
tRole1
==
VUHDO_ID_RANGED_HEAL
then
return
false
;
else
return
(
tInfo1
[
"name"
]
or
""
)
<
(
tInfo2
[
"name"
]
or
""
);
end
...
...
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