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
omicron
VuhDo
Commits
26c362d7
Commit
26c362d7
authored
4 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Added workaround for bug in Blizzard API UnitPhaseReason
parent
3b85049c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
6 deletions
+44
-6
VuhDo.toc
VuhDo.toc
+1
-1
VuhDoBouquetValidators.lua
VuhDoBouquetValidators.lua
+2
-2
VuhDoEventHandler.lua
VuhDoEventHandler.lua
+1
-1
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+1
-1
VuhDoToolbox.lua
VuhDoToolbox.lua
+20
-1
changelog.txt
changelog.txt
+19
-0
No files found.
VuhDo.toc
View file @
26c362d7
## Interface: 90002
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.12
0
## Version: 3.12
1
## 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 @
26c362d7
...
...
@@ -192,7 +192,7 @@ end
--
local
function
VUHDO_isPhasedValidator
(
anInfo
,
_
)
if
U
nitPhaseReason
(
anInfo
[
"unit"
])
then
if
VUHDO_u
nitPhaseReason
(
anInfo
[
"unit"
])
then
return
true
,
"Interface\\TargetingFrame\\UI-PhasingIcon"
,
-
1
,
-
1
,
-
1
,
nil
,
nil
,
0
.
15625
,
0
.
84375
,
0
.
15625
,
0
.
84375
;
else
...
...
@@ -205,7 +205,7 @@ end
--
local
function
VUHDO_isWarModePhasedValidator
(
anInfo
,
_
)
local
tPhaseReason
=
U
nitPhaseReason
(
anInfo
[
"unit"
]);
local
tPhaseReason
=
VUHDO_u
nitPhaseReason
(
anInfo
[
"unit"
]);
if
tPhaseReason
and
tPhaseReason
==
Enum
.
PhaseReason
.
WarMode
then
return
true
,
"Interface\\TargetingFrame\\UI-PhasingIcon"
,
...
...
This diff is collapsed.
Click to expand it.
VuhDoEventHandler.lua
View file @
26c362d7
...
...
@@ -1090,7 +1090,7 @@ local function VUHDO_updateAllRange()
end
-- Check if unit is phased
if
U
nitPhaseReason
(
tUnit
)
then
if
VUHDO_u
nitPhaseReason
(
tUnit
)
then
tIsInRange
=
false
;
else
-- Check if unit is in range
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
26c362d7
## Interface: 90002
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.12
0
## Version: 3.12
1
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
VuhDoToolbox.lua
View file @
26c362d7
...
...
@@ -280,13 +280,32 @@ local VUHDO_isTargetInRange = VUHDO_isTargetInRange;
-- FIXME: workaround for Blizzard API bug: https://github.com/Stanzilla/WoWUIBugs/issues/49
function
VUHDO_unitPhaseReason
(
aUnit
)
if
not
aUnit
then
return
nil
;
end
local
tPhaseReason
=
UnitPhaseReason
(
aUnit
);
if
(
tPhaseReason
==
Enum
.
PhaseReason
.
WarMode
or
tPhaseReason
==
Enum
.
PhaseReason
.
ChromieTime
)
and
UnitIsVisible
(
aUnit
)
then
return
nil
;
else
return
tPhaseReason
;
end
end
-- returns whether or not a unit is in range
function
VUHDO_isInRange
(
aUnit
)
if
"player"
==
aUnit
then
return
true
;
elseif
VUHDO_isSpecialUnit
(
aUnit
)
then
return
VUHDO_isTargetInRange
(
aUnit
);
elseif
U
nitPhaseReason
(
aUnit
)
then
elseif
VUHDO_u
nitPhaseReason
(
aUnit
)
then
return
false
;
elseif
(
sIsGuessRange
)
then
return
UnitInRange
(
aUnit
);
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
26c362d7
Version 3.121
Known issues:
-- Shadowlands stat squish cleanup still a work in progress
-- AOE Advice spell equations need complete overhaul
-- Some text providers need changes to better display small numbers
-- Debuff tooltips are currently bugged when using ElvUI
-- Deselect 'VuhDo Options > Panels > Tooltips > Tooltips > Debuffs'
Bugfixes:
-- Added workaround for bug in Blizzard API UnitPhaseReason
Improvements:
--------------------------------------------------------------
Version 3.120
...
...
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