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
Croc
VuhDo
Commits
87a83369
Commit
87a83369
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed use of deprecated UnitMana/UnitManaMax APIs. TOC bump for patch 7.2.
parent
2617a0b3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
18 deletions
+44
-18
VuhDo.lua
VuhDo.lua
+4
-4
VuhDo.toc
VuhDo.toc
+2
-2
VuhDoBarCustomizerMana.lua
VuhDoBarCustomizerMana.lua
+6
-6
VuhDoBarCustomizerTarget.lua
VuhDoBarCustomizerTarget.lua
+4
-4
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+2
-2
VuhDoSpellTrace.lua
VuhDoSpellTrace.lua
+2
-0
changelog.txt
changelog.txt
+24
-0
No files found.
VuhDo.lua
View file @
87a83369
...
...
@@ -93,8 +93,8 @@ local UnitIsCharmed = UnitIsCharmed;
local
UnitCanAttack
=
UnitCanAttack
;
local
GetNumGroupMembers
=
GetNumGroupMembers
;
local
UnitName
=
UnitName
;
local
Unit
Mana
=
Unit
Mana
;
local
Unit
Mana
Max
=
Unit
Mana
Max
;
local
Unit
Power
=
Unit
Power
;
local
Unit
Power
Max
=
Unit
Power
Max
;
local
UnitThreatSituation
=
UnitThreatSituation
;
local
UnitClass
=
UnitClass
;
local
UnitPowerType
=
UnitPowerType
;
...
...
@@ -338,8 +338,8 @@ function VUHDO_setHealth(aUnit, aMode)
tInfo
[
"debuff"
],
tInfo
[
"debuffName"
]
=
VUHDO_determineDebuff
(
aUnit
);
tInfo
[
"isPet"
]
=
tIsPet
;
tInfo
[
"powertype"
]
=
tonumber
(
tPowerType
);
tInfo
[
"power"
]
=
Unit
Mana
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Mana
Max
(
aUnit
);
tInfo
[
"power"
]
=
Unit
Power
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Power
Max
(
aUnit
);
tInfo
[
"charmed"
]
=
UnitIsCharmed
(
aUnit
)
and
UnitCanAttack
(
"player"
,
aUnit
);
tInfo
[
"aggro"
]
=
false
;
tInfo
[
"group"
]
=
VUHDO_getUnitGroup
(
aUnit
,
tIsPet
);
...
...
This diff is collapsed.
Click to expand it.
VuhDo.toc
View file @
87a83369
## Interface: 70
1
00
## Interface: 70
2
00
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
3
## Version: 3.8
4
## 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.
VuhDoBarCustomizerMana.lua
View file @
87a83369
...
...
@@ -8,8 +8,8 @@ local VUHDO_IN_RAID_TARGET_BUTTONS;
local
VUHDO_PANEL_SETUP
;
local
VUHDO_BUTTON_CACHE
;
local
UnitPowerType
=
UnitPowerType
;
local
Unit
Mana
=
Unit
Mana
;
local
Unit
Mana
Max
=
Unit
Mana
Max
;
local
Unit
Power
=
Unit
Power
;
local
Unit
Power
Max
=
Unit
Power
Max
;
local
InCombatLockdown
=
InCombatLockdown
;
local
pairs
=
pairs
;
local
_
;
...
...
@@ -53,14 +53,14 @@ function VUHDO_updateManaBars(aUnit, aChange)
if
not
VUHDO_isConfigDemoUsers
()
then
if
1
==
aChange
then
tInfo
[
"power"
]
=
Unit
Mana
(
aUnit
);
tInfo
[
"power"
]
=
Unit
Power
(
aUnit
);
elseif
2
==
aChange
then
tInfo
[
"powermax"
]
=
Unit
Mana
Max
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Power
Max
(
aUnit
);
elseif
3
==
aChange
then
tPowerType
,
_
=
UnitPowerType
(
aUnit
);
tInfo
[
"powertype"
]
=
tonumber
(
tPowerType
);
tInfo
[
"powermax"
]
=
Unit
Mana
Max
(
aUnit
);
tInfo
[
"power"
]
=
Unit
Mana
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Power
Max
(
aUnit
);
tInfo
[
"power"
]
=
Unit
Power
(
aUnit
);
end
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoBarCustomizerTarget.lua
View file @
87a83369
...
...
@@ -11,8 +11,8 @@ local UnitPowerType = UnitPowerType;
--local UnitHealthMax = UnitHealthMax;
local
UnitHealth
=
UnitHealth
;
local
UnitName
=
UnitName
;
local
Unit
Mana
=
Unit
Mana
;
local
Unit
Mana
Max
=
Unit
Mana
Max
;
local
Unit
Power
=
Unit
Power
;
local
Unit
Power
Max
=
Unit
Power
Max
;
local
UnitIsDeadOrGhost
=
UnitIsDeadOrGhost
;
local
UnitIsConnected
=
UnitIsConnected
;
local
UnitIsUnit
=
UnitIsUnit
;
...
...
@@ -113,8 +113,8 @@ local function VUHDO_fillCustomInfo(aUnit)
tInfo
[
"unit"
]
=
aUnit
;
tInfo
[
"class"
]
=
tClassName
;
tInfo
[
"powertype"
]
=
tonumber
(
tPowerType
);
tInfo
[
"power"
]
=
Unit
Mana
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Mana
Max
(
aUnit
);
tInfo
[
"power"
]
=
Unit
Power
(
aUnit
);
tInfo
[
"powermax"
]
=
Unit
Power
Max
(
aUnit
);
tInfo
[
"dead"
]
=
UnitIsDeadOrGhost
(
aUnit
);
tInfo
[
"connected"
]
=
UnitIsConnected
(
aUnit
);
if
tLocalClass
==
tName
then
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
87a83369
## Interface: 70
1
00
## Interface: 70
2
00
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.8
3
## Version: 3.8
4
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
VuhDoSpellTrace.lua
View file @
87a83369
...
...
@@ -18,6 +18,7 @@ local VUHDO_ACTIVE_TRACE_SPELLS = {
local
VUHDO_TRAIL_OF_LIGHT_SPELL_ID
=
200128
;
local
VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT
=
{
};
local
sIsPlayerKnowsTrailOfLight
=
false
;
local
sCurrentPlayerTrailOfLight
=
nil
;
local
sTrailOfLightIcon
=
nil
;
...
...
@@ -37,6 +38,7 @@ function VUHDO_spellTraceInitLocalOverrides()
VUHDO_PLAYER_GUID
=
UnitGUID
(
"player"
);
VUHDO_RAID_GUIDS
=
_G
[
"VUHDO_RAID_GUIDS"
];
VUHDO_INTERNAL_TOGGLES
=
_G
[
"VUHDO_INTERNAL_TOGGLES"
];
sShowSpellTrace
=
VUHDO_CONFIG
[
"SHOW_SPELL_TRACE"
];
sSpellTraceStoredSettings
=
VUHDO_CONFIG
[
"SPELL_TRACE"
][
"STORED_SETTINGS"
];
sSpellTraceDefaultDuration
=
VUHDO_CONFIG
[
"SPELL_TRACE"
][
"duration"
];
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
87a83369
Version 3.84
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:
-- Fixed use of deprecated UnitMana/UnitManaMax APIs
Improvements:
-- TOC bump for patch 7.2
--------------------------------------------------------------
Version 3.83
...
...
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