"Floating Combat Text on Me" ONLY "Leave/Enter Combat"
Vaits opened this issue ยท 2 comments
Thanks for the Addon! is it possible to turn on "Floating Combat Text on Me" to show ONLY "Enter/Leave Combat"? When "Floating Combat Text on Me" is turned on, it always includes healing and damage received. I tried to use the CVar Browser to edit this, but I couldn't find options for that. Help and infos are appreciated! I'm using the Addon for retail WoW.
(wasn't able to ask this on curseforge - parserror)
To disable healing and damage received you'd have to use this script with https://addon.bool.no/ or REHack
local events = {
"HEAL",
"HEAL_CRIT",
"PERIODIC_HEAL",
"PERIODIC_HEAL_CRIT",
"DAMAGE",
"DAMAGE_CRIT",
"SPELL_DAMAGE",
"SPELL_DAMAGE_CRIT",
}
local function OnEvent(self, event, addon)
if addon == "Blizzard_CombatText" then
for _, v in pairs(events) do
COMBAT_TEXT_TYPE_INFO[v].show = false
end
end
end
local f = CreateFrame("Frame")
f:RegisterEvent("ADDON_LOADED")
f:SetScript("OnEvent", OnEvent)