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
Valery Kornilovich
VuhDo
Commits
1e640a61
Commit
1e640a61
authored
7 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Use new power type enumeration in place of deprecated constants
parent
ff726ff6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
18 deletions
+43
-18
VuhDo.toc
VuhDo.toc
+1
-1
VuhDoBouquetValidators.lua
VuhDoBouquetValidators.lua
+2
-2
VuhDoConst.lua
VuhDoConst.lua
+13
-11
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+1
-1
VuhDoRoleChecker.lua
VuhDoRoleChecker.lua
+1
-1
VuhDoTextProviders.lua
VuhDoTextProviders.lua
+2
-2
changelog.txt
changelog.txt
+23
-0
No files found.
VuhDo.toc
View file @
1e640a61
## Interface: 70200
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
5
## Version: 3.8
6
## 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.
VuhDoBouquetValidators.lua
View file @
1e640a61
...
...
@@ -481,9 +481,9 @@ end
--
local
function
VUHDO_chiEqualsValidator
(
anInfo
,
someCustom
)
if
anInfo
[
"connected"
]
and
not
anInfo
[
"dead"
]
then
tPower
=
UnitPower
(
anInfo
[
"unit"
],
SPELL
_POWER_CHI
);
tPower
=
UnitPower
(
anInfo
[
"unit"
],
VUHDO_UNIT
_POWER_CHI
);
if
tPower
==
someCustom
[
"custom"
][
1
]
then
return
true
,
nil
,
tPower
,
-
1
,
UnitPowerMax
(
anInfo
[
"unit"
],
SPELL
_POWER_CHI
);
return
true
,
nil
,
tPower
,
-
1
,
UnitPowerMax
(
anInfo
[
"unit"
],
VUHDO_UNIT
_POWER_CHI
);
else
return
false
,
nil
,
-
1
,
-
1
,
-
1
;
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoConst.lua
View file @
1e640a61
...
...
@@ -281,17 +281,19 @@ VUHDO_UPDATE_SPELL_TRACE = 37;
-- Unit power types (== Blizzard defined types)
VUHDO_UNIT_POWER_MANA
=
SPELL_POWER_MANA
;
VUHDO_UNIT_POWER_RAGE
=
SPELL_POWER_RAGE
;
VUHDO_UNIT_POWER_FOCUS
=
SPELL_POWER_FOCUS
;
VUHDO_UNIT_POWER_ENERGY
=
SPELL_POWER_ENERGY
;
VUHDO_UNIT_POWER_HAPPINESS
=
SPELL_POWER_COMBO_POINTS
;
VUHDO_UNIT_POWER_RUNES
=
SPELL_POWER_RUNIC_POWER
;
VUHDO_UNIT_POWER_LUNAR_POWER
=
SPELL_POWER_LUNAR_POWER
;
VUHDO_UNIT_POWER_MAELSTROM
=
SPELL_POWER_MAELSTROM
;
VUHDO_UNIT_POWER_INSANITY
=
SPELL_POWER_INSANITY
;
VUHDO_UNIT_POWER_FURY
=
SPELL_POWER_FURY
;
VUHDO_UNIT_POWER_PAIN
=
SPELL_POWER_PAIN
;
VUHDO_UNIT_POWER_MANA
=
Enum
.
PowerType
.
Mana
;
VUHDO_UNIT_POWER_RAGE
=
Enum
.
PowerType
.
Rage
;
VUHDO_UNIT_POWER_FOCUS
=
Enum
.
PowerType
.
Focus
;
VUHDO_UNIT_POWER_ENERGY
=
Enum
.
PowerType
.
Energy
;
VUHDO_UNIT_POWER_HAPPINESS
=
Enum
.
PowerType
.
ComboPoints
;
VUHDO_UNIT_POWER_RUNES
=
Enum
.
PowerType
.
RunicPower
;
VUHDO_UNIT_POWER_LUNAR_POWER
=
Enum
.
PowerType
.
LunarPower
;
VUHDO_UNIT_POWER_MAELSTROM
=
Enum
.
PowerType
.
Maelstrom
;
VUHDO_UNIT_POWER_INSANITY
=
Enum
.
PowerType
.
Insanity
;
VUHDO_UNIT_POWER_FURY
=
Enum
.
PowerType
.
Fury
;
VUHDO_UNIT_POWER_PAIN
=
Enum
.
PowerType
.
Pain
;
VUHDO_UNIT_POWER_CHI
=
Enum
.
PowerType
.
Chi
;
VUHDO_UNIT_POWER_HOLY_POWER
=
Enum
.
PowerType
.
HolyPower
;
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
1e640a61
## Interface: 70200
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
5
## Version: 3.8
6
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
VuhDoRoleChecker.lua
View file @
1e640a61
...
...
@@ -415,7 +415,7 @@ function VUHDO_determineRole(aUnit)
if
VUHDO_UNIT_POWER_MANA
==
tPowerType
then
return
63
;
-- VUHDO_ID_RANGED_HEAL
elseif
VUHDO_UNIT_POWER_ENERGY
==
tPowerType
then
if
UnitPowerMax
(
aUnit
,
SPELL
_POWER_CHI
)
>
4
then
-- WW Monks have 5 Chi (6 w/ Ascension)
if
UnitPowerMax
(
aUnit
,
VUHDO_UNIT
_POWER_CHI
)
>
4
then
-- WW Monks have 5 Chi (6 w/ Ascension)
return
61
;
-- VUHDO_ID_MELEE_DAMAGE
else
return
60
;
-- VUHDO_ID_MELEE_TANK
...
...
This diff is collapsed.
Click to expand it.
VuhDoTextProviders.lua
View file @
1e640a61
...
...
@@ -15,7 +15,7 @@ end
--
local
function
VUHDO_chiCalculator
(
anInfo
)
if
anInfo
[
"connected"
]
and
not
anInfo
[
"dead"
]
then
return
UnitPower
(
anInfo
[
"unit"
],
SPELL
_POWER_CHI
),
UnitPowerMax
(
anInfo
[
"unit"
],
SPELL
_POWER_CHI
)
return
UnitPower
(
anInfo
[
"unit"
],
VUHDO_UNIT
_POWER_CHI
),
UnitPowerMax
(
anInfo
[
"unit"
],
VUHDO_UNIT
_POWER_CHI
)
else
return
0
,
0
;
end
...
...
@@ -26,7 +26,7 @@ end
--
local
function
VUHDO_holyPowerCalculator
(
anInfo
)
if
anInfo
[
"connected"
]
and
not
anInfo
[
"dead"
]
then
return
UnitPower
(
anInfo
[
"unit"
],
9
),
UnitPowerMax
(
anInfo
[
"unit"
],
9
);
return
UnitPower
(
anInfo
[
"unit"
],
VUHDO_UNIT_POWER_HOLY_POWER
),
UnitPowerMax
(
anInfo
[
"unit"
],
VUHDO_UNIT_POWER_HOLY_POWER
);
else
return
0
,
0
;
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
1e640a61
Version 3.86
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:
-- Use new power type enumeration in place of deprecated constants
Improvements:
--------------------------------------------------------------
Version 3.85
...
...
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