From f7f703d33ae0e6c605ea6a4a50d5d5b137f0dd9a Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Tue, 10 Aug 2021 13:18:02 +0200 Subject: [PATCH] Auras description --- Modules/Auras.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Auras.lua b/Modules/Auras.lua index b71cc0a..29ff0f1 100644 --- a/Modules/Auras.lua +++ b/Modules/Auras.lua @@ -1,6 +1,7 @@ local pairs, ipairs, select, tinsert, tbl_sort, tostring, tonumber, rand = pairs, ipairs, select, tinsert, table.sort, tostring, tonumber, math.random local GetSpellInfo = GetSpellInfo +local GetSpellDescription = GetSpellDescription local CreateFrame, GetTime = CreateFrame, GetTime local AURA_TYPE_DEBUFF, AURA_TYPE_BUFF = AURA_TYPE_DEBUFF, AURA_TYPE_BUFF @@ -668,6 +669,7 @@ function Auras:GetAuraOptions(auraType) enabled = { order = 1, name = L["Enabled"], + desc = GetSpellDescription(k), type = "toggle", image = Gladdy:GetImportantAuras()[GetSpellInfo(k)] and Gladdy:GetImportantAuras()[GetSpellInfo(k)].texture or select(3, GetSpellInfo(k)), width = "2",