diff --git a/Frame.lua b/Frame.lua index 8748733..1d987ae 100644 --- a/Frame.lua +++ b/Frame.lua @@ -311,12 +311,14 @@ function Gladdy:CreateButton(i) secure:SetAttribute("*type*", "macro") --secure:SetAttribute("*type1", "target") --secure:SetAttribute("*type2", "focus") + --secure:SetAttribute("unit", "target") secure:SetAttribute("unit", "arena" .. i) --secure.texture = secure:CreateTexture(nil, "OVERLAY") --secure.texture:SetAllPoints(secure) --secure.texture:SetTexture("Interface\\AddOns\\Gladdy\\Images\\Border_rounded_blp") button.id = i + --button.unit = "target" button.unit = "arena" .. i button.secure = secure diff --git a/Modules/Clicks.lua b/Modules/Clicks.lua index 94a5bff..654b247 100644 --- a/Modules/Clicks.lua +++ b/Modules/Clicks.lua @@ -190,8 +190,17 @@ local function SetupAttributeOption(i) }, spell = { type = "input", - name = L["Spell name / Macro text"], - desc = L["Use *arena* as placeholder. Like a '/rofl *arena*'"], + name = L["Cast Spell / Macro"], + desc = L["\n|cff1ac742Cast Spell:|r\n" .. + "Type in the spell name.\n" .. + "For example:\n" .. + "|cff17d1c8Polymorph|r\n" .. + "\n" .. + "|cff1ac742Macro:|r\n" .. + "Use *arena* as placeholder.\n" .. + "For example:\n" .. + "|cff17d1c8/cast [@*arena*] Blind\n" .. + "/run SendChatMessage(\"Blinding \" .. UnitName(\"*arena*\"), \"PARTY\")|r"], order = 5, width = "full", multiline = 10,