Commit e98b4e02 authored by Simpy's avatar Simpy 🐹

init

parents
## Interface: 80100
## Author: Simpy and Lightspark
## Version: 1.0
## Title: |cfffe7b2cElvUI|r: |cFFF76ADBFloating Combat Text|r
## SavedVariables: ElvFCT
## RequiredDeps: ElvUI
init.lua
core.lua
This diff is collapsed.
local addon, ns = ...
local E, L, V, P, G = unpack(ElvUI)
local format = format
local version = GetAddOnMetadata(addon, "Version")
local title = '|cfffe7b2cElvUI|r: |cFFF76ADBFCT|r'
local by = '|cFF8866ccSimpy|r and |cFF34dd61Lightspark|r (ls-)'
local ver = format("[v|cFF508cf7%s|r]", version)
local function options()
E.Options.args.ElvFCT = {
order = 1337,
type = 'group',
name = title,
get = function(info) return ElvFCT[ info[#info] ] end,
set = function(info, value) ElvFCT[ info[#info] ] = value end,
args = {
name = {
order = 1,
type = "header",
name = title.." "..ver.." "..by,
},
},
}
end
LibStub("LibElvUIPlugin-1.0"):RegisterPlugin(addon, options)
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