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
Aphid
VuhDo
Commits
90b2249f
Commit
90b2249f
authored
7 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Profiles can now auto-activate for multiple specializations
parent
87a83369
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
54 deletions
+89
-54
VuhDo.toc
VuhDo.toc
+1
-1
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
+64
-52
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+1
-1
changelog.txt
changelog.txt
+23
-0
No files found.
VuhDo.toc
View file @
90b2249f
## Interface: 70200
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
4
## Version: 3.8
5
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO
_
CONFIG, VUHDO
_
PANEL
_
SETUP, VUHDO
_
SPELL
_
ASSIGNMENTS, VUHDO
_
HOSTILE
_
SPELL
_
ASSIGNMENTS, VUHDO
_
MM
_
SETTINGS, VUHDO
_
PLAYER
_
TARGETS, VUHDO
_
MAINTANK
_
NAMES, VUHDO
_
BUFF
_
SETTINGS, VUHDO
_
POWER
_
TYPE
_
COLORS, VUHDO
_
SPELLS
_
KEYBOARD, VUHDO
_
SPELL
_
CONFIG, VUHDO
_
BUFF
_
ORDER, VUHDO
_
SPEC
_
LAYOUTS, VUHDO
_
GROUP
_
SIZE, VUHDO
_
RAID, VUHDO
_
INDICATOR
_
CONFIG
## SavedVariables: VUHDO
_
DEFAULT
_
LAYOUT, VUHDO
_
DEFAULT
_
PROFILE, VUHDO
_
PROFILES, VUHDO
_
MANUAL
_
ROLES, VUHDO
_
SPELL
_
LAYOUTS, VUHDO
_
USER
_
CLASS
_
COLORS, VUHDO
_
DEBUFF
_
BLACKLIST, VUHDO
_
BOUQUETS, VUHDO
_
COMBAT
_
LOG
_
TRACE, VUHDO
_
GLOBAL
_
CONFIG, VUHDO
_
DEBUG
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
View file @
90b2249f
...
...
@@ -199,11 +199,10 @@ end
--
local
tPrefixes
=
{
"SPEC_1"
,
"SPEC_2"
,
"SPEC_3"
,
"SPEC_4"
};
local
tExistIndex
;
local
tIsSpec1
;
local
tIsSpec2
;
local
tPrefix
;
local
tIsGroupFound
;
local
tIsSpecSelected
;
function
VUHDO_skinsSaveAutoProfileButtonEnablement
(
aPanel
,
aProfileName
)
tExistIndex
,
_
=
VUHDO_getProfileNamedCompressed
(
aProfileName
);
...
...
@@ -211,65 +210,78 @@ function VUHDO_skinsSaveAutoProfileButtonEnablement(aPanel, aProfileName)
return
;
end
tIsSpec1
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanelSpec1CheckButton"
]:
GetChecked
();
tIsSpec2
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanelSpec2CheckButton"
]:
GetChecked
();
tIsSpec3
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanelSpec3CheckButton"
]:
GetChecked
();
tIsSpec4
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanelSpec4CheckButton"
]:
GetChecked
();
if
(
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
and
not
tIsSpec4
)
then
tPrefix
=
"SPEC_1_"
;
VUHDO_clearProfileFromPrefix
(
aProfileName
,
""
,
"SPEC_2_"
,
"SPEC_3_"
,
"SPEC_4_"
);
elseif
(
tIsSpec2
and
not
tIsSpec1
and
not
tIsSpec3
and
not
tIsSpec4
)
then
tPrefix
=
"SPEC_2_"
;
VUHDO_clearProfileFromPrefix
(
aProfileName
,
""
,
"SPEC_1_"
,
"SPEC_3_"
,
"SPEC_4_"
);
elseif
(
tIsSpec3
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec4
)
then
tPrefix
=
"SPEC_3_"
;
VUHDO_clearProfileFromPrefix
(
aProfileName
,
""
,
"SPEC_1_"
,
"SPEC_2_"
,
"SPEC_4_"
);
elseif
(
tIsSpec4
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
)
then
tPrefix
=
"SPEC_4_"
;
VUHDO_clearProfileFromPrefix
(
aProfileName
,
""
,
"SPEC_1_"
,
"SPEC_2_"
,
"SPEC_3_"
);
else
tPrefix
=
""
;
VUHDO_clearProfileFromPrefix
(
aProfileName
,
"SPEC_1_"
,
"SPEC_2_"
,
"SPEC_3_"
,
"SPEC_4_"
);
local
tSelectedPrefixes
=
{};
for
tCnt
=
1
,
4
do
tIsSpecSelected
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanelSpec"
..
tCnt
..
"CheckButton"
]:
GetChecked
();
tSelectedPrefixes
[
"SPEC_"
..
tCnt
]
=
tIsSpecSelected
and
true
or
false
;
end
tIsGroupFound
=
false
;
for
tCnt
=
1
,
40
do
tButton
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanel"
..
tCnt
..
"CheckButton"
];
if
(
tButton
~=
nil
)
then
if
(
tButton
:
GetChecked
())
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
tCnt
]
=
aProfileName
;
tIsGroupFound
=
true
;
elseif
(
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
tCnt
]
==
aProfileName
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
tCnt
]
=
nil
;
tIsSpecSelected
=
false
;
for
tPrefix
,
tIsSelected
in
pairs
(
tSelectedPrefixes
)
do
if
(
tIsSelected
)
then
for
tCnt
=
1
,
40
do
tButton
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanel"
..
tCnt
..
"CheckButton"
];
if
(
tButton
~=
nil
)
then
if
(
tButton
:
GetChecked
())
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
"_"
..
tCnt
]
=
aProfileName
;
tIsGroupFound
=
true
;
elseif
(
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
"_"
..
tCnt
]
==
aProfileName
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
..
"_"
..
tCnt
]
=
nil
;
end
end
end
tIsSpecSelected
=
true
;
else
VUHDO_clearProfileFromPrefix
(
aProfileName
,
tPrefix
..
"_"
);
end
end
if
(
tIsSpecSelected
)
then
for
tCnt
=
1
,
40
do
tCnt
=
tostring
(
tCnt
);
if
(
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tCnt
]
==
aProfileName
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tCnt
]
=
nil
;
end
end
else
for
tCnt
=
1
,
40
do
tCnt
=
tostring
(
tCnt
);
tButton
=
_G
[
aPanel
:
GetName
()
..
"AutoEnablePanel"
..
tCnt
..
"CheckButton"
];
if
(
tButton
~=
nil
)
then
if
(
tButton
:
GetChecked
())
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tCnt
]
=
aProfileName
;
tIsGroupFound
=
true
;
elseif
(
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tCnt
]
==
aProfileName
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tCnt
]
=
nil
;
end
end
end
end
if
(
tIsGroupFound
)
then
if
(
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
and
not
tIsSpec4
)
then
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_1"
);
elseif
(
tIsSpec2
and
not
tIsSpec1
and
not
tIsSpec3
and
not
tIsSpec4
)
then
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_2"
);
elseif
(
tIsSpec3
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec4
)
then
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_3"
);
elseif
(
tIsSpec4
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
)
then
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_4"
);
for
tPrefix
,
tIsSelected
in
pairs
(
tSelectedPrefixes
)
do
if
(
tIsSelected
)
then
VUHDO_clearProfileIfInSlot
(
aProfileName
,
tPrefix
);
end
end
else
if
(
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
and
not
tIsSpec4
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
"SPEC_1"
]
=
aProfileName
;
elseif
(
tIsSpec2
and
not
tIsSpec1
and
not
tIsSpec3
and
not
tIsSpec4
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
"SPEC_2"
]
=
aProfileName
;
elseif
(
tIsSpec3
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec4
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
"SPEC_3"
]
=
aProfileName
;
elseif
(
tIsSpec4
and
not
tIsSpec1
and
not
tIsSpec2
and
not
tIsSpec3
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
"SPEC_4"
]
=
aProfileName
;
else
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_1"
);
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_2"
);
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_3"
);
VUHDO_clearProfileIfInSlot
(
aProfileName
,
"SPEC_4"
);
for
tPrefix
,
tIsSelected
in
pairs
(
tSelectedPrefixes
)
do
if
(
tIsSelected
)
then
VUHDO_CONFIG
[
"AUTO_PROFILES"
][
tPrefix
]
=
aProfileName
;
else
VUHDO_clearProfileIfInSlot
(
aProfileName
,
tPrefix
);
end
end
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
90b2249f
## Interface: 70200
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
4
## Version: 3.8
5
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
90b2249f
Version 3.85
Known issues:
-- Limited support for Class Order Hall Bodyguards
-- Bodyguards can be used in panels when set to target or focus
-- Bodyguards have no unit ID so for now are only partially supported
-- Incoming heal estimation reported is not even close to accurate
-- Bug in Blizzard API UnitGetIncomingHeals() - returns bogus values
-- Patch 7.1 disabled retrieval of unit facing and position in instances
-- This was an intentional breaking change by Blizzard
-- This breaks AOE Advice, Clusters and out-of-range direction arrow
-- At this time there is no way to fix or renable these features
Bugfixes:
Improvements:
-- Profiles can now auto-activate for multiple specializations
--------------------------------------------------------------
Version 3.84
...
...
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