You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1160 lines
56 KiB
1160 lines
56 KiB
local SLE, T, E, L, V, P, G = unpack(select(2, ...))
|
|
local PI = E.PluginInstaller
|
|
|
|
--GLOBALS: SkadaDB, Skada, xCTSavedDB, xCT_Plus, UIParent
|
|
local _G = _G
|
|
local format = format
|
|
local IsAddOnLoaded = IsAddOnLoaded
|
|
local ENABLE, DISABLE, NONE = ENABLE, DISABLE, NONE
|
|
local ADDONS = ADDONS
|
|
local SetCVar = SetCVar
|
|
local SetAutoDeclineGuildInvites = SetAutoDeclineGuildInvites
|
|
local SetInsertItemsLeftToRight = SetInsertItemsLeftToRight
|
|
local GetCVarBool, StopMusic, ReloadUI = GetCVarBool, StopMusic, ReloadUI
|
|
|
|
PI.SLE_Auth = ''
|
|
PI.SLE_Word = ''
|
|
|
|
local function DarthHeal()
|
|
E.db['unitframe']['units']['raid']['healPrediction']['enable'] = true
|
|
|
|
E.db['movers']['ElvUF_RaidMover'] = 'TOPLEFT,ElvUIParent,TOPLEFT,362,-272'
|
|
E.db['movers']['LootFrameMover'] = 'TOPLEFT,ElvUIParent,TOPLEFT,1,-467'
|
|
E.db['movers']['AlertFrameMover'] = 'BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,252,249'
|
|
end
|
|
|
|
function PI:DarthSetup()
|
|
local layout = E.db.layoutSet
|
|
local installMark = E.private['install_complete']
|
|
local installMarkSLE = E.private['sle']['install_complete']
|
|
|
|
wipe(E.db)
|
|
E:CopyTable(E.db, P)
|
|
|
|
wipe(E.private)
|
|
E:CopyTable(E.private, V)
|
|
|
|
E:ResetMovers('')
|
|
if not E.db['movers'] then E.db['movers'] = {} end
|
|
|
|
--General
|
|
do
|
|
E.db['general']['totems']['size'] = 42
|
|
E.db['general']['totems']['growthDirection'] = 'HORIZONTAL'
|
|
E.db['general']['totems']['spacing'] = 1
|
|
|
|
E.db['general']['stickyFrames'] = false
|
|
E.db['general']['talkingHeadFrameScale'] = 1
|
|
E.db['general']['bottomPanel'] = false
|
|
|
|
E.db['general']['bordercolor']['r'] = 0
|
|
E.db['general']['bordercolor']['g'] = 0
|
|
E.db['general']['bordercolor']['b'] = 0
|
|
|
|
E.db['general']['autoRepair'] = 'PLAYER'
|
|
|
|
E.db['general']['minimap']['size'] = 220
|
|
E.db['general']['minimap']['locationText'] = 'HIDE'
|
|
|
|
E.db['general']['decimalLength'] = 2
|
|
|
|
E.db['general']['valuecolor']['b'] = 0.15294117647059
|
|
E.db['general']['valuecolor']['g'] = 0.74901960784314
|
|
E.db['general']['valuecolor']['r'] = 0.23529411764706
|
|
|
|
E.db['general']['backdropfadecolor']['r'] = 0.054
|
|
E.db['general']['backdropfadecolor']['g'] = 0.054
|
|
E.db['general']['backdropfadecolor']['b'] = 0.054
|
|
|
|
E.db['general']['objectiveFrameHeight'] = 500
|
|
E.db['general']['bonusObjectivePosition'] = 'AUTO'
|
|
|
|
E.db['general']['vehicleSeatIndicatorSize'] = 112
|
|
|
|
E.db['general']['altPowerBar']['statusBar'] = 'WorldState Score'
|
|
end
|
|
--Actionbars
|
|
do
|
|
E.db["actionbar"]["font"] = "PT Sans Narrow"
|
|
E.db["actionbar"]["fontSize"] = 12
|
|
E.db["actionbar"]["fontOutline"] = "OUTLINE"
|
|
E.db["actionbar"]["chargeCooldown"] = true
|
|
E.db["actionbar"]["desaturateOnCooldown"] = true
|
|
E.db["actionbar"]["transparent"] = true
|
|
E.db["actionbar"]["useDrawSwipeOnCharges"] = true
|
|
|
|
E.db["actionbar"]["bar1"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["bar1"]["buttonsPerRow"] = 6
|
|
E.db["actionbar"]["bar1"]["buttonSize"] = 44
|
|
E.db["actionbar"]["bar1"]["buttonSpacing"] = -1
|
|
|
|
E.db["actionbar"]["bar2"]["enabled"] = true
|
|
E.db["actionbar"]["bar2"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["bar2"]["buttonSize"] = 36
|
|
E.db["actionbar"]["bar2"]["buttonSpacing"] = -1
|
|
E.db["actionbar"]["bar2"]["buttonsPerRow"] = 4
|
|
E.db["actionbar"]["bar2"]["visibility"] = "[petbattle] hide; show"
|
|
|
|
E.db["actionbar"]["bar3"]["buttonSize"] = 36
|
|
E.db["actionbar"]["bar3"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["bar3"]["buttons"] = 12
|
|
E.db["actionbar"]["bar3"]["buttonSpacing"] = -1
|
|
E.db["actionbar"]["bar3"]["buttonsPerRow"] = 4
|
|
E.db["actionbar"]["bar3"]["visibility"] = "[petbattle] hide; show"
|
|
|
|
E.db["actionbar"]["bar4"]["buttonSize"] = 38
|
|
E.db["actionbar"]["bar4"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["bar4"]["buttonSpacing"] = -1
|
|
E.db["actionbar"]["bar4"]["buttonsPerRow"] = 2
|
|
E.db["actionbar"]["bar4"]["visibility"] = "[petbattle] hide; show"
|
|
E.db["actionbar"]["bar4"]["backdrop"] = false
|
|
|
|
E.db["actionbar"]["bar5"]["buttonSize"] = 38
|
|
E.db["actionbar"]["bar5"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["bar5"]["buttons"] = 12
|
|
E.db["actionbar"]["bar5"]["buttonSpacing"] = -1
|
|
E.db["actionbar"]["bar5"]["buttonsPerRow"] = 2
|
|
E.db["actionbar"]["bar5"]["visibility"] = "[petbattle] hide; show"
|
|
|
|
E.db["actionbar"]["bar6"]["visibility"] = "[petbattle] hide; show"
|
|
|
|
E.db["actionbar"]["stanceBar"]["style"] = "classic"
|
|
E.db["actionbar"]["stanceBar"]["buttonSize"] = 24
|
|
|
|
E.db["actionbar"]["barPet"]["point"] = "TOPLEFT"
|
|
E.db["actionbar"]["barPet"]["buttonSpacing"] = -1
|
|
E.db["actionbar"]["barPet"]["buttonsPerRow"] = 5
|
|
E.db["actionbar"]["barPet"]["backdrop"] = false
|
|
E.db["actionbar"]["barPet"]["buttonSize"] = 20
|
|
end
|
|
--Auras
|
|
do
|
|
E.db["auras"]["buffs"]["sortDir"] = "+"
|
|
E.db["auras"]["buffs"]["durationFontSize"] = 14
|
|
E.db["auras"]["buffs"]["horizontalSpacing"] = 3
|
|
E.db["auras"]["buffs"]["maxWraps"] = 2
|
|
E.db["auras"]["buffs"]["countFont"] = "PT Sans Narrow"
|
|
E.db["auras"]["buffs"]["countFontOutline"] = "OUTLINE"
|
|
E.db["auras"]["buffs"]["countFontSize"] = 12
|
|
E.db["auras"]["buffs"]["size"] = 40
|
|
|
|
E.db["auras"]["debuffs"]["countFont"] = "PT Sans Narrow"
|
|
E.db["auras"]["debuffs"]["countFontOutline"] = "OUTLINE"
|
|
E.db["auras"]["debuffs"]["countFontSize"] = 12
|
|
E.db["auras"]["debuffs"]["horizontalSpacing"] = 3
|
|
E.db["auras"]["debuffs"]["durationFontSize"] = 14
|
|
E.db["auras"]["debuffs"]["size"] = 40
|
|
end
|
|
--Bags
|
|
do
|
|
E.db["bags"]["countFont"] = "Expressway"
|
|
E.db["bags"]["countFontSize"] = 12
|
|
E.db["bags"]["countFontOutline"] = "OUTLINE"
|
|
E.db["bags"]["itemLevelFont"] = "Expressway"
|
|
E.db["bags"]["itemLevelFontSize"] = 12
|
|
E.db["bags"]["itemLevelFontOutline"] = "OUTLINE"
|
|
|
|
E.db["bags"]["transparent"] = true
|
|
E.db["bags"]["bagWidth"] = 474
|
|
E.db["bags"]["bankWidth"] = 474
|
|
E.db["bags"]["bagSize"] = 32
|
|
E.db["bags"]["bankSize"] = 32
|
|
|
|
E.db["bags"]["vendorGrays"]["enable"] = true
|
|
E.db["bags"]["clearSearchOnClose"] = true
|
|
E.db["bags"]["scrapIcon"] = true
|
|
E.db["bags"]["junkIcon"] = true
|
|
E.db["bags"]["qualityColors"] = true
|
|
|
|
E.db["bags"]["currencyFormat"] = "ICON"
|
|
E.db["bags"]["moneyFormat"] = "BLIZZARD2"
|
|
end
|
|
--Chat
|
|
do
|
|
E.db["chat"]["copyChatLines"] = true
|
|
E.db["chat"]["fadeChatToggles"] = false
|
|
E.db["chat"]["emotionIcons"] = false
|
|
|
|
E.db["chat"]["timeStampFormat"] = "%H:%M:%S "
|
|
|
|
E.db["chat"]["panelWidth"] = 475
|
|
E.db["chat"]["panelHeight"] = 227
|
|
E.db["chat"]["tabFontOutline"] = "OUTLINE"
|
|
E.db["chat"]["fontOutline"] = "OUTLINE"
|
|
|
|
E.db["chat"]["showHistory"]["EMOTE"] = false
|
|
E.db["chat"]["showHistory"]["YELL"] = false
|
|
E.db["chat"]["showHistory"]["SAY"] = false
|
|
|
|
E.db["chat"]["hideVoiceButtons"] = true
|
|
end
|
|
--Databars
|
|
do
|
|
E.db["databars"]["colors"]["quest"]["a"] = 0.40000003576279
|
|
E.db["databars"]["colors"]["quest"]["g"] = 0
|
|
|
|
E.db["databars"]["reputation"]["enable"] = true
|
|
E.db["databars"]["reputation"]["height"] = 227
|
|
E.db["databars"]["reputation"]["width"] = 10
|
|
E.db["databars"]["reputation"]["orientation"] = "VERTICAL"
|
|
|
|
E.db["databars"]["azerite"]["textFormat"] = "CURMAX"
|
|
E.db["databars"]["azerite"]["textSize"] = 10
|
|
E.db["databars"]["azerite"]["width"] = 547
|
|
|
|
E.db["databars"]["experience"]["height"] = 227
|
|
E.db["databars"]["experience"]["width"] = 10
|
|
E.db["databars"]["experience"]["orientation"] = "VERTICAL"
|
|
|
|
E.db["databars"]["honor"]["textFormat"] = "CURMAX"
|
|
E.db["databars"]["honor"]["textSize"] = 10
|
|
E.db["databars"]["honor"]["width"] = 547
|
|
|
|
E.db["databars"]["threat"]["width"] = 262
|
|
end
|
|
--Datatexts
|
|
do
|
|
E.DataTexts:BuildPanelFrame("Darth_Panel_1")
|
|
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["panelTransparency"] = true
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["border"] = true
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["tooltipYOffset"] = 4
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["numPoints"] = 8
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["tooltipAnchor"] = "ANCHOR_TOPLEFT"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["frameLevel"] = 1
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["enable"] = true
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["frameStrata"] = "LOW"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["width"] = 1184
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["fonts"]["enable"] = false
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["fonts"]["font"] = "PT Sans Narrow"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["fonts"]["fontSize"] = 12
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["fonts"]["fontOutline"] = "OUTLINE"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["backdrop"] = true
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["name"] = "Darth_Panel_1"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["mouseover"] = false
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["height"] = 24
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["tooltipXOffset"] = -17
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["visibility"] = "[petbattle] hide;show"
|
|
E.global["datatexts"]["customPanels"]["Darth_Panel_1"]["growth"] = "HORIZONTAL"
|
|
|
|
E.db["datatexts"]["noCombatClick"] = true
|
|
E.db["datatexts"]["noCombatHover"] = true
|
|
E.db["datatexts"]["fontOutline"] = "OUTLINE"
|
|
E.global["datatexts"]["settings"]["Currencies"]["displayedCurrency"] = "GOLD"
|
|
|
|
E.db["datatexts"]["panels"]["MinimapPanel"][1] = "Time"
|
|
E.db["datatexts"]["panels"]["MinimapPanel"][2] = "Combat"
|
|
E.db["datatexts"]["panels"]["MinimapPanel"]["panelTransparency"] = true
|
|
|
|
E.db["datatexts"]["panels"]["RightChatDataPanel"][1] = "Mastery"
|
|
E.db["datatexts"]["panels"]["RightChatDataPanel"][2] = "S&L Item Level"
|
|
E.db["datatexts"]["panels"]["RightChatDataPanel"][3] = "Talent/Loot Specialization"
|
|
E.db["datatexts"]["panels"]["RightChatDataPanel"]["panelTransparency"] = true
|
|
|
|
E.db["datatexts"]["panels"]["LeftChatDataPanel"][1] = "S&L Time Played"
|
|
E.db["datatexts"]["panels"]["LeftChatDataPanel"][3] = "S&L Guild"
|
|
E.db["datatexts"]["panels"]["LeftChatDataPanel"]["panelTransparency"] = true
|
|
|
|
E.db["datatexts"]["panels"]["Darth_Panel_1"] = {
|
|
[1] = "S&L Friends",
|
|
[2] = "S&L Currencies",
|
|
[3] = "Bags",
|
|
[4] = "System",
|
|
[5] = "Primary Stat",
|
|
[6] = "Versatility",
|
|
[7] = "Crit",
|
|
[8] = "Haste",
|
|
["enable"] = true,
|
|
}
|
|
|
|
E.db["movers"]["DTPanelDarth_Panel_1Mover"] = "BOTTOM,ElvUIParent,BOTTOM,0,0"
|
|
local newPanel = E.DataTexts:FetchFrame("Darth_Panel_1")
|
|
newPanel:SetPoint("CENTER",newPanel.mover,"CENTER",0,0)
|
|
end
|
|
--Nameplates
|
|
do
|
|
E.db["v11NamePlateReset"] = true
|
|
|
|
E.db["nameplates"]["threat"]["beingTankedByTank"] = false
|
|
E.db["nameplates"]["statusbar"] = "Polished Wood"
|
|
E.db["nameplates"]["clickThrough"]["personal"] = true
|
|
E.db["nameplates"]["clampToScreen"] = true
|
|
E.db["nameplates"]["visibility"]["enemy"]["pets"] = true
|
|
E.db["nameplates"]["visibility"]["enemy"]["totems"] = true
|
|
E.db["nameplates"]["fadeIn"] = false
|
|
|
|
E.db["nameplates"]["units"]["PLAYER"]["enable"] = false
|
|
|
|
E.db["nameplates"]["units"]["TARGET"]["glowStyle"] = "style1"
|
|
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["name"]["format"] = "[name:long]"
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["numAuras"] = 6
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["size"] = 25
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["yOffset"] = 5
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["castbar"]["iconSize"] = 24
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["castbar"]["hideTime"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["castbar"]["sourceInterrupt"] = false
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["questIcon"]["yOffset"] = 20
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["raidTargetIndicator"]["size"] = 22
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["eliteIcon"]["enable"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["eliteIcon"]["xOffset"] = 10
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["eliteIcon"]["yOffset"] = 16
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["eliteIcon"]["position"] = "LEFT"
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["numAuras"] = 6
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["size"] = 25
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["yOffset"] = 35
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["enable"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["enable"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["fontSize"] = 12
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["position"] = "BOTTOMLEFT"
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["yOffset"] = 10
|
|
E.db["nameplates"]["units"]["ENEMY_NPC"]["health"]["text"]["fontSize"] = 12
|
|
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["numAuras"] = 6
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["priority"] = "Blacklist,Personal,CCDebuffs"
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["size"] = 25
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["debuffs"]["yOffset"] = 5
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["castbar"]["iconSize"] = 24
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["castbar"]["hideTime"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["castbar"]["sourceInterrupt"] = false
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["raidTargetIndicator"]["size"] = 22
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["title"]["format"] = "[npctitle]"
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["health"]["text"]["fontSize"] = 12
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["enable"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["text"]["enable"] = true
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["text"]["fontSize"] = 12
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["text"]["position"] = "BOTTOMLEFT"
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["power"]["text"]["yOffset"] = 10
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["maxDuration"] = 0
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["numAuras"] = 6
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["priority"] = "Blacklist,RaidBuffsElvUI,Dispellable,blockNoDuration,PlayerBuffs,TurtleBuffs,CastByUnit"
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["size"] = 25
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["yOffset"] = 35
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["level"]["format"] = "[difficultycolor][level][shortclassification]"
|
|
E.db["nameplates"]["units"]["ENEMY_PLAYER"]["name"]["format"] = "[name]"
|
|
end
|
|
--Tooltips
|
|
do
|
|
E.db["tooltip"]["itemCount"] = "NONE"
|
|
E.db["tooltip"]["healthBar"]["height"] = 12
|
|
E.db["tooltip"]["healthBar"]["font"] = "PT Sans Narrow"
|
|
E.db["tooltip"]["healthBar"]["fontSize"] = 12
|
|
end
|
|
--Unitframes
|
|
do
|
|
E.db["unitframe"]["fontSize"] = 14
|
|
E.db["unitframe"]["font"] = "PT Sans Narrow"
|
|
E.db["unitframe"]["fontOutline"] = "OUTLINE"
|
|
E.db["unitframe"]["statusbar"] = "Polished Wood"
|
|
E.db["unitframe"]["smartRaidFilter"] = false
|
|
E.db["unitframe"]["thinBorders"] = true
|
|
|
|
E.db["unitframe"]["units"]["player"]["debuffs"]["perrow"] = 7
|
|
E.db["unitframe"]["units"]["player"]["debuffs"]["yOffset"] = 14
|
|
E.db["unitframe"]["units"]["player"]["portrait"]["overlayAlpha"] = 1
|
|
E.db["unitframe"]["units"]["player"]["portrait"]["fullOverlay"] = true
|
|
E.db["unitframe"]["units"]["player"]["portrait"]["enable"] = true
|
|
E.db["unitframe"]["units"]["player"]["portrait"]["camDistanceScale"] = 3.5
|
|
E.db["unitframe"]["units"]["player"]["portrait"]["overlay"] = true
|
|
E.db["unitframe"]["units"]["player"]["resurrectIcon"]["size"] = 40
|
|
E.db["unitframe"]["units"]["player"]["RestIcon"]["anchorPoint"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["player"]["RestIcon"]["yOffset"] = 3
|
|
E.db["unitframe"]["units"]["player"]["health"]["yOffset"] = -2
|
|
E.db["unitframe"]["units"]["player"]["health"]["position"] = "TOPLEFT"
|
|
E.db["unitframe"]["units"]["player"]["CombatIcon"]["anchorPoint"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["player"]["CombatIcon"]["xOffset"] = 12
|
|
E.db["unitframe"]["units"]["player"]["CombatIcon"]["yOffset"] = -8
|
|
E.db["unitframe"]["units"]["player"]["CombatIcon"]["size"] = 30
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["maxDuration"] = 600
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["maxBars"] = 8
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["detachedWidth"] = 200
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,Whitelist,nonPersonal"
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["attachTo"] = "DETACHED"
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["sortDirection"] = "ASCENDING"
|
|
E.db["unitframe"]["units"]["player"]["aurabar"]["spacing"] = 1
|
|
E.db["unitframe"]["units"]["player"]["classbar"]["autoHide"] = true
|
|
E.db["unitframe"]["units"]["player"]["classbar"]["detachFromFrame"] = true
|
|
E.db["unitframe"]["units"]["player"]["classbar"]["height"] = 14
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["insideInfoPanel"] = false
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["iconAttachedTo"] = "Castbar"
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["iconYOffset"] = 6
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["iconXOffset"] = 0
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["iconSize"] = 30
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 250
|
|
E.db["unitframe"]["units"]["player"]["castbar"]["icon"] = false
|
|
E.db["unitframe"]["units"]["player"]["customTexts"] = {}
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"] = {}
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["attachTextTo"] = "Health"
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["enable"] = true
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["text_format"] = "[absorbs:sl-short]"
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["yOffset"] = -6
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["font"] = "PT Sans Narrow"
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["justifyH"] = "LEFT"
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["fontOutline"] = "OUTLINE"
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["xOffset"] = 2
|
|
E.db["unitframe"]["units"]["player"]["customTexts"]["Absorbs"]["size"] = 14
|
|
E.db["unitframe"]["units"]["player"]["healPrediction"]["showOverAbsorbs"] = false
|
|
E.db["unitframe"]["units"]["player"]["disableMouseoverGlow"] = true
|
|
E.db["unitframe"]["units"]["player"]["width"] = 220
|
|
E.db["unitframe"]["units"]["player"]["power"]["attachTextTo"] = "Power"
|
|
E.db["unitframe"]["units"]["player"]["power"]["position"] = "LEFT"
|
|
E.db["unitframe"]["units"]["player"]["power"]["xOffset"] = 2
|
|
E.db["unitframe"]["units"]["player"]["power"]["text_format"] = "[powercolor][curpp]"
|
|
E.db["unitframe"]["units"]["player"]["name"]["yOffset"] = 14
|
|
E.db["unitframe"]["units"]["player"]["name"]["text_format"] = "[name] [level]"
|
|
E.db["unitframe"]["units"]["player"]["name"]["position"] = "TOPLEFT"
|
|
E.db["unitframe"]["units"]["player"]["raidicon"]["attachTo"] = "BOTTOMRIGHT"
|
|
E.db["unitframe"]["units"]["player"]["raidicon"]["size"] = 20
|
|
E.db["unitframe"]["units"]["player"]["raidicon"]["xOffset"] = 20
|
|
E.db["unitframe"]["units"]["player"]["raidicon"]["yOffset"] = 0
|
|
E.db["unitframe"]["units"]["player"]["height"] = 50
|
|
E.db["unitframe"]["units"]["player"]["buffs"]["perrow"] = 7
|
|
E.db["unitframe"]["units"]["player"]["buffs"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,Whitelist,nonPersonal"
|
|
E.db["unitframe"]["units"]["player"]["pvpIcon"]["enable"] = true
|
|
E.db["unitframe"]["units"]["player"]["pvpIcon"]["xOffset"] = -36
|
|
E.db["unitframe"]["units"]["player"]["pvpIcon"]["anchorPoint"] = "LEFT"
|
|
E.db["unitframe"]["units"]["player"]["pvp"]["text_format"] = ""
|
|
|
|
E.db["unitframe"]["units"]["pet"]["debuffs"]["anchorPoint"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["pet"]["castbar"]["iconSize"] = 32
|
|
E.db["unitframe"]["units"]["pet"]["castbar"]["width"] = 100
|
|
E.db["unitframe"]["units"]["pet"]["width"] = 100
|
|
E.db["unitframe"]["units"]["pet"]["infoPanel"]["height"] = 14
|
|
E.db["unitframe"]["units"]["pet"]["disableTargetGlow"] = false
|
|
E.db["unitframe"]["units"]["pet"]["height"] = 30
|
|
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["anchorPoint"] = "TOPLEFT"
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["maxDuration"] = 0
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["attachTo"] = "FRAME"
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["priority"] = "Blacklist,Personal,nonPersonal"
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["perrow"] = 7
|
|
E.db["unitframe"]["units"]["target"]["debuffs"]["yOffset"] = 14
|
|
E.db["unitframe"]["units"]["target"]["portrait"]["overlayAlpha"] = 1
|
|
E.db["unitframe"]["units"]["target"]["portrait"]["fullOverlay"] = true
|
|
E.db["unitframe"]["units"]["target"]["portrait"]["enable"] = true
|
|
E.db["unitframe"]["units"]["target"]["portrait"]["camDistanceScale"] = 3.5
|
|
E.db["unitframe"]["units"]["target"]["portrait"]["overlay"] = true
|
|
E.db["unitframe"]["units"]["target"]["resurrectIcon"]["size"] = 40
|
|
E.db["unitframe"]["units"]["target"]["CombatIcon"]["anchorPoint"] = "TOPLEFT"
|
|
E.db["unitframe"]["units"]["target"]["CombatIcon"]["xOffset"] = -12
|
|
E.db["unitframe"]["units"]["target"]["CombatIcon"]["yOffset"] = -8
|
|
E.db["unitframe"]["units"]["target"]["CombatIcon"]["size"] = 30
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["maxDuration"] = 0
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["maxBars"] = 8
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["detachedWidth"] = 200
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,Whitelist,nonPersonal"
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["attachTo"] = "DETACHED"
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["sortDirection"] = "ASCENDING"
|
|
E.db["unitframe"]["units"]["target"]["aurabar"]["spacing"] = 1
|
|
E.db["unitframe"]["units"]["target"]["castbar"]["xOffsetText"] = 0
|
|
E.db["unitframe"]["units"]["target"]["castbar"]["height"] = 24
|
|
E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 250
|
|
E.db["unitframe"]["units"]["target"]["castbar"]["insideInfoPanel"] = false
|
|
E.db["unitframe"]["units"]["target"]["customTexts"] = {}
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"] = {}
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["attachTextTo"] = "Health"
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["enable"] = true
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["text_format"] = "[absorbs:sl-short]"
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["yOffset"] = -6
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["font"] = "PT Sans Narrow"
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["justifyH"] = "RIGHT"
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["fontOutline"] = "OUTLINE"
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["xOffset"] = -2
|
|
E.db["unitframe"]["units"]["target"]["customTexts"]["Absorbs"]["size"] = 14
|
|
E.db["unitframe"]["units"]["target"]["healPrediction"]["showOverAbsorbs"] = false
|
|
E.db["unitframe"]["units"]["target"]["disableMouseoverGlow"] = true
|
|
E.db["unitframe"]["units"]["target"]["width"] = 220
|
|
E.db["unitframe"]["units"]["target"]["health"]["yOffset"] = -2
|
|
E.db["unitframe"]["units"]["target"]["health"]["position"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["target"]["name"]["yOffset"] = 14
|
|
E.db["unitframe"]["units"]["target"]["name"]["text_format"] = "[name] [level]"
|
|
E.db["unitframe"]["units"]["target"]["name"]["position"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["target"]["pvpIcon"]["enable"] = true
|
|
E.db["unitframe"]["units"]["target"]["pvpIcon"]["xOffset"] = 36
|
|
E.db["unitframe"]["units"]["target"]["pvpIcon"]["anchorPoint"] = "RIGHT"
|
|
E.db["unitframe"]["units"]["target"]["height"] = 50
|
|
E.db["unitframe"]["units"]["target"]["buffs"]["anchorPoint"] = "TOPLEFT"
|
|
E.db["unitframe"]["units"]["target"]["buffs"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,Whitelist,nonPersonal"
|
|
E.db["unitframe"]["units"]["target"]["buffs"]["attachTo"] = "DEBUFFS"
|
|
E.db["unitframe"]["units"]["target"]["buffs"]["perrow"] = 7
|
|
E.db["unitframe"]["units"]["target"]["power"]["attachTextTo"] = "Power"
|
|
E.db["unitframe"]["units"]["target"]["power"]["position"] = "RIGHT"
|
|
E.db["unitframe"]["units"]["target"]["power"]["xOffset"] = -2
|
|
E.db["unitframe"]["units"]["target"]["power"]["text_format"] = "[powercolor][curpp]"
|
|
E.db["unitframe"]["units"]["target"]["raidicon"]["attachTo"] = "BOTTOMLEFT"
|
|
E.db["unitframe"]["units"]["target"]["raidicon"]["size"] = 20
|
|
E.db["unitframe"]["units"]["target"]["raidicon"]["xOffset"] = -20
|
|
E.db["unitframe"]["units"]["target"]["raidicon"]["yOffset"] = 0
|
|
|
|
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["anchorPoint"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["xOffset"] = 100
|
|
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["attachTo"] = "HEALTH"
|
|
E.db["unitframe"]["units"]["targettarget"]["debuffs"]["yOffset"] = -19
|
|
E.db["unitframe"]["units"]["targettarget"]["power"]["enable"] = false
|
|
E.db["unitframe"]["units"]["targettarget"]["disableMouseoverGlow"] = true
|
|
E.db["unitframe"]["units"]["targettarget"]["width"] = 100
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["anchorPoint"] = "BOTTOMRIGHT"
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["xOffset"] = 100
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["attachTo"] = "HEALTH"
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["enable"] = true
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,Whitelist,nonPersonal"
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["maxDuration"] = 0
|
|
E.db["unitframe"]["units"]["targettarget"]["buffs"]["yOffset"] = 12
|
|
E.db["unitframe"]["units"]["targettarget"]["threatStyle"] = "GLOW"
|
|
E.db["unitframe"]["units"]["targettarget"]["raidicon"]["attachTo"] = "LEFT"
|
|
E.db["unitframe"]["units"]["targettarget"]["raidicon"]["xOffset"] = -19
|
|
E.db["unitframe"]["units"]["targettarget"]["raidicon"]["yOffset"] = 0
|
|
|
|
E.db["unitframe"]["units"]["focus"]["debuffs"]["xOffset"] = -4
|
|
E.db["unitframe"]["units"]["focus"]["debuffs"]["sizeOverride"] = 30
|
|
E.db["unitframe"]["units"]["focus"]["debuffs"]["anchorPoint"] = "BOTTOMRIGHT"
|
|
E.db["unitframe"]["units"]["focus"]["debuffs"]["perrow"] = 7
|
|
E.db["unitframe"]["units"]["focus"]["width"] = 220
|
|
E.db["unitframe"]["units"]["focus"]["castbar"]["width"] = 220
|
|
E.db["unitframe"]["units"]["focus"]["height"] = 30
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["anchorPoint"] = "RIGHT"
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["sizeOverride"] = 30
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["attachTo"] = "HEALTH"
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["maxDuration"] = 0
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["enable"] = true
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["priority"] = "Blacklist,blockNoDuration,Personal,PlayerBuffs,CastByUnit,Dispellable,RaidBuffsElvUI"
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["perrow"] = 4
|
|
E.db["unitframe"]["units"]["focus"]["buffs"]["yOffset"] = -4
|
|
E.db["unitframe"]["units"]["focus"]["raidicon"]["attachTo"] = "LEFT"
|
|
E.db["unitframe"]["units"]["focus"]["raidicon"]["xOffset"] = -20
|
|
E.db["unitframe"]["units"]["focus"]["raidicon"]["size"] = 20
|
|
|
|
E.db["unitframe"]["units"]["tank"]["enable"] = false
|
|
E.db["unitframe"]["units"]["assist"]["enable"] = false
|
|
|
|
E.db["unitframe"]["units"]["party"]["enable"] = false
|
|
|
|
E.db["unitframe"]["units"]["raid"]["rdebuffs"]["font"] = "PT Sans Narrow"
|
|
E.db["unitframe"]["units"]["raid"]["rdebuffs"]["yOffset"] = 10
|
|
E.db["unitframe"]["units"]["raid"]["numGroups"] = 8
|
|
E.db["unitframe"]["units"]["raid"]["growthDirection"] = "RIGHT_UP"
|
|
E.db["unitframe"]["units"]["raid"]["resurrectIcon"]["attachTo"] = "BOTTOMRIGHT"
|
|
E.db["unitframe"]["units"]["raid"]["roleIcon"]["attachTo"] = "InfoPanel"
|
|
E.db["unitframe"]["units"]["raid"]["roleIcon"]["size"] = 12
|
|
E.db["unitframe"]["units"]["raid"]["roleIcon"]["xOffset"] = 0
|
|
E.db["unitframe"]["units"]["raid"]["roleIcon"]["yOffset"] = -2
|
|
E.db["unitframe"]["units"]["raid"]["power"]["height"] = 5
|
|
E.db["unitframe"]["units"]["raid"]["power"]["enable"] = false
|
|
E.db["unitframe"]["units"]["raid"]["health"]["text_format"] = ""
|
|
E.db["unitframe"]["units"]["raid"]["width"] = 92
|
|
E.db["unitframe"]["units"]["raid"]["infoPanel"]["enable"] = true
|
|
E.db["unitframe"]["units"]["raid"]["name"]["attachTextTo"] = "InfoPanel"
|
|
E.db["unitframe"]["units"]["raid"]["name"]["yOffset"] = -4
|
|
E.db["unitframe"]["units"]["raid"]["name"]["xOffset"] = 2
|
|
E.db["unitframe"]["units"]["raid"]["name"]["position"] = "BOTTOMLEFT"
|
|
E.db["unitframe"]["units"]["raid"]["height"] = 22
|
|
E.db["unitframe"]["units"]["raid"]["visibility"] = "[nogroup] hide;show"
|
|
E.db["unitframe"]["units"]["raid"]["raidicon"]["attachTo"] = "RIGHT"
|
|
|
|
E.db["unitframe"]["units"]["raid40"]["enable"] = false
|
|
|
|
E.db["unitframe"]["units"]["arena"]["name"]["position"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["arena"]["health"]["xOffset"] = -2
|
|
E.db["unitframe"]["units"]["arena"]["health"]["position"] = "BOTTOMRIGHT"
|
|
E.db["unitframe"]["units"]["arena"]["power"]["attachTextTo"] = "Power"
|
|
E.db["unitframe"]["units"]["arena"]["power"]["text_format"] = "[powercolor][curpp]"
|
|
|
|
E.db["unitframe"]["units"]["boss"]["debuffs"]["maxDuration"] = 300
|
|
E.db["unitframe"]["units"]["boss"]["debuffs"]["sizeOverride"] = 27
|
|
E.db["unitframe"]["units"]["boss"]["debuffs"]["priority"] = "Blacklist,blockNoDuration,Personal,CCDebuffs,Whitelist"
|
|
E.db["unitframe"]["units"]["boss"]["debuffs"]["desaturate"] = false
|
|
E.db["unitframe"]["units"]["boss"]["debuffs"]["yOffset"] = -16
|
|
E.db["unitframe"]["units"]["boss"]["power"]["attachTextTo"] = "Power"
|
|
E.db["unitframe"]["units"]["boss"]["power"]["text_format"] = "[powercolor][curpp]"
|
|
E.db["unitframe"]["units"]["boss"]["width"] = 246
|
|
E.db["unitframe"]["units"]["boss"]["infoPanel"]["height"] = 17
|
|
E.db["unitframe"]["units"]["boss"]["castbar"]["width"] = 256
|
|
E.db["unitframe"]["units"]["boss"]["name"]["position"] = "TOPRIGHT"
|
|
E.db["unitframe"]["units"]["boss"]["height"] = 47
|
|
E.db["unitframe"]["units"]["boss"]["buffs"]["maxDuration"] = 300
|
|
E.db["unitframe"]["units"]["boss"]["buffs"]["sizeOverride"] = 27
|
|
E.db["unitframe"]["units"]["boss"]["buffs"]["priority"] = "Blacklist,TurtleBuffs,PlayerBuffs,Dispellable"
|
|
E.db["unitframe"]["units"]["boss"]["buffs"]["yOffset"] = 16
|
|
E.db["unitframe"]["units"]["boss"]["health"]["xOffset"] = -2
|
|
E.db["unitframe"]["units"]["boss"]["health"]["position"] = "BOTTOMRIGHT"
|
|
|
|
E.db["unitframe"]["colors"]["transparentAurabars"] = true
|
|
E.db["unitframe"]["colors"]["healthclass"] = true
|
|
E.db["unitframe"]["colors"]["colorhealthbyvalue"] = false
|
|
E.db["unitframe"]["colors"]["frameGlow"]["mainGlow"]["class"] = true
|
|
E.db["unitframe"]["colors"]["auraBarBuff"]["r"] = 0.23529411764706
|
|
E.db["unitframe"]["colors"]["auraBarBuff"]["g"] = 0.74901960784314
|
|
E.db["unitframe"]["colors"]["auraBarBuff"]["b"] = 0.15294117647059
|
|
E.db["unitframe"]["colors"]["castColor"]["r"] = 0.6078431372549
|
|
E.db["unitframe"]["colors"]["castColor"]["g"] = 0.58823529411765
|
|
E.db["unitframe"]["colors"]["castColor"]["b"] = 0.28235294117647
|
|
E.db["unitframe"]["colors"]["healPrediction"]["absorbs"]["a"] = 0.61000001430511
|
|
E.db["unitframe"]["colors"]["healPrediction"]["absorbs"]["b"] = 0.5921568627451
|
|
E.db["unitframe"]["colors"]["healPrediction"]["absorbs"]["r"] = 0.95686274509804
|
|
E.db["unitframe"]["colors"]["healPrediction"]["overabsorbs"]["a"] = 0.61073982715607
|
|
E.db["unitframe"]["colors"]["healPrediction"]["overabsorbs"]["b"] = 1
|
|
E.db["unitframe"]["colors"]["healPrediction"]["overhealabsorbs"]["a"] = 0.61000001430511
|
|
|
|
end
|
|
--S&L
|
|
do
|
|
E.db["sle"]["media"]["fonts"]["zone"]["font"] = "RussoOne"
|
|
E.db["sle"]["media"]["fonts"]["subzone"]["font"] = "RussoOne"
|
|
E.db["sle"]["media"]["fonts"]["pvp"]["font"] = "RussoOne"
|
|
|
|
E.db["sle"]["blizzard"]["rumouseover"] = true
|
|
|
|
E.db["sle"]["armory"]["stats"]["List"]["ATTACK_AP"] = true
|
|
E.db["sle"]["armory"]["stats"]["IlvlColor"] = true
|
|
E.db["sle"]["armory"]["character"]["enable"] = true
|
|
E.db["sle"]["armory"]["character"]["gradient"]["quality"] = true
|
|
E.db["sle"]["armory"]["inspect"]["enable"] = true
|
|
E.db["sle"]["armory"]["inspect"]["gradient"]["quality"] = true
|
|
|
|
E.db["sle"]["unitframes"]["unit"]["raid"]["offline"]["enable"] = true
|
|
E.db["sle"]["unitframes"]["unit"]["raid"]["offline"]["size"] = 22
|
|
E.db["sle"]["unitframes"]["unit"]["raid"]["dead"]["enable"] = true
|
|
E.db["sle"]["unitframes"]["unit"]["raid"]["dead"]["size"] = 22
|
|
E.db["sle"]["unitframes"]["unit"]["player"]["pvpIconText"]["enable"] = true
|
|
E.db["sle"]["unitframes"]["unit"]["player"]["pvpIconText"]["yoffset"] = -6
|
|
|
|
E.db["sle"]["loot"]["history"]["autohide"] = true
|
|
E.db["sle"]["loot"]["enable"] = true
|
|
E.db["sle"]["loot"]["autoroll"]["autogreed"] = true
|
|
|
|
E.db["sle"]["uibuttons"]["point"] = "TOPRIGHT"
|
|
E.db["sle"]["uibuttons"]["enable"] = true
|
|
E.db["sle"]["uibuttons"]["spacing"] = 1
|
|
E.db["sle"]["uibuttons"]["anchor"] = "TOPLEFT"
|
|
|
|
E.db["sle"]["tooltip"]["showFaction"] = true
|
|
E.db["sle"]["tooltip"]["alwaysCompareItems"] = true
|
|
|
|
E.db["sle"]["legacy"]["warwampaign"]["autoOrder"]["enable"] = true
|
|
|
|
E.db["sle"]["chat"]["guildmaster"] = true
|
|
E.db["sle"]["chat"]["dpsSpam"] = true
|
|
|
|
E.db["sle"]["dt"]["friends"]["hideODIN"] = true
|
|
E.db["sle"]["dt"]["friends"]["hideLAZR"] = true
|
|
E.db["sle"]["dt"]["friends"]["hide_titleline"] = true
|
|
E.db["sle"]["dt"]["friends"]["hideBSAp"] = true
|
|
E.db["sle"]["dt"]["friends"]["hideVIPR"] = true
|
|
E.db["sle"]["dt"]["friends"]["panelStyle"] = "DEFAULTTOTALS"
|
|
E.db["sle"]["dt"]["currency"]["Unused"] = false
|
|
E.db["sle"]["dt"]["currency"]["Archaeology"] = false
|
|
E.db["sle"]["dt"]["currency"]["gold"]["method"] = "amount"
|
|
E.db["sle"]["dt"]["guild"]["totals"] = true
|
|
E.db["sle"]["dt"]["guild"]["hide_titleline"] = true
|
|
|
|
E.db["sle"]["nameplates"]["targetcount"]["enable"] = true
|
|
E.db["sle"]["nameplates"]["threat"]["enable"] = true
|
|
|
|
E.db["sle"]["minimap"]["instance"]["enable"] = true
|
|
E.db["sle"]["minimap"]["instance"]["fontSize"] = 14
|
|
E.db["sle"]["minimap"]["locPanel"]["enable"] = true
|
|
E.db["sle"]["minimap"]["locPanel"]["width"] = 310
|
|
|
|
E.db["sle"]["quests"]["autoReward"] = true
|
|
|
|
E.db["sle"]["pvp"]["autorelease"] = true
|
|
E.db["sle"]["pvp"]["duels"]["pet"] = true
|
|
E.db["sle"]["pvp"]["duels"]["regular"] = true
|
|
end
|
|
--Movers
|
|
do
|
|
E.db["movers"]["AlertFrameMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,297,-572"
|
|
E.db["movers"]["AltPowerBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,84"
|
|
E.db["movers"]["ArenaHeaderMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-4,-300"
|
|
E.db["movers"]["AzeriteBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,153"
|
|
E.db["movers"]["BNETMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,29"
|
|
E.db["movers"]["BelowMinimapContainerMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-3,-247"
|
|
E.db["movers"]["BossButton"] = "BOTTOM,ElvUIParent,BOTTOM,0,433"
|
|
E.db["movers"]["BossHeaderMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-4,-301"
|
|
E.db["movers"]["BuffsMover"] = "TOPRIGHT,MMHolder,TOPLEFT,-7,-1"
|
|
E.db["movers"]["ClassBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,412"
|
|
E.db["movers"]["DebuffsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-231,-116"
|
|
E.db["movers"]["DurabilityFrameMover"] = "BOTTOM,ElvUIParent,BOTTOM,164,30"
|
|
E.db["movers"]["ElvAB_1"] = "BOTTOM,ElvUIParent,BOTTOM,0,171"
|
|
E.db["movers"]["ElvAB_10"] = "BOTTOM,ElvUI_Bar1,TOP,0,202"
|
|
E.db["movers"]["ElvAB_2"] = "BOTTOM,ElvUIParent,BOTTOM,202,171"
|
|
E.db["movers"]["ElvAB_3"] = "BOTTOM,ElvUIParent,BOTTOM,-202,171"
|
|
E.db["movers"]["ElvAB_4"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-474,23"
|
|
E.db["movers"]["ElvAB_5"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,475,23"
|
|
E.db["movers"]["ElvAB_6"] = "BOTTOM,ElvUI_Bar2,TOP,0,2"
|
|
E.db["movers"]["ElvAB_7"] = "BOTTOM,ElvUI_Bar1,TOP,0,82"
|
|
E.db["movers"]["ElvAB_8"] = "BOTTOM,ElvUI_Bar1,TOP,0,122"
|
|
E.db["movers"]["ElvAB_9"] = "BOTTOM,ElvUI_Bar1,TOP,0,162"
|
|
E.db["movers"]["ElvNP_PlayerMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,503"
|
|
E.db["movers"]["ElvUF_AssistMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,526,-238"
|
|
E.db["movers"]["ElvUF_FocusCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,391"
|
|
E.db["movers"]["ElvUF_FocusMover"] = "BOTTOM,ElvUIParent,BOTTOM,261,306"
|
|
E.db["movers"]["ElvUF_PartyMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,248"
|
|
E.db["movers"]["ElvUF_PetCastbarMover"] = "TOPLEFT,ElvUF_Pet,BOTTOMLEFT,0,-1"
|
|
E.db["movers"]["ElvUF_PetMover"] = "BOTTOM,ElvUIParent,BOTTOM,-317,344"
|
|
E.db["movers"]["ElvUF_PlayerAuraMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,498,407"
|
|
E.db["movers"]["ElvUF_PlayerCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,339"
|
|
E.db["movers"]["ElvUF_PlayerMover"] = "BOTTOM,ElvUIParent,BOTTOM,-257,377"
|
|
E.db["movers"]["ElvUF_Raid40Mover"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,4,482"
|
|
E.db["movers"]["ElvUF_RaidMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,2,253"
|
|
E.db["movers"]["ElvUF_RaidpetMover"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,4,737"
|
|
E.db["movers"]["ElvUF_TankMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,518,-316"
|
|
E.db["movers"]["ElvUF_TargetAuraMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-490,406"
|
|
E.db["movers"]["ElvUF_TargetCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,362"
|
|
E.db["movers"]["ElvUF_TargetMover"] = "BOTTOM,ElvUIParent,BOTTOM,261,376"
|
|
E.db["movers"]["ElvUF_TargetTargetMover"] = "BOTTOM,ElvUIParent,BOTTOM,201,338"
|
|
E.db["movers"]["ElvUIBagMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,0,249"
|
|
E.db["movers"]["ElvUIBankMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,0,249"
|
|
E.db["movers"]["ExperienceBarMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,551,23"
|
|
E.db["movers"]["GMMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,368,0"
|
|
E.db["movers"]["GhostFrameMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,110"
|
|
E.db["movers"]["HonorBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,162"
|
|
E.db["movers"]["LeftChatMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,0,0"
|
|
E.db["movers"]["LevelUpBossBannerMover"] = "TOP,ElvUIParent,TOP,0,-217"
|
|
E.db["movers"]["LootFrameMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,533,-366"
|
|
E.db["movers"]["LossControlMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,549"
|
|
E.db["movers"]["MicrobarMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,4,-48"
|
|
E.db["movers"]["MinimapMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-3,-3"
|
|
E.db["movers"]["MirrorTimer1Mover"] = "TOP,ElvUIParent,TOP,0,-289"
|
|
E.db["movers"]["MirrorTimer2Mover"] = "TOP,MirrorTimer1,BOTTOM,0,0"
|
|
E.db["movers"]["MirrorTimer3Mover"] = "TOP,MirrorTimer2,BOTTOM,0,0"
|
|
E.db["movers"]["ObjectiveFrameMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,90,0"
|
|
E.db["movers"]["PetAB"] = "BOTTOM,ElvUIParent,BOTTOM,-218,336"
|
|
E.db["movers"]["PetBattleABMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,4"
|
|
E.db["movers"]["PetBattleStatusMover"] = "TOP,PetBattleFrame,TOP,0,0"
|
|
E.db["movers"]["RaidMarkerBarAnchor"] = "BOTTOM,ElvUIParent,BOTTOM,0,312"
|
|
E.db["movers"]["RaidUtility_Mover"] = "TOP,ElvUIParent,TOP,-400,1"
|
|
E.db["movers"]["ReputationBarMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-550,23"
|
|
E.db["movers"]["RightChatMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,0,-1"
|
|
E.db["movers"]["SLE_BG_1_Mover"] = "BOTTOM,ElvUIParent,BOTTOM,0,21"
|
|
E.db["movers"]["SLE_BG_2_Mover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOM,-257,21"
|
|
E.db["movers"]["SLE_BG_3_Mover"] = "BOTTOMLEFT,ElvUIParent,BOTTOM,257,21"
|
|
E.db["movers"]["SLE_BG_4_Mover"] = "BOTTOM,ElvUIParent,BOTTOM,0,189"
|
|
E.db["movers"]["SLE_GarrisonToolMover"] = "LEFT,ElvUIParent,LEFT,24,0"
|
|
E.db["movers"]["SLE_Location_Mover"] = "TOP,ElvUIParent,TOP,0,0"
|
|
E.db["movers"]["SLE_UIButtonsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-227,-174"
|
|
E.db["movers"]["ShiftAB"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,798,277"
|
|
E.db["movers"]["SocialMenuMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,4,-187"
|
|
E.db["movers"]["TalkingHeadFrameMover"] = "TOP,ElvUIParent,TOP,0,-20"
|
|
E.db["movers"]["ThreatBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,258"
|
|
E.db["movers"]["TopCenterContainerMover"] = "TOP,ElvUIParent,TOP,0,-27"
|
|
E.db["movers"]["TotemBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,267"
|
|
E.db["movers"]["UIErrorsFrameMover"] = "TOP,ElvUIParent,TOP,0,-177"
|
|
E.db["movers"]["VOICECHAT"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,586,27"
|
|
E.db["movers"]["VehicleLeaveButton"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-190,-248"
|
|
E.db["movers"]["VehicleSeatMover"] = "BOTTOM,ElvUIParent,BOTTOM,-204,27"
|
|
E.db["movers"]["ZoneAbility"] = "BOTTOM,ElvUIParent,BOTTOM,0,433"
|
|
end
|
|
|
|
|
|
if IsAddOnLoaded("AddOnSkins") then
|
|
local AS = unpack(_G["AddOnSkins"]) or nil
|
|
if AS then
|
|
AS.db["Blizzard_AbilityButton"] = true
|
|
AS.db["EmbedRight"] = "Details"
|
|
AS.db["EmbedLeft"] = "Details"
|
|
AS.db["Blizzard_ExtraActionButton"] = true
|
|
AS.db["ElvUIStyle"] = false
|
|
AS.db["BackgroundTexture"] = "ElvUI Gloss"
|
|
AS.db["EmbedOoC"] = true
|
|
AS.db["EmbedSystemDual"] = true
|
|
AS.db["EmbedOoCDelay"] = 3
|
|
end
|
|
end
|
|
|
|
E.private["general"]["normTex"] = "ElvUI Gloss"
|
|
E.private["general"]["glossTex"] = "ElvUI Gloss"
|
|
E.private["general"]["minimap"]["hideClassHallReport"] = true
|
|
|
|
E.private["sle"]["module"]["blizzmove"]["remember"] = true
|
|
E.db["sle"]["afk"]['enable'] = true
|
|
|
|
E.private["sle"]["uibuttons"]["style"] = "dropdown"
|
|
|
|
|
|
|
|
E.private["sle"]["professions"]["enchant"]["enchScroll"] = true
|
|
|
|
E.private["sle"]["skins"]["merchant"]["enable"] = true
|
|
E.private["sle"]["skins"]["merchant"]["style"] = "List"
|
|
|
|
E.private["sle"]["skins"]["objectiveTracker"]["scenarioBG"] = true
|
|
E.private["sle"]["skins"]["objectiveTracker"]["color"]["b"] = 0.15294117647059
|
|
E.private["sle"]["skins"]["objectiveTracker"]["color"]["g"] = 0.74901960784314
|
|
E.private["sle"]["skins"]["objectiveTracker"]["color"]["r"] = 0.23529411764706
|
|
|
|
E.private["sle"]["pvp"]["KBbanner"]["enable"] = true
|
|
|
|
E.global["general"]["fadeMapWhenMoving"] = false
|
|
E.global["general"]["commandBarSetting"] = "DISABLED"
|
|
E.global["sle"]["advanced"]["optionsLimits"] = true
|
|
|
|
if layout then
|
|
if layout == 'tank' then
|
|
E.db["nameplates"]["threat"]["beingTankedByTank"] = true
|
|
-- E.db["unitframe"]["units"]["raid"]["power"]["enable"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["SPELLPOWER"] = false
|
|
E.db["sle"]["armory"]["stats"]["List"]["ATTACK_DAMAGE"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["ATTACK_AP"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["ATTACK_ATTACKSPEED"] = true
|
|
-- elseif layout == 'dpsMelee' then
|
|
-- E.db["sle"]["armory"]["stats"]["List"]["SPELLPOWER"] = false
|
|
-- E.db["sle"]["armory"]["stats"]["List"]["ATTACK_DAMAGE"] = true
|
|
-- E.db["sle"]["armory"]["stats"]["List"]["ATTACK_AP"] = true
|
|
-- E.db["sle"]["armory"]["stats"]["List"]["ATTACK_ATTACKSPEED"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["ENERGY_REGEN"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["RUNE_REGEN"] = true
|
|
E.db["sle"]["armory"]["stats"]["List"]["FOCUS_REGEN"] = true
|
|
elseif layout == 'healer' then DarthHeal()
|
|
end
|
|
E.db.layoutSet = layout
|
|
else
|
|
E.db.layoutSet = "dpsCaster"
|
|
end
|
|
|
|
E.private["install_complete"] = installMark
|
|
E.private["sle"]["install_complete"] = installMarkSLE
|
|
|
|
E:StaggeredUpdateAll(nil, true)
|
|
|
|
_G["PluginInstallStepComplete"].message = L["Darth's Default Set"]..": "..(PI.SLE_Word == NONE and L["Caster DPS"] or PI.SLE_Word)
|
|
_G["PluginInstallStepComplete"]:Show()
|
|
end
|
|
|
|
function PI:DarthAddons()
|
|
if xCTSavedDB and IsAddOnLoaded("xCT+") then
|
|
xCTSavedDB["profiles"]["S&L Darth"] = {
|
|
["frames"] = {
|
|
["general"] = {
|
|
["enabledFrame"] = false,
|
|
["font"] = "PT Sans Narrow",
|
|
},
|
|
["power"] = {
|
|
["font"] = "PT Sans Narrow",
|
|
["enabledFrame"] = false,
|
|
},
|
|
["healing"] = {
|
|
["enableFontShadow"] = false,
|
|
["enableOverHeal"] = false,
|
|
["Width"] = 100,
|
|
["font"] = "PT Sans Narrow",
|
|
["enableRealmNames"] = false,
|
|
["fontSize"] = 12,
|
|
["showFriendlyHealers"] = false,
|
|
["Y"] = 54,
|
|
["X"] = 181,
|
|
["Height"] = 156,
|
|
["names"] = {
|
|
["PLAYER"] = {
|
|
["nameType"] = 0,
|
|
},
|
|
["NPC"] = {
|
|
["nameType"] = 0,
|
|
},
|
|
},
|
|
["enableClassNames"] = false,
|
|
},
|
|
["outgoing"] = {
|
|
["fontSize"] = 12,
|
|
["fontOutline"] = "2OUTLINE",
|
|
["Width"] = 98,
|
|
["Y"] = -250,
|
|
["X"] = 560,
|
|
["Height"] = 177,
|
|
["font"] = "PT Sans Narrow",
|
|
["enableFontShadow"] = false,
|
|
},
|
|
["critical"] = {
|
|
["fontSize"] = 16,
|
|
["fontOutline"] = "2OUTLINE",
|
|
["Width"] = 130,
|
|
["Y"] = -252,
|
|
["X"] = 674,
|
|
["Height"] = 174,
|
|
["font"] = "PT Sans Narrow",
|
|
["enableFontShadow"] = false,
|
|
},
|
|
["procs"] = {
|
|
["enabledFrame"] = false,
|
|
["font"] = "PT Sans Narrow",
|
|
["fontOutline"] = "2OUTLINE",
|
|
},
|
|
["loot"] = {
|
|
["fontSize"] = 12,
|
|
["X"] = 627,
|
|
["fontOutline"] = "2OUTLINE",
|
|
["Y"] = -103,
|
|
["font"] = "PT Sans Narrow",
|
|
["Height"] = 115,
|
|
["Width"] = 232,
|
|
["enableFontShadow"] = false,
|
|
},
|
|
["class"] = {
|
|
["font"] = "PT Sans Narrow",
|
|
["enabledFrame"] = false,
|
|
["fontOutline"] = "2OUTLINE",
|
|
},
|
|
["damage"] = {
|
|
["enableFontShadow"] = false,
|
|
["Width"] = 120,
|
|
["font"] = "PT Sans Narrow",
|
|
["fontSize"] = 12,
|
|
["names"] = {
|
|
["PLAYER"] = {
|
|
["nameType"] = 0,
|
|
},
|
|
["NPC"] = {
|
|
["nameType"] = 0,
|
|
},
|
|
["ENVIRONMENT"] = {
|
|
["nameType"] = 0,
|
|
},
|
|
},
|
|
["insertText"] = "bottom",
|
|
["Y"] = 54,
|
|
["X"] = 298,
|
|
["Height"] = 157,
|
|
},
|
|
},
|
|
}
|
|
xCT_Plus.db:SetProfile("S&L Darth")
|
|
end
|
|
|
|
_G["PluginInstallStepComplete"].message = L["Addons settings imported"]
|
|
_G["PluginInstallStepComplete"]:Show()
|
|
end
|
|
|
|
local function SetupCVars(Author)
|
|
SetCVar("mapFade", "0")
|
|
SetCVar("cameraSmoothStyle", "0")
|
|
SetCVar("autoLootDefault", "1")
|
|
SetCVar("UberTooltips", "1")
|
|
|
|
SetAutoDeclineGuildInvites(true)
|
|
SetInsertItemsLeftToRight(false)
|
|
|
|
_G["PluginInstallStepComplete"].message = L["CVars Set"]
|
|
_G["PluginInstallStepComplete"]:Show()
|
|
end
|
|
|
|
function PI:RepoocSetup()
|
|
end
|
|
|
|
function PI:RepoocAddons()
|
|
--Test message
|
|
end
|
|
|
|
E.PopupDialogs['SLE_INSTALL_SETTINGS_LAYOUT'] = {
|
|
text = L["SLE_INSTALL_SETTINGS_LAYOUT_TEXT"],
|
|
button1 = YES,
|
|
button2 = NO,
|
|
OnCancel = E.noop
|
|
}
|
|
|
|
E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'] = {
|
|
text = "",
|
|
button1 = YES,
|
|
button2 = NO,
|
|
OnCancel = E.noop
|
|
}
|
|
|
|
local function StartSetup(Author)
|
|
if Author == "DARTH" then
|
|
E.PopupDialogs['SLE_INSTALL_SETTINGS_LAYOUT'].OnAccept = PI.DarthSetup
|
|
-- elseif Author == "REPOOC" then
|
|
-- elseif Author == "AFFINITY" then
|
|
-- E.PopupDialogs['SLE_INSTALL_SETTINGS_LAYOUT'].OnAccept = PI.AffinitySetup
|
|
end
|
|
E:StaticPopup_Show("SLE_INSTALL_SETTINGS_LAYOUT")
|
|
end
|
|
|
|
local function SetupAddons(Author)
|
|
if AddOnSkins and (not EmbedSystem_LeftWindow or not EmbedSystem_LeftWindow) then
|
|
local AS = unpack(AddOnSkins)
|
|
AS:Embed_Check(true)
|
|
end
|
|
if Author == "DARTH" then
|
|
local list = "xCT+"
|
|
E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'].text = format(L["SLE_INSTALL_SETTINGS_ADDONS_TEXT"], list)
|
|
E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'].OnAccept = PI.DarthAddons
|
|
-- elseif Author == "AFFINITY" then
|
|
-- local list = "Skada\nxCT+"
|
|
-- E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'].text = format(L["SLE_INSTALL_SETTINGS_ADDONS_TEXT"], list)
|
|
-- E.PopupDialogs['SLE_INSTALL_SETTINGS_ADDONS'].OnAccept = PI.AffinityAddons
|
|
end
|
|
E:StaticPopup_Show("SLE_INSTALL_SETTINGS_ADDONS")
|
|
end
|
|
|
|
local function InstallComplete()
|
|
E.private.sle.install_complete = SLE.version
|
|
|
|
if GetCVarBool("Sound_EnableMusic") then
|
|
StopMusic()
|
|
end
|
|
|
|
ReloadUI()
|
|
end
|
|
|
|
SLE.installTable = {
|
|
["Name"] = "|cff9482c9Shadow & Light|r",
|
|
["Title"] = L["|cff9482c9Shadow & Light|r Installation"],
|
|
["tutorialImage"] = [[Interface\AddOns\ElvUI_SLE\media\textures\SLE_Banner]],
|
|
["tutorialImageSize"] = {400, 100},
|
|
["tutorialImagePoint"] = {0, 20},
|
|
["Pages"] = {
|
|
[1] = function()
|
|
_G.PluginInstallFrame.SubTitle:SetText(format(L["Welcome to |cff9482c9Shadow & Light|r version %s!"], SLE.version))
|
|
_G.PluginInstallFrame.Desc1:SetText(L["SLE_INSTALL_WELCOME"])
|
|
_G.PluginInstallFrame.Desc2:SetText("")
|
|
_G.PluginInstallFrame.Desc3:SetText(L["Please press the continue button to go onto the next step."])
|
|
|
|
_G.PluginInstallFrame.Option1:Show()
|
|
_G.PluginInstallFrame.Option1:SetScript("OnClick", InstallComplete)
|
|
_G.PluginInstallFrame.Option1:SetText(L["Skip Process"])
|
|
end,
|
|
[2] = function()
|
|
PI.SLE_Auth = ""
|
|
PI.SLE_Word = E.db.layoutSet == 'tank' and _G.STAT_CATEGORY_MELEE or E.db.layoutSet == 'healer' and _G.CLUB_FINDER_HEALER or E.db.layoutSet == 'dpsCaster' and _G.STAT_CATEGORY_RANGED or NONE
|
|
_G.PluginInstallFrame.SubTitle:SetText(L["Shadow & Light Imports"])
|
|
_G.PluginInstallFrame.Desc1:SetText(L["You can now choose if you want to use one of the authors' set of options. This will change the positioning of some elements as well of other various options."])
|
|
_G.PluginInstallFrame.Desc2:SetText(format(L["SLE_Install_Text_AUTHOR"], PI.SLE_Word))
|
|
_G.PluginInstallFrame.Desc3:SetText(L["Importance: |cFF33FF33Low|r"])
|
|
|
|
_G.PluginInstallFrame.Option1:Show()
|
|
_G.PluginInstallFrame.Option1:SetScript('OnClick', function()
|
|
PI.SLE_Auth = "DARTH"
|
|
_G.PluginInstallFrame.Next:Click()
|
|
end)
|
|
_G.PluginInstallFrame.Option1:SetText(L["Darth's Config"])
|
|
|
|
-- _G["PluginInstallFrame"].Option2:Show()
|
|
-- _G["PluginInstallFrame"].Option2:SetScript('OnClick', function() PI.SLE_Auth = "REPOOC"; _G["PluginInstallFrame"].Next:Click() end)
|
|
-- _G["PluginInstallFrame"].Option2:SetText(L["Repooc's Config"])
|
|
|
|
_G["PluginInstallFrame"]:Size(550, 500)
|
|
end,
|
|
[3] = function()
|
|
if PI.SLE_Auth == "" then _G["PluginInstallFrame"].SetPage(_G["PluginInstallFrame"].PrevPage == 2 and 4 or 2) return end
|
|
PI.SLE_Word = E.db.layoutSet == 'tank' and _G.STAT_CATEGORY_MELEE or E.db.layoutSet == 'healer' and _G.CLUB_FINDER_HEALER or E.db.layoutSet == 'dpsCaster' and _G.STAT_CATEGORY_RANGED or NONE
|
|
_G["PluginInstallFrame"].SubTitle:SetText(L["Layout & Settings Import"])
|
|
_G["PluginInstallFrame"].Desc1:SetText(format(L["You have selected to use %s and role %s."], PI.SLE_Auth == "DARTH" and L["Darth's Config"] or PI.SLE_Auth == "REPOOC" and L["Repooc's Config"] or PI.SLE_Auth == "AFFINITY" and L["Affinitii's Config"], PI.SLE_Word))
|
|
_G["PluginInstallFrame"].Desc2:SetText(L["SLE_INSTALL_LAYOUT_TEXT2"])
|
|
_G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
|
|
|
|
if PI.SLE_Auth == "DARTH" then
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript('OnClick', function() StartSetup("DARTH") end)
|
|
_G["PluginInstallFrame"].Option1:SetText(L["Layout"])
|
|
|
|
_G["PluginInstallFrame"].Option2:Show()
|
|
_G["PluginInstallFrame"].Option2:SetScript('OnClick', function() SetupAddons("DARTH") end)
|
|
_G["PluginInstallFrame"].Option2:SetText(ADDONS)
|
|
|
|
_G["PluginInstallFrame"].Option3:Show()
|
|
_G["PluginInstallFrame"].Option3:SetScript('OnClick', function() SetupCVars("DARTH") end)
|
|
_G["PluginInstallFrame"].Option3:SetText(L["CVars"])
|
|
end
|
|
if PI.SLE_Auth == "AFFINITY" then
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript('OnClick', function() StartSetup("AFFINITY") end)
|
|
_G["PluginInstallFrame"].Option1:SetText(L["Layout"])
|
|
|
|
_G["PluginInstallFrame"].Option2:Show()
|
|
_G["PluginInstallFrame"].Option2:SetScript('OnClick', function() SetupAddons("AFFINITY") end)
|
|
_G["PluginInstallFrame"].Option2:SetText(ADDONS)
|
|
end
|
|
end,
|
|
[4] = function()
|
|
_G["PluginInstallFrame"].SubTitle:SetText(L["Armory Mode"])
|
|
_G["PluginInstallFrame"].Desc1:SetText(L["SLE_ARMORY_INSTALL"])
|
|
_G["PluginInstallFrame"].Desc2:SetText(L["This will enable S&L Armory mode components that will show more detailed information at a quick glance on the toons you inspect or your own character."])
|
|
_G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cFF33FF33Low|r"])
|
|
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript('OnClick', function() E.db.sle.armory.character.enable = true; E.db.sle.armory.inspect.enable = true; SLE.Armory_Character:ToggleArmory(); SLE.Armory_Inspect:ToggleArmory() end)
|
|
_G["PluginInstallFrame"].Option1:SetText(ENABLE)
|
|
|
|
_G["PluginInstallFrame"].Option2:Show()
|
|
_G["PluginInstallFrame"].Option2:SetScript('OnClick', function() E.db.sle.armory.character.enable = false; E.db.sle.armory.inspect.enable = false; SLE.Armory_Character:ToggleArmory(); SLE.Armory_Inspect:ToggleArmory() end)
|
|
_G["PluginInstallFrame"].Option2:SetText(DISABLE)
|
|
end,
|
|
[5] = function()
|
|
_G["PluginInstallFrame"].SubTitle:SetText(L["AFK Mode"])
|
|
_G["PluginInstallFrame"].Desc1:SetText(L["AFK Mode in |cff9482c9Shadow & Light|r is additional settings/elements for standard |cff1784d1ElvUI|r AFK screen."])
|
|
_G["PluginInstallFrame"].Desc2:SetText(L["This option is bound to character and requires a UI reload to take effect."])
|
|
_G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cFF33FF33Low|r"])
|
|
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript('OnClick', function() E.db.sle.afk.enable = true end)
|
|
_G["PluginInstallFrame"].Option1:SetText(ENABLE)
|
|
|
|
_G["PluginInstallFrame"].Option2:Show()
|
|
_G["PluginInstallFrame"].Option2:SetScript('OnClick', function() E.db.sle.afk.enable = false end)
|
|
_G["PluginInstallFrame"].Option2:SetText(DISABLE)
|
|
end,
|
|
[6] = function()
|
|
_G["PluginInstallFrame"].SubTitle:SetText(L["Move Blizzard frames"])
|
|
_G["PluginInstallFrame"].Desc1:SetText(L["Allow some Blizzard frames to be moved around."])
|
|
_G["PluginInstallFrame"].Desc2:SetText(L["This option is bound to character and requires a UI reload to take effect."])
|
|
_G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffD3CF00Medium|r"])
|
|
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript('OnClick', function()
|
|
E.private.sle.module.blizzmove.enable = true
|
|
_G["PluginInstallStepComplete"].message = L["Move Blizzard frames"]..": |cff00FF00"..ENABLE.."|r"
|
|
_G["PluginInstallStepComplete"]:Show()
|
|
end)
|
|
_G["PluginInstallFrame"].Option1:SetText(ENABLE)
|
|
|
|
_G["PluginInstallFrame"].Option2:Show()
|
|
_G["PluginInstallFrame"].Option2:SetScript('OnClick', function()
|
|
E.private.sle.module.blizzmove.enable = false
|
|
_G["PluginInstallStepComplete"].message = L["Move Blizzard frames"]..": |cffFF0000"..DISABLE.."|r"
|
|
_G["PluginInstallStepComplete"]:Show()
|
|
end)
|
|
_G["PluginInstallFrame"].Option2:SetText(DISABLE)
|
|
end,
|
|
-- [7] = function()
|
|
-- _G["PluginInstallFrame"].SubTitle:SetText(L["Raid Frame Power"])
|
|
-- _G["PluginInstallFrame"].Desc1:SetText(L["Show power bar for raid frames."])
|
|
-- _G["PluginInstallFrame"].Desc2:SetText(L["Can be useful for tanks who know healers actually need mana to heal."])
|
|
-- _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cFF33FF33Low|r"])
|
|
|
|
-- _G["PluginInstallFrame"].Option1:Show()
|
|
-- _G["PluginInstallFrame"].Option1:SetScript('OnClick', function()
|
|
-- E.db.unitframe.units.raid.power.enable = true
|
|
-- _G["PluginInstallStepComplete"].message = L["Raid Frame Power"]..": |cff00FF00"..ENABLE.."|r"
|
|
-- _G["PluginInstallStepComplete"]:Show()
|
|
-- end)
|
|
-- _G["PluginInstallFrame"].Option1:SetText(ENABLE)
|
|
|
|
-- _G["PluginInstallFrame"].Option2:Show()
|
|
-- _G["PluginInstallFrame"].Option2:SetScript('OnClick', function()
|
|
-- E.db.unitframe.units.raid.power.enable = false
|
|
-- _G["PluginInstallStepComplete"].message = L["Raid Frame Power"]..": |cffFF0000"..DISABLE.."|r"
|
|
-- _G["PluginInstallStepComplete"]:Show()
|
|
-- end)
|
|
-- _G["PluginInstallFrame"].Option2:SetText(DISABLE)
|
|
-- end,
|
|
[7] = function()
|
|
_G["PluginInstallFrame"].SubTitle:SetText(L["Installation Complete"])
|
|
_G["PluginInstallFrame"].Desc1:SetText(L["You are now finished with the installation process. If you are in need of technical support please visit us at http://www.tukui.org."])
|
|
_G["PluginInstallFrame"].Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."])
|
|
|
|
_G["PluginInstallFrame"].Option1:Show()
|
|
_G["PluginInstallFrame"].Option1:SetScript("OnClick", InstallComplete)
|
|
_G["PluginInstallFrame"].Option1:SetText(L["Finished"])
|
|
end,
|
|
},
|
|
["StepTitles"] = {
|
|
[1] = START,
|
|
[2] = L["Import Profile"],
|
|
[3] = L["Author Presets"].." *",
|
|
[4] = L["Armory Mode"],
|
|
[5] = L["AFK Mode"],
|
|
[6] = L["Moving Frames"],
|
|
-- [7] = L["Raid Frame Power"],
|
|
[7] = L["Finished"],
|
|
},
|
|
["StepTitlesColorSelected"] = {.53,.53,.93},
|
|
}
|