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
Justin Piper
VuhDo
Commits
34db511e
Commit
34db511e
authored
4 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Removed deprecated event UNIT_HEALTH_FREQUENT
parent
8b32d35e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
14 deletions
+5
-14
VuhDoEventHandler.lua
VuhDoEventHandler.lua
+2
-10
VuhDoGuiToolbox.lua
VuhDoGuiToolbox.lua
+2
-4
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoEventHandler.lua
View file @
34db511e
...
...
@@ -442,15 +442,7 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
VUHDO_updateBouquetsForEvent
(
anArg1
,
4
);
-- VUHDO_UPDATE_DEBUFF
end
-- elseif "UNIT_HEALTH" == anEvent then
-- as of patch 7.1 we are seeing empty units on health related events
-- if anArg1 and (VUHDO_RAID or tEmptyRaid)[anArg1] then
-- VUHDO_updateHealth(anArg1, 2); -- VUHDO_UPDATE_HEALTH
-- end
-- TODO: is it ok to listen to both UNIT_HEALTH and UNIT_HEALTH_FREQUENT?
-- TODO: add options based on desired responsiveness and performance
elseif
"UNIT_HEALTH_FREQUENT"
==
anEvent
then
elseif
"UNIT_HEALTH"
==
anEvent
then
-- as of patch 7.1 we are seeing empty units on health related events
if
anArg1
and
((
VUHDO_RAID
or
tEmptyRaid
)[
anArg1
]
or
VUHDO_isBossUnit
(
anArg1
))
then
VUHDO_updateHealth
(
anArg1
,
2
);
...
...
@@ -1498,7 +1490,7 @@ end
local VUHDO_ALL_EVENTS = {
"
VARIABLES_LOADED
", "
PLAYER_ENTERING_WORLD
",
"
UNIT_HEALTH_FREQUENT
",
"
UNIT_MAXHEALTH
",
--
"
UNIT_HEALTH
",
"
UNIT_MAXHEALTH
", "
UNIT_HEALTH
",
"
UNIT_AURA
",
"
UNIT_TARGET
",
"
GROUP_ROSTER_UPDATE
", "
INSTANCE_ENCOUNTER_ENGAGE_UNIT
", "
UPDATE_ACTIVE_BATTLEFIELD
",
...
...
This diff is collapsed.
Click to expand it.
VuhDoGuiToolbox.lua
View file @
34db511e
...
...
@@ -346,8 +346,7 @@ local VUHDO_BLIZZ_EVENTS = {
"UNIT_FACTION"
,
"UNIT_FLAGS"
,
"UNIT_HEAL_PREDICTION"
,
-- "UNIT_HEALTH",
"UNIT_HEALTH_FREQUENT"
,
"UNIT_HEALTH"
,
"UNIT_LEVEL"
,
"UNIT_MAXHEALTH"
,
"UNIT_MAXPOWER"
,
...
...
@@ -379,8 +378,7 @@ local VUHDO_FIX_EVENTS = {
"UNIT_AURA"
,
"UNIT_COMBAT"
,
"UNIT_HEAL_PREDICTION"
,
-- "UNIT_HEALTH",
"UNIT_HEALTH_FREQUENT"
,
"UNIT_HEALTH"
,
"UNIT_MAXHEALTH"
,
"UNIT_MAXPOWER"
,
"UNIT_PET"
,
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
34db511e
...
...
@@ -10,6 +10,7 @@ Known issues:
Bugfixes:
-- Removed deprecated event UNIT_HEALTH_FREQUENT
Improvements:
...
...
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