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
Chris Houm
VuhDo
Commits
637b064f
Commit
637b064f
authored
3 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Listen to UNIT_HEALTH_FREQUENT events for health updates
parent
aca4d4c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
VuhDoEventHandler.lua
VuhDoEventHandler.lua
+2
-2
VuhDoGuiToolbox.lua
VuhDoGuiToolbox.lua
+2
-0
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoEventHandler.lua
View file @
637b064f
...
...
@@ -452,7 +452,7 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
VUHDO_updateBouquetsForEvent
(
anArg1
,
4
);
-- VUHDO_UPDATE_DEBUFF
end
elseif
"UNIT_HEALTH"
==
anEvent
then
elseif
"UNIT_HEALTH"
==
anEvent
or
"UNIT_HEALTH_FREQUENT"
==
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
);
...
...
@@ -1509,7 +1509,7 @@ end
local VUHDO_ALL_EVENTS = {
"
VARIABLES_LOADED
", "
PLAYER_ENTERING_WORLD
",
"
UNIT_MAXHEALTH
", "
UNIT_HEALTH
",
"
UNIT_MAXHEALTH
", "
UNIT_HEALTH
",
"
UNIT_HEALTH_FREQUENT
",
"
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 @
637b064f
...
...
@@ -347,6 +347,7 @@ local VUHDO_BLIZZ_EVENTS = {
"UNIT_FLAGS"
,
"UNIT_HEAL_PREDICTION"
,
"UNIT_HEALTH"
,
"UNIT_HEALTH_FREQUENT"
,
"UNIT_LEVEL"
,
"UNIT_MAXHEALTH"
,
"UNIT_MAXPOWER"
,
...
...
@@ -379,6 +380,7 @@ local VUHDO_FIX_EVENTS = {
"UNIT_COMBAT"
,
"UNIT_HEAL_PREDICTION"
,
"UNIT_HEALTH"
,
"UNIT_HEALTH_FREQUENT"
,
"UNIT_MAXHEALTH"
,
"UNIT_MAXPOWER"
,
"UNIT_PET"
,
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
637b064f
...
...
@@ -19,6 +19,7 @@ Bugfixes:
Improvements:
-- Migrated to built-in APIs/events for incoming healing
-- Added option to use incoming healing from LibHealComm
-- Listen to UNIT_HEALTH_FREQUENT events for health updates
--------------------------------------------------------------
...
...
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