Commit 34db511e authored by Ivaria's avatar Ivaria
Browse files

Removed deprecated event UNIT_HEALTH_FREQUENT

parent 8b32d35e
......@@ -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",
......
......@@ -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",
......
......@@ -10,6 +10,7 @@ Known issues:
Bugfixes:
-- Removed deprecated event UNIT_HEALTH_FREQUENT
Improvements:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment