Commit c7f5331f authored by Merathilis's avatar Merathilis

Disable Blizzards floatingCombat text by default.

parent 598ada7a
......@@ -13,6 +13,7 @@ local next, type, pairs, format, tonumber = next, type, pairs, format, tonumber
local rawget, rawset, setmetatable = rawget, rawset, setmetatable
local hooksecurefunc = hooksecurefunc
local CreateFrame = CreateFrame
local SetCVar = SetCVar
local Version = GetAddOnMetadata(addon, "Version")
local version = format("[|cFF508cf7v%s|r]", Version)
......@@ -365,6 +366,10 @@ function FCT:Initialize()
FCT:UpdateColors()
-- Disable blizzards floating combat text
SetCVar("floatingCombatTextCombatDamage", 0)
SetCVar("floatingCombatTextCombatLogPeriodicSpells", 0)
-- Events
FCT:RegisterEvent("PLAYER_LOGOUT")
FCT:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
......
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