local E, L, V, P, G = unpack(ElvUI); local UF = E:GetModule('UnitFrames'); local AI = E:GetModule('SLE_AddonInstaller'); local SLE = E:GetModule('SLE'); local CURRENT_PAGE = 0 local MAX_PAGE = 5 local function DarthSetup() --The function to switch from classic ElvUI settings to Darth's SLEInstallStepComplete.message = L["Darth's Defaults Set"] SLEInstallStepComplete:Show() local layout = E.db.layoutSet --To know if some sort of layout was choosed before if not E.db.movers then E.db.movers = {}; end if SLE:Auth() then E.db.hideTutorial = 1 E.db.general.loginmessage = false end E.db["nameplate"] = { ["debuffs"] = { ["font"] = "ElvUI Font", ["fontOutline"] = "OUTLINE", ["numAuras"] = 5, ["stretchTexture"] = false, }, ["fontSize"] = 8, ["healthBar"] = { ["text"] = { ["enable"] = true, }, ["lowHPScale"] = { ["enable"] = true, }, }, ["font"] = "ElvUI Font", ["fontOutline"] = "OUTLINE", ["buffs"] = { ["fontOutline"] = "OUTLINE", ["font"] = "ElvUI Font", }, ["raidHealIcon"] = { ["xOffset"] = 0, }, } E.db["sle"] = { ["nameplate"] = { ["showthreat"] = true, }, ["media"] = { ["fonts"] = { ["zone"] = { ["font"] = "Old Cyrillic", }, ["subzone"] = { ["font"] = "Old Cyrillic", }, ["pvp"] = { ["font"] = "Old Cyrillic", }, }, ["screensaver"] = { ["enable"] = true, ["playermodel"] = { ["rotation"] = 345, ["xaxis"] = -0.2, ["anim"] = 70, ["distance"] = -0.0999999999999999, ["yaxis"] = -0.2, ["width"] = 530, }, ["xpack"] = 200, ["crest"] = 150, }, }, ["datatext"] = { ["chatright"] = { ["width"] = 408, }, ["bottom"] = { ["enabled"] = true, ["transparent"] = true, ["width"] = 196, }, ["chathandle"] = true, ["dp5"] = { ["enabled"] = true, ["transparent"] = true, ["width"] = 440, }, ["top"] = { ["enabled"] = true, ["transparent"] = true, }, ["chatleft"] = { ["width"] = 408, }, ["dp6"] = { ["enabled"] = true, ["transparent"] = true, ["width"] = 440, }, }, ["loot"] = { ["enable"] = true, ["history"] = { ["alpha"] = 0.7, ["autohide"] = true, }, ["autoroll"] = { ["autoconfirm"] = true, ["autogreed"] = true, }, }, ["combatico"] = { ["pos"] = "TOPRIGHT", }, ["tooltip"] = { ["showFaction"] = true, }, ["threat"] = { ["enable"] = false, }, ["dt"] = { ["friends"] = { ["combat"] = true, ["hide_hintline"] = false, ["totals"] = true, ["expandBNBroadcast"] = true, }, ["guild"] = { ["totals"] = true, ["combat"] = true, }, }, ["uibuttons"] = { ["position"] = "uib_hor", ["enable"] = true, ["spacing"] = 4, ["size"] = 20, }, } E.db["bags"] = { ["bagWidth"] = 425, ["currencyFormat"] = "ICON", ["yOffset"] = 181, ["bankSize"] = 30, ["bankWidth"] = 425, ["alignToChat"] = false, ["bagSize"] = 30, } E.db["auras"] = { ["font"] = "ElvUI Font", ["fontOutline"] = "OUTLINE", ["consolidatedBuffs"] = { ["fontSize"] = 11, ["filter"] = false, ["font"] = "ElvUI Font", ["fontOutline"] = "OUTLINE", }, ["buffs"] = { ["size"] = 30, }, ["debuffs"] = { ["size"] = 30, }, } E.db["movers"] = { ["DP_6_Mover"] = "BOTTOMElvUIParentBOTTOM3170", ["ElvUF_FocusCastbarMover"] = "BOTTOMElvUIParentBOTTOM0178", ["PetAB"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT55152", ["LeftChatMover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT019", ["GMMover"] = "TOPLEFTElvUIParentTOPLEFT00", ["BuffsMover"] = "TOPRIGHTElvUIParentTOPRIGHT-2000", ["BossButton"] = "BOTTOMElvUIParentBOTTOM-1200", ["ElvUF_FocusMover"] = "BOTTOMElvUIParentBOTTOM29421", ["MicrobarMover"] = "TOPElvUIParentTOP0-18", ["VehicleSeatMover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT420205", ["ElvUF_TargetMover"] = "BOTTOMElvUIParentBOTTOM304140", ["ElvUF_Raid40Mover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT0211", ["ElvUF_RaidMover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT0210", ["ElvAB_1"] = "BOTTOMElvUIParentBOTTOM019", ["ElvAB_2"] = "BOTTOMElvUIParentBOTTOM13319", ["ElvUF_TargetCastbarMover"] = "BOTTOMElvUIParentBOTTOM0155", ["ElvUF_PlayerCastbarMover"] = "BOTTOMElvUIParentBOTTOM0130", ["ElvAB_4"] = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-42419", ["RightChatMover"] = "BOTTOMRIGHTUIParentBOTTOMRIGHT019", ["AltPowerBarMover"] = "TOPElvUIParentTOP0-195", ["ElvAB_3"] = "BOTTOMElvUIParentBOTTOM-13319", ["DP_5_Mover"] = "BOTTOMElvUIParentBOTTOM-3170", ["ReputationBarMover"] = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-48819", ["ElvUF_PlayerMover"] = "BOTTOMElvUIParentBOTTOM-304140", ["ElvUF_TargetTargetMover"] = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-551100", ["ObjectiveFrameMover"] = "TOPRIGHTElvUIParentTOPRIGHT-61-205", ["PetBattleStatusMover"] = "TOPElvUIParentTOP0-69", ["UIBFrameMover"] = "TOPRIGHTElvUIParentTOPRIGHT0-177", ["ElvAB_5"] = "BOTTOMElvUIParentBOTTOM281264", ["RaidUtility_Mover"] = "TOPElvUIParentTOP-3060", ["ArenaHeaderMover"] = "TOPLEFTElvUIParentTOPLEFT0-209", ["ElvAB_6"] = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-11210", ["PvPMover"] = "TOPElvUIParentTOP0-50", ["BossHeaderMover"] = "TOPLEFTElvUIParentTOPLEFT0-209", ["ElvUF_PetMover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT551100", ["PetBattleABMover"] = "BOTTOMElvUIParentBOTTOM020", ["ElvUF_PartyMover"] = "BOTTOMLEFTElvUIParentBOTTOMLEFT0210", ["AlertFrameMover"] = "BOTTOMElvUIParentBOTTOM0265", ["DebuffsMover"] = "TOPRIGHTElvUIParentTOPRIGHT-200-143", ["MinimapMover"] = "TOPRIGHTElvUIParentTOPRIGHT00", ["ShiftAB"] = "BOTTOMElvUIParentBOTTOM-133116", } E.db["tooltip"] = { ["healthBar"] = { ["font"] = "ElvUI Font", }, } E.db["unitframe"] = { ["fontSize"] = 11, ["units"] = { ["party"] = { ["horizontalSpacing"] = 3, ["debuffs"] = { ["enable"] = false, }, ["health"] = { ["position"] = "BOTTOMLEFT", ["text_format"] = "[healthcolor][health:current]", }, ["growthDirection"] = "RIGHT_UP", ["power"] = { ["text_format"] = "", }, ["roleIcon"] = { ["position"] = "BOTTOMRIGHT", }, ["GPSArrow"] = { ["enable"] = false, ["size"] = 30, }, ["width"] = 80, ["name"] = { ["text_format"] = "[name:medium]", ["position"] = "TOP", }, }, ["raid40"] = { ["height"] = 32, }, ["target"] = { ["portrait"] = { ["overlay"] = true, ["enable"] = true, ["camDistanceScale"] = 3, ["rotation"] = 345, }, ["castbar"] = { ["height"] = 20, ["width"] = 210, }, ["width"] = 210, ["health"] = { ["yOffset"] = -5, }, ["name"] = { ["position"] = "TOPLEFT", ["text_format"] = "[namecolor][name:medium] [difficultycolor][level] [shortclassification]", ["yOffset"] = -2, }, ["power"] = { ["attachTextToPower"] = true, ["width"] = "inset", ["position"] = "RIGHT", ["hideonnpc"] = false, }, ["height"] = 51, }, ["raid"] = { ["growthDirection"] = "RIGHT_UP", ["name"] = { ["text_format"] = "[name:medium]", }, ["rdebuffs"] = { ["size"] = 18, }, ["GPSArrow"] = { ["enable"] = false, ["size"] = 30, }, ["numGroups"] = 6, ["health"] = { ["position"] = "BOTTOMLEFT", ["text_format"] = "[healthcolor][health:current]", }, ["visibility"] = "[@raid6,noexists][@raid31,exists] hide;show", }, ["player"] = { ["debuffs"] = { ["enable"] = false, }, ["portrait"] = { ["overlay"] = true, ["enable"] = true, ["camDistanceScale"] = 3, ["rotation"] = 345, }, ["classbar"] = { ["fill"] = "spaced", }, ["aurabar"] = { ["maxBars"] = 8, ["attachTo"] = "FRAME", }, ["castbar"] = { ["width"] = 300, ["height"] = 20, ["format"] = "CURRENTMAX", }, ["width"] = 210, ["lowmana"] = 0, ["health"] = { ["yOffset"] = -4, ["text_format"] = "[healthcolor][health:current-percent:sl]", ["position"] = "RIGHT", }, ["power"] = { ["attachTextToPower"] = true, ["text_format"] = "[powercolor][power:current:sl]", ["width"] = "inset", }, ["height"] = 51, ["pvp"] = { ["text_format"] = "||cFFB04F4F[pvptimer]||r", }, ["raidicon"] = { ["attachTo"] = "LEFT", ["xOffset"] = -20, ["yOffset"] = 0, ["size"] = 22, }, }, ["arena"] = { ["debuffs"] = { ["anchorPoint"] = "RIGHT", }, ["pvpTrinket"] = { ["position"] = "LEFT", }, ["power"] = { ["width"] = "inset", ["position"] = "RIGHT", }, ["growthDirection"] = "DOWN", ["health"] = { ["text_format"] = "[healthcolor][health:current-percent:sl]", }, ["buffs"] = { ["anchorPoint"] = "RIGHT", }, }, ["boss"] = { ["debuffs"] = { ["anchorPoint"] = "RIGHT", }, ["growthDirection"] = "DOWN", ["health"] = { ["text_format"] = "[healthcolor][health:current-percent:sl]", }, ["buffs"] = { ["anchorPoint"] = "RIGHT", }, }, }, ["statusbar"] = "Polished Wood", ["debuffHighlighting"] = false, ["smartRaidFilter"] = false, ["font"] = "ElvUI Font", ["colors"] = { ["auraBarBuff"] = { ["r"] = 0.576470588235294, ["g"] = 0.509803921568627, ["b"] = 0.788235294117647, }, ["colorhealthbyvalue"] = false, ["healthclass"] = true, ["castNoInterrupt"] = { ["r"] = 0.780392156862745, ["g"] = 0.250980392156863, ["b"] = 0.250980392156863, }, }, ["fontOutline"] = "OUTLINE", } E.db["datatexts"] = { ["minimapPanels"] = false, ["panelTransparency"] = true, ["time24"] = true, ["panels"] = { ["RightChatDataPanel"] = { ["right"] = "Talent/Loot Specialization", ["left"] = "Mastery", }, ["DP_5"] = { ["right"] = "Durability", ["left"] = "S&L Currency", ["middle"] = "Bags", }, ["LeftChatDataPanel"] = { ["right"] = "S&L Friends", ["left"] = "Combat/Arena Time", ["middle"] = "Guild", }, ["Bottom_Panel"] = "System", ["DP_6"] = { ["right"] = "Crit Chance", ["left"] = "Spell/Heal Power", ["middle"] = "Haste", }, }, ["font"] = "ElvUI Font", } E.db["actionbar"] = { ["bar3"] = { ["point"] = "TOPLEFT", ["buttons"] = 12, ["buttonsPerRow"] = 4, ["buttonsize"] = 30, }, ["fontOutline"] = "OUTLINE", ["microbar"] = { ["enabled"] = true, ["buttonsPerRow"] = 11, }, ["bar2"] = { ["enabled"] = true, ["point"] = "TOPLEFT", ["buttonsPerRow"] = 4, ["buttonsize"] = 30, }, ["bar5"] = { ["enabled"] = false, ["point"] = "TOPLEFT", ["buttons"] = 12, }, ["font"] = "ElvUI Font", ["bar1"] = { ["point"] = "TOPLEFT", ["buttonsPerRow"] = 4, }, ["fontSize"] = 12, ["barPet"] = { ["point"] = "TOPLEFT", ["buttonspacing"] = 1, ["backdrop"] = false, ["buttonsPerRow"] = 5, ["buttonsize"] = 22, }, ["bar4"] = { ["point"] = "TOPLEFT", ["buttonspacing"] = 1, ["buttonsPerRow"] = 2, ["buttonsize"] = 30, }, ["stanceBar"] = { ["buttonsize"] = 20, }, } E.db["general"] = { ["autoRepair"] = "PLAYER", ["bottomPanel"] = false, ["loginmessage"] = false, ["threat"] = { ["enable"] = false, }, ["stickyFrames"] = false, ["vendorGrays"] = true, ["castNoInterrupt"] = { }, ["experience"] = { ["height"] = 187, }, ["hideErrorFrame"] = false, ["reputation"] = { ["height"] = 187, }, } E.db["chat"] = { ["emotionIcons"] = false, ["tabFont"] = "ElvUI Font", ["tabFontSize"] = 11, ["editboxhistory"] = 10, ["panelHeight"] = 187, ["timeStampFormat"] = "%H:%M:%S ", ["tabFontOutline"] = "OUTLINE", ["panelWidth"] = 425, } --Hide under is addon loaded check if IsAddOnLoaded("ElvUI_LocLite") then E.db["loclite"] = { ["dig"] = false, ["lpwidth"] = 300, ["lpauto"] = false, ["lpfontsize"] = 10, ["lpfontflags"] = "OUTLINE", ["dtheight"] = 20, } E.db["movers"]["LocationLiteMover"] = "TOPElvUIParentTOP0-19" E.db["movers"]["MicrobarMover"] = "TOPElvUIParentTOP0-38" E.db["movers"]["PvPMover"] = "TOPElvUIParentTOP0-70" end E.private["general"]["normTex"] = "Polished Wood" E.private["general"]["glossTex"] = "Polished Wood" E.private["sle"]["inspectframeoptions"]["enable"] = true E.private["sle"]["characterframeoptions"]["enable"] = true E.private["sle"]["minimap"]["mapicons"]["enable"] = true E.private["sle"]["equip"]["spam"] = true if AddOnSkins then E.private["addonskins"] = { ["Blizzard_WorldStateCaptureBar"] = true, ["EmbedOoCDelay"] = 5, ["EmbedOoC"] = true, ["DBMFontSize"] = 10, ["DBMSkinHalf"] = true, ["DBMFont"] = "ElvUI Font", ["EmbedLeftWidth"] = 213, ["EmbedSystemDual"] = true, } end E.private["ElvUI_Currency"] = { ["Unused"] = false, } E:UpdateAll(true) end local function RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's SLEInstallStepComplete.message = L["Repooc's Defaults Set"] SLEInstallStepComplete:Show() if not E.db.movers then E.db.movers = {}; end local layout = E.db.layoutSet if SLE:Auth() then E.db.hideTutorial = 1 end if GetScreenWidth() < 1920 then E.db.chat.panelWidth = 380 else E.db.chat.panelWidth = 412 end E:UpdateAll(true) end local function AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's SLEInstallStepComplete.message = L["Affinitii's Defaults Set"] SLEInstallStepComplete:Show() if not E.db.movers then E.db.movers = {}; end -- layout = E.db.layoutSet --Pull which layout was selected if any. pixel = E.PixelMode --Pull PixelMode --Profile-- E.db.general.autoRepair = "GUILD" E.db.general.bottomPanel = false E.db.general.backdropfadecolor.b = 0.054 E.db.general.backdropfadecolor.g = 0.054 E.db.general.backdropfadecolor.r = 0.054 E.db.general.valuecolor.b = 0.819 E.db.general.valuecolor.g = 0.513 E.db.general.valuecolor.r = 0.09 E.db.general.threat.position = "LEFTCHAT" E.db.general.vendorGrays = true E.db.general.topPanel = false E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM03" E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM097" E.db.movers.ElvUF_RaidMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT440511" E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT449511" E.db.movers.BossButton = "TOPLEFTElvUIParentTOPLEFT622-352" E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM-63436" E.db.movers.ClassBarMover = "BOTTOMElvUIParentBOTTOM-337500" E.db.movers.SquareMinimapBar = "TOPRIGHTElvUIParentTOPRIGHT-4-211" E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278200" E.db.movers.ElvUF_Raid40Mover = "TOPLEFTElvUIParentTOPLEFT447-468" E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM059" E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM0273" E.db.movers.ElvAB_4 = "BOTTOMLEFTElvUIParentBOTTOMRIGHT-413200" E.db.movers.AltPowerBarMover = "BOTTOMElvUIParentBOTTOM-300338" E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26427" E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26427" E.db.movers.ElvUF_Raid25Mover = "TOPLEFTElvUIParentTOPLEFT449-448" E.db.movers.PetAB = "TOPRIGHTElvUIParentTOPRIGHT-4-433" E.db.movers.ElvAB_6 = "BOTTOMElvUIParentBOTTOM0102" E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT449511" E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" E.db.movers.ArenaHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-210-410" E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0230" E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2644" E.db.movers.BossHeaderMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-210435" E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278200" E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM025" E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" E.db.movers.MMButtonsMover = "TOPRIGHTElvUIParentTOPRIGHT-214-160" E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0190" E.db.movers.DP_5_Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT4327" E.db.gridSize = 110 E.db.tooltip.style = "inset" E.db.tooltip.visibility.combat = true E.db.hideTutorial = true E.db.chat.timeStampFormat = "%I:%M" E.db.chat.editBoxPosition = "ABOVE_CHAT" E.db.chat.lfgIcons = false E.db.chat.emotionIcons = false E.db.unitframe.units.tank.enable = false E.db.unitframe.units.boss.portrait.enable = true E.db.unitframe.units.boss.portrait.overlay = true E.db.unitframe.units.boss.power.width = "inset" E.db.unitframe.units.raid40.horizontalSpacing = 1 E.db.unitframe.units.raid40.debuffs.xOffset = -4 E.db.unitframe.units.raid40.debuffs.yOffset = -9 E.db.unitframe.units.raid40.debuffs.anchorPoint = "TOPRIGHT" E.db.unitframe.units.raid40.debuffs.clickThrough = true E.db.unitframe.units.raid40.debuffs.useBlacklist = false E.db.unitframe.units.raid40.debuffs.perrow = 2 E.db.unitframe.units.raid40.debuffs.useFilter = "Blacklist" E.db.unitframe.units.raid40.debuffs.sizeOverride = 21 E.db.unitframe.units.raid40.debuffs.enable = true E.db.unitframe.units.raid40.rdebuffs.size = 26 E.db.unitframe.units.raid40.invertGroupingOrder = false E.db.unitframe.units.raid40.name.text_format = "[namecolor][name:veryshort]" E.db.unitframe.units.raid40.name.position = "TOP" E.db.unitframe.units.raid40.power.enable = true E.db.unitframe.units.raid40.power.width = "inset" E.db.unitframe.units.raid40.power.position = "CENTER" E.db.unitframe.units.raid40.customTexts = {} E.db.unitframe.units.raid40.customTexts['Health Text'] = {} E.db.unitframe.units.raid40.customTexts['Health Text'].font = "ElvUI Pixel" E.db.unitframe.units.raid40.customTexts['Health Text'].justifyH = "CENTER" E.db.unitframe.units.raid40.customTexts['Health Text'].fontOutline = "MONOCHROMEOUTLINE" E.db.unitframe.units.raid40.customTexts['Health Text'].xOffset = 0 E.db.unitframe.units.raid40.customTexts['Health Text'].size = 10 E.db.unitframe.units.raid40.customTexts['Health Text'].text_format = "[healthcolor][health:deficit]" E.db.unitframe.units.raid40.customTexts['Health Text'].yOffset = -7 E.db.unitframe.units.raid40.healPrediction = true E.db.unitframe.units.raid40.width = 50 E.db.unitframe.units.raid40.growthDirection = "UP_LEFT" E.db.unitframe.units.raid40.health.frequentUpdates = true E.db.unitframe.units.raid40.buffs.xOffset = 21 E.db.unitframe.units.raid40.buffs.yOffset = 25 E.db.unitframe.units.raid40.buffs.anchorPoint = "BOTTOMLEFT" E.db.unitframe.units.raid40.buffs.clickThrough = true E.db.unitframe.units.raid40.buffs.useBlacklist = false E.db.unitframe.units.raid40.buffs.noDuration = false E.db.unitframe.units.raid40.buffs.playerOnly = false E.db.unitframe.units.raid40.buffs.perrow = 1 E.db.unitframe.units.raid40.buffs.useFilter = "TurtleBuffs" E.db.unitframe.units.raid40.buffs.noConsolidated = false E.db.unitframe.units.raid40.buffs.sizeOverride = 17 E.db.unitframe.units.raid40.buffs.enable = true E.db.unitframe.units.raid40.height = 43 E.db.unitframe.units.raid40.verticalSpacing = 1 E.db.unitframe.units.raid40.raidicon.attachTo = "LEFT" E.db.unitframe.units.raid40.raidicon.xOffset = 9 E.db.unitframe.units.raid40.raidicon.yOffset = 0 E.db.unitframe.units.raid40.raidicon.size = 13 E.db.unitframe.units.focus.power.width = "inset" E.db.unitframe.units.target.portrait.overlay = true E.db.unitframe.units.target.aurabar.enable = false E.db.unitframe.units.target.power.width = "inset" E.db.unitframe.units.target.power.height = 11 E.db.unitframe.units.raid.debuffs.countFontSize = 13 E.db.unitframe.units.raid.debuffs.fontSize = 9 E.db.unitframe.units.raid.debuffs.enable = true E.db.unitframe.units.raid.debuffs.yOffset = -7 E.db.unitframe.units.raid.debuffs.anchorPoint = "TOPRIGHT" E.db.unitframe.units.raid.debuffs.sizeOverride = 21 E.db.unitframe.units.raid.debuffs.xOffset = -4 E.db.unitframe.units.raid.growthDirection = "LEFT_UP" E.db.unitframe.units.raid.numGroups = 6 E.db.unitframe.units.raid.roleIcon.enable = false E.db.unitframe.units.raid.healPrediction = true E.db.unitframe.units.raid.power.height = 8 E.db.unitframe.units.raid.buffs.enable = true E.db.unitframe.units.raid.buffs.yOffset = 28 E.db.unitframe.units.raid.buffs.anchorPoint = "BOTTOMLEFT" E.db.unitframe.units.raid.buffs.clickThrough = true E.db.unitframe.units.raid.buffs.useBlacklist = false E.db.unitframe.units.raid.buffs.noDuration = false E.db.unitframe.units.raid.buffs.playerOnly = false E.db.unitframe.units.raid.buffs.perrow = 1 E.db.unitframe.units.raid.buffs.useFilter = "TurtleBuffs" E.db.unitframe.units.raid.buffs.noConsolidated = false E.db.unitframe.units.raid.buffs.sizeOverride = 22 E.db.unitframe.units.raid.buffs.xOffset = 30 E.db.unitframe.units.focustarget.power.width = "inset" E.db.unitframe.units.pet.power.width = "inset" E.db.unitframe.units.targettarget.power.width = "inset" E.db.unitframe.units.player.debuffs.attachTo = "BUFFS" E.db.unitframe.units.player.portrait.overlay = true E.db.unitframe.units.player.classbar.detachFromFrame = true E.db.unitframe.units.player.classbar.enable = false E.db.unitframe.units.player.aurabar.enable = false E.db.unitframe.units.player.power.width = "inset" E.db.unitframe.units.player.power.height = 11 E.db.unitframe.units.player.buffs.enable = true E.db.unitframe.units.player.buffs.noDuration = false E.db.unitframe.units.player.buffs.attachTo = "FRAME" E.db.unitframe.units.player.castbar.width = 399 E.db.unitframe.units.player.castbar.height = 25 E.db.unitframe.units.party.horizontalSpacing = 1 E.db.unitframe.units.party.debuffs.sizeOverride = 21 E.db.unitframe.units.party.debuffs.yOffset = -7 E.db.unitframe.units.party.debuffs.anchorPoint = "TOPRIGHT" E.db.unitframe.units.party.debuffs.xOffset = -4 E.db.unitframe.units.party.buffs.enable = true E.db.unitframe.units.party.buffs.yOffset = 28 E.db.unitframe.units.party.buffs.anchorPoint = "BOTTOMLEFT" E.db.unitframe.units.party.buffs.clickThrough = true E.db.unitframe.units.party.buffs.useBlacklist = false E.db.unitframe.units.party.buffs.noDuration = false E.db.unitframe.units.party.buffs.playerOnly = false E.db.unitframe.units.party.buffs.perrow = 1 E.db.unitframe.units.party.buffs.useFilter = "TurtleBuffs" E.db.unitframe.units.party.buffs.noConsolidated = false E.db.unitframe.units.party.buffs.sizeOverride = 22 E.db.unitframe.units.party.buffs.xOffset = 30 E.db.unitframe.units.party.growthDirection = "LEFT_UP" E.db.unitframe.units.party.power.text_format = "" E.db.unitframe.units.party.power.width = "inset" E.db.unitframe.units.party.buffIndicator.size = 10 E.db.unitframe.units.party.roleIcon.enable = false E.db.unitframe.units.party.roleIcon.position = "BOTTOMRIGHT" E.db.unitframe.units.party.targetsGroup.anchorPoint = "BOTTOM" E.db.unitframe.units.party.GPSArrow.size = 40 E.db.unitframe.units.party.customTexts = {} E.db.unitframe.units.party.customTexts['Health Text'] = {} E.db.unitframe.units.party.customTexts['Health Text'].font = "ElvUI Pixel" E.db.unitframe.units.party.customTexts['Health Text'].justifyH = "CENTER" E.db.unitframe.units.party.customTexts['Health Text'].fontOutline = "MONOCHROMEOUTLINE" E.db.unitframe.units.party.customTexts['Health Text'].xOffset = 0 E.db.unitframe.units.party.customTexts['Health Text'].size = 10 E.db.unitframe.units.party.customTexts['Health Text'].text_format = "[healthcolor][health:deficit]" E.db.unitframe.units.party.customTexts['Health Text'].yOffset = -7 E.db.unitframe.units.party.healPrediction = true E.db.unitframe.units.party.width = 80 E.db.unitframe.units.party.name.text_format = "[namecolor][name:veryshort] [difficultycolor][smartlevel]" E.db.unitframe.units.party.name.position = "TOP" E.db.unitframe.units.party.health.frequentUpdates = true E.db.unitframe.units.party.health.position = "BOTTOM" E.db.unitframe.units.party.health.text_format = "" E.db.unitframe.units.party.height = 45 E.db.unitframe.units.party.verticalSpacing = 1 E.db.unitframe.units.party.petsGroup.anchorPoint = "BOTTOM" E.db.unitframe.units.party.raidicon.attachTo = "LEFT" E.db.unitframe.units.party.raidicon.xOffset = 9 E.db.unitframe.units.party.raidicon.yOffset = 0 E.db.unitframe.units.party.raidicon.size = 13 E.db.unitframe.units.arena.power.width = "inset" E.db.unitframe.units.pettarget.power.width = "inset" E.db.unitframe.units.assist.targetsGroup.enable = false E.db.unitframe.units.assist.enable = false E.db.unitframe.colors.auraBarBuff.b = 0.094117647058824 E.db.unitframe.colors.auraBarBuff.g = 0.07843137254902 E.db.unitframe.colors.auraBarBuff.r = 0.30980392156863 E.db.unitframe.colors.transparentPower = true E.db.unitframe.colors.castColor.b = 0.1 E.db.unitframe.colors.castColor.g = 0.1 E.db.unitframe.colors.castColor.r = 0.1 E.db.unitframe.colors.health.b = 0.23529411764706 E.db.unitframe.colors.health.g = 0.23529411764706 E.db.unitframe.colors.health.r = 0.23529411764706 E.db.unitframe.colors.transparentCastbar = true E.db.unitframe.colors.transparentHealth = true E.db.unitframe.colors.transparentAurabars = true E.db.unitframe.smartRaidFilter = false E.db.unitframe.statusbar = "Polished Wood" E.db.datatexts.minimapPanels = false E.db.datatexts.fontSize = 12 E.db.datatexts.panelTransparency = true E.db.datatexts.panels.DP_3.middle = "DPS" E.db.datatexts.panels.RightChatDataPanel.right = "Skada" E.db.datatexts.panels.RightChatDataPanel.left = "Combat/Arena Time" E.db.datatexts.panels.DP_1.middle = "Friends" E.db.datatexts.panels.DP_5.middle = "Friends" E.db.datatexts.panels.LeftChatDataPanel.right = "Haste" E.db.datatexts.panels.LeftChatDataPanel.left = "Spell/Heal Power" E.db.datatexts.panels.RightMiniPanel = "Gold" E.db.datatexts.panels.Top_Center = "WIM" E.db.datatexts.panels.Bottom_Panel = "System" E.db.datatexts.panels.DP_6.right = "Gold" E.db.datatexts.panels.DP_6.left = "System" E.db.datatexts.panels.DP_6.middle = "Time" E.db.datatexts.panels.DP_2.middle = "Attack Power" E.db.datatexts.panels.LeftMiniPanel = "Time" E.db.datatexts.font = "ElvUI Font" E.db.datatexts.fontOutline = "None" E.db.datatexts.battleground = false E.db.actionbar.bar3.enabled = false E.db.actionbar.bar3.buttonsPerRow = 3 E.db.actionbar.bar3.alpha = 0.4 E.db.actionbar.bar2.enabled = true E.db.actionbar.bar2.buttonspacing = 1 E.db.actionbar.bar2.alpha = 0.6 E.db.actionbar.bar5.enabled = false E.db.actionbar.bar5.buttonsPerRow = 3 E.db.actionbar.bar5.alpha = 0.4 E.db.actionbar.bar1.buttonspacing = 1 E.db.actionbar.bar1.alpha = 0.6 E.db.actionbar.stanceBar.buttonsPerRow = 1 E.db.actionbar.stanceBar.alpha = 0.6 E.db.actionbar.bar4.enabled = false E.db.actionbar.bar4.point = "BOTTOMLEFT" E.db.actionbar.bar4.mouseover = true E.db.actionbar.bar4.backdrop = false E.db.actionbar.bar4.buttonsPerRow = 6 E.db.actionbar.bar4.alpha = 0.4 E.db.layoutSet = "healer" E.db.sle.datatext.chathandle = true E.db.sle.datatext.top.transparent = true E.db.sle.datatext.top.width = 101 E.db.sle.datatext.bottom.transparent = true E.db.sle.datatext.bottom.alpha = 0.8 E.db.sle.datatext.bottom.width = 411 E.db.sle.datatext.dp6.enabled = true E.db.sle.datatext.dp6.transparent = true E.db.sle.datatext.dp6.alpha = 0.8 E.db.sle.datatext.dp6.width = 399 E.db.sle.minimap.buttons.anchor = "VERTICAL" E.db.sle.minimap.buttons.mouseover = true E.db.sle.minimap.mapicons.skinmail = false E.db.sle.minimap.mapicons.iconmouseover = true --Character-- E.private.general.chatBubbles = "nobackdrop" E.private.addonskins = {} E.private.addonskins.EmbedSystemDual = true E.private.sle.inspectframeoptions.enable = true E.private.sle.characterframeoptions.enable = true E.private.theme = "classic" --Global-- E.global.unitframe.aurafilters.TurtleBuffs = {} E.global.unitframe.aurafilters.TurtleBuffs.spells = {} E.global.unitframe.aurafilters.TurtleBuffs.spells['Alter Time'] = {} E.global.unitframe.aurafilters.TurtleBuffs.spells['Elusive Brew'] = {} E.global.unitframe.aurafilters.TurtleBuffs.spells['Alter Time'].enable = true E.global.unitframe.aurafilters.TurtleBuffs.spells['Alter Time'].priority = 0 E.global.unitframe.aurafilters.TurtleBuffs.spells['Elusive Brew'].enable = false E.global.unitframe.aurafilters.TurtleBuffs.spells['Elusive Brew'].priority = 99 E.global.unitframe.aurafilters.Blacklist = {} E.global.unitframe.aurafilters.Blacklist.spells = {} E.global.unitframe.aurafilters.Blacklist.spells['Bright Light'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Keen Eyesight'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Clear Mind'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Blue Rays'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Inferno Breath'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Infrared Light'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Thick Bones'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Dark Winds'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Fully Mutated'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Improved Synapses'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Unleashed Anima'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Recently Bandaged'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Blue Timer'] = {} E.global.unitframe.aurafilters.Blacklist.spells['Bright Light'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Bright Light'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Keen Eyesight'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Keen Eyesight'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Clear Mind'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Clear Mind'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Blue Rays'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Blue Rays'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Inferno Breath'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Inferno Breath'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Infrared Light'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Infrared Light'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Thick Bones'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Thick Bones'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Dark Winds'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Dark Winds'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Fully Mutated'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Fully Mutated'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Improved Synapses'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Improved Synapses'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Unleashed Anima'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Unleashed Anima'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Recently Bandaged'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Recently Bandaged'].priority = 0 E.global.unitframe.aurafilters.Blacklist.spells['Blue Timer'].enable = true E.global.unitframe.aurafilters.Blacklist.spells['Blue Timer'].priority = 0 -- E.global.unitframe.buffwatch.SHAMAN[1].color.b = 1 -- E.global.unitframe.buffwatch.SHAMAN[1].color.g = 1 -- E.global.unitframe.buffwatch.SHAMAN[1].color.r = 1 -- E.global.unitframe.buffwatch.SHAMAN[1].displayText = true -- E.global.unitframe.buffwatch.SHAMAN[1].style = "NONE" -- E.global.unitframe.buffwatch.SHAMAN[2].point = "BOTTOMRIGHT" -- E.global.unitframe.buffwatch.SHAMAN[2].yOffset = 10 -- E.global.unitframe.buffwatch.SHAMAN[2].style = "texturedIcon" -- E.global.unitframe.buffwatch.SHAMAN[3].point = "TOPLEFT" -- E.global.unitframe.buffwatch.SHAMAN[3].color.r = 1 -- E.global.unitframe.buffwatch.SHAMAN[3].color.g = 1 -- E.global.unitframe.buffwatch.SHAMAN[3].color.b = 1 -- E.global.unitframe.buffwatch.SHAMAN[3].displayText = true -- E.global.unitframe.buffwatch.SHAMAN[3].style = "NONE" -- E.global.unitframe.buffwatch.PRIEST[1].point = "LEFT" -- E.global.unitframe.buffwatch.PRIEST[1].displayText = true -- E.global.unitframe.buffwatch.PRIEST[1].yOffset = 2 -- E.global.unitframe.buffwatch.PRIEST[1].style = "NONE" -- E.global.unitframe.buffwatch.PRIEST[1].textColor.g = 0 -- E.global.unitframe.buffwatch.PRIEST[1].textColor.b = 0 -- E.global.unitframe.buffwatch.PRIEST[2].point = "TOPRIGHT" -- E.global.unitframe.buffwatch.PRIEST[2].style = "texturedIcon" -- E.global.unitframe.buffwatch.PRIEST[3].enabled = false -- E.global.unitframe.buffwatch.PRIEST[4].color.r = 1 -- E.global.unitframe.buffwatch.PRIEST[4].color.g = 1 -- E.global.unitframe.buffwatch.PRIEST[4].color.b = 1 -- E.global.unitframe.buffwatch.PRIEST[4].displayText = true -- E.global.unitframe.buffwatch.PRIEST[4].style = "NONE" -- E.global.unitframe.buffwatch.PRIEST[6].enabled = false -- E.global.unitframe.buffwatch.PRIEST[7].enabled = false -- E.global.unitframe.buffwatch.PRIEST[8].enabled = false -- E.global.unitframe.buffwatch.PRIEST[9].enabled = true -- E.global.unitframe.buffwatch.PRIEST[9].anyUnit = false -- E.global.unitframe.buffwatch.PRIEST[9].point = "BOTTOMLEFT" -- E.global.unitframe.buffwatch.PRIEST[9].color.b = 1 -- E.global.unitframe.buffwatch.PRIEST[9].color.g = 1 -- E.global.unitframe.buffwatch.PRIEST[9].color.r = 1 -- E.global.unitframe.buffwatch.PRIEST[9].displayText = true -- E.global.unitframe.buffwatch.PRIEST[9].textThreshold = -1 -- E.global.unitframe.buffwatch.PRIEST[9].yOffset = 8 -- E.global.unitframe.buffwatch.PRIEST[9].style = "NONE" -- E.global.unitframe.buffwatch.PRIEST[9].id = 47753 -- E.global.unitframe.buffwatch.PRIEST[10].enabled = true -- E.global.unitframe.buffwatch.PRIEST[10].anyUnit = false -- E.global.unitframe.buffwatch.PRIEST[10].point = "BOTTOMRIGHT" -- E.global.unitframe.buffwatch.PRIEST[10].color.b = 1 -- E.global.unitframe.buffwatch.PRIEST[10].color.g = 1 -- E.global.unitframe.buffwatch.PRIEST[10].color.r = 1 -- E.global.unitframe.buffwatch.PRIEST[10].displayText = true -- E.global.unitframe.buffwatch.PRIEST[10].textThreshold = -1 -- E.global.unitframe.buffwatch.PRIEST[10].yOffset = 8 -- E.global.unitframe.buffwatch.PRIEST[10].style = "NONE" -- E.global.unitframe.buffwatch.PRIEST[10].id = 114908 -- E.global.unitframe.buffwatch.DRUID[1].point = "TOPLEFT" -- E.global.unitframe.buffwatch.DRUID[1].displayText = true -- E.global.unitframe.buffwatch.DRUID[1].style = "NONE" -- E.global.unitframe.buffwatch.DRUID[2].displayText = true -- E.global.unitframe.buffwatch.DRUID[2].style = "NONE" -- E.global.unitframe.buffwatch.DRUID[3].point = "BOTTOMRIGHT" -- E.global.unitframe.buffwatch.DRUID[3].displayText = true -- E.global.unitframe.buffwatch.DRUID[3].textThreshold = 5 -- E.global.unitframe.buffwatch.DRUID[3].yOffset = 12 -- E.global.unitframe.buffwatch.DRUID[3].style = "texturedIcon" -- E.global.unitframe.buffwatch.DRUID[4].point = "TOPRIGHT" -- E.global.unitframe.buffwatch.DRUID[4].displayText = true -- E.global.unitframe.buffwatch.DRUID[4].textThreshold = 3 -- E.global.unitframe.buffwatch.DRUID[4].style = "texturedIcon" -- E.global.unitframe.buffwatch.DRUID[5].enabled = true -- E.global.unitframe.buffwatch.DRUID[5].anyUnit = false -- E.global.unitframe.buffwatch.DRUID[5].point = "LEFT" -- E.global.unitframe.buffwatch.DRUID[5].id = 155777 -- E.global.unitframe.buffwatch.DRUID[5].displayText = true -- E.global.unitframe.buffwatch.DRUID[5].color.r = 1 -- E.global.unitframe.buffwatch.DRUID[5].color.g = 0 -- E.global.unitframe.buffwatch.DRUID[5].color.b = 0 -- E.global.unitframe.buffwatch.DRUID[5].style = "texturedIcon" -- E.global.unitframe.buffwatch.DRUID[6].enabled = true -- E.global.unitframe.buffwatch.DRUID[6].anyUnit = false -- E.global.unitframe.buffwatch.DRUID[6].point = "BOTTOMRIGHT" -- E.global.unitframe.buffwatch.DRUID[6].id = 162359 -- E.global.unitframe.buffwatch.DRUID[6].displayText = true -- E.global.unitframe.buffwatch.DRUID[6].color.r = 1 -- E.global.unitframe.buffwatch.DRUID[6].color.g = 0 -- E.global.unitframe.buffwatch.DRUID[6].color.b = 0 -- E.global.unitframe.buffwatch.MONK[1].color.r = 1 -- E.global.unitframe.buffwatch.MONK[1].color.g = 1 -- E.global.unitframe.buffwatch.MONK[1].color.b = 1 -- E.global.unitframe.buffwatch.MONK[1].displayText = true -- E.global.unitframe.buffwatch.MONK[1].style = "NONE" -- E.global.unitframe.buffwatch.MONK[2].enabled = false -- E.global.unitframe.buffwatch.MONK[3].color.r = 1 -- E.global.unitframe.buffwatch.MONK[3].color.g = 1 -- E.global.unitframe.buffwatch.MONK[3].color.b = 1 -- E.global.unitframe.buffwatch.MONK[3].displayText = true -- E.global.unitframe.buffwatch.MONK[3].style = "NONE" -- E.global.unitframe.buffwatch.MONK[4].color.r = 1 -- E.global.unitframe.buffwatch.MONK[4].color.g = 1 -- E.global.unitframe.buffwatch.MONK[4].color.b = 1 -- E.global.unitframe.buffwatch.MONK[4].displayText = true -- E.global.unitframe.buffwatch.MONK[4].style = "NONE" -- E.global.unitframe.buffwatch.MONK[5].enabled = true -- E.global.unitframe.buffwatch.MONK[5].anyUnit = false -- E.global.unitframe.buffwatch.MONK[5].point = "TOPRIGHT" -- E.global.unitframe.buffwatch.MONK[5].color.b = 1 -- E.global.unitframe.buffwatch.MONK[5].color.g = 1 -- E.global.unitframe.buffwatch.MONK[5].color.r = 1 -- E.global.unitframe.buffwatch.MONK[5].id = 115175 -- E.global.unitframe.buffwatch.MONK[5].displayText = false -- E.global.unitframe.buffwatch.MONK[5].style = "texturedIcon" -- E.global.unitframe.buffwatch.MONK[5].yOffset = 0 -- E.global.unitframe.buffwatch.PALADIN[2].enabled = false -- E.global.unitframe.buffwatch.PALADIN[3].enabled = false -- E.global.unitframe.buffwatch.PALADIN[4].enabled = false -- E.global.unitframe.buffwatch.PALADIN[5].enabled = false -- E.global.unitframe.buffwatch.PALADIN[8].anyUnit = false -- E.global.unitframe.buffwatch.PALADIN[8].point = "TOPRIGHT" -- E.global.unitframe.buffwatch.PALADIN[8].color.r = 1 -- E.global.unitframe.buffwatch.PALADIN[8].color.g = 0 -- E.global.unitframe.buffwatch.PALADIN[8].color.b = 0 -- E.global.unitframe.buffwatch.PALADIN[8].displayText = true -- E.global.unitframe.buffwatch.PALADIN[8].style = "NONE" -- do -- if GetScreenWidth() > 1920 then -- E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM25427" -- E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-25427" -- E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2544" -- E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2544" -- else -- E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM26027" -- E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-26027" -- E.db.movers.Bottom_Panel_Mover = "BOTTOMElvUIParentBOTTOM2604" -- E.db.movers.Top_Center_Mover = "BOTTOMElvUIParentBOTTOM-2604" -- end -- E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278200" -- E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0100" -- E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278200" -- E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0190" -- E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM-63436" -- E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0230" -- E.db.movers.ElvAB_1 = "BOTTOMElvUIParentBOTTOM060" -- E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM027" -- E.db.movers.DP_6_Mover = "BOTTOMElvUIParentBOTTOM04" -- E.db.movers.LeftChatMover = "BOTTOMLEFTUIParentBOTTOMLEFT021" -- E.db.movers.RightChatMover = "BOTTOMRIGHTUIParentBOTTOMRIGHT021" -- E.db.movers.PetAB = "RIGHTElvUIParentRIGHT00" -- E.db.movers.ArenaHeaderMover = "TOPRIGHTElvUIParentTOPRIGHT-210-410" -- E.db.movers.BossHeaderMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-210435" -- if layout == 'dpsCaster' or layout == 'dpsMelee' or layout == 'tank' then -- E.db.movers.ElvUF_PartyMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT4200" -- E.db.movers.ElvUF_Raid10Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT4200" -- E.db.movers.ElvUF_Raid25Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT4200" -- E.db.movers.ElvUF_Raid40Mover = "BOTTOMLEFTElvUIParentBOTTOMLEFT4200" -- E.db.movers["BossButton"] = "CENTERElvUIParentCENTER-413188" -- else -- E.db.movers.ElvUF_PartyMover = "BOTTOMRIGHTElvUIParentCENTER-213-90" -- E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" -- E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" -- E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentCENTER-213-90" -- E.db.movers["BossButton"] = "CENTERElvUIParentCENTER-413188" -- end -- if GetScreenWidth() < 1920 then -- E.db.movers.ElvAB_4 = "BOTTOMLEFTElvUIParentBOTTOMRIGHT-380200" -- E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT38221" -- E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT38221" -- else -- E.db.movers.ElvAB_4 = "BOTTOMLEFTElvUIParentBOTTOMRIGHT-413200" -- E.db.movers.ShiftAB = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" -- E.db.movers.TotemBarMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT41421" -- end -- end E:UpdateAll(true) end local function InstallComplete() E.private.sle.install_complete = SLE.version if GetCVarBool("Sound_EnableMusic") then StopMusic() end ReloadUI() end local function ResetAll() SLEInstallNextButton:Disable() SLEInstallPrevButton:Disable() SLEInstallOption1Button:Hide() SLEInstallOption1Button:SetScript("OnClick", nil) SLEInstallOption1Button:SetText("") SLEInstallOption2Button:Hide() SLEInstallOption2Button:SetScript('OnClick', nil) SLEInstallOption2Button:SetText('') SLEInstallOption3Button:Hide() SLEInstallOption3Button:SetScript('OnClick', nil) SLEInstallOption3Button:SetText('') SLEInstallOption4Button:Hide() SLEInstallOption4Button:SetScript('OnClick', nil) SLEInstallOption4Button:SetText('') SLEInstallFrame.SubTitle:SetText("") SLEInstallFrame.Desc1:SetText("") SLEInstallFrame.Desc2:SetText("") SLEInstallFrame.Desc3:SetText("") SLEInstallFrame:Size(550, 400) end local function SetPage(PageNum) CURRENT_PAGE = PageNum ResetAll() SLEInstallStatus:SetValue(PageNum) local f = SLEInstallFrame if PageNum == MAX_PAGE then SLEInstallNextButton:Disable() else SLEInstallNextButton:Enable() end if PageNum == 1 then SLEInstallPrevButton:Disable() else SLEInstallPrevButton:Enable() end if PageNum == 1 then f.SubTitle:SetText(format(L["Welcome to |cff1784d1Shadow & Light|r version %s!"], SLE.version)) f.Desc1:SetText(L["This will take you through a quick install process to setup some Shadow & Light features.\nIf you choose to not setup any options through this config, click continue to skip to the end and click finish."]) f.Desc2:SetText("") f.Desc3:SetText(L["Please press the continue button to go onto the next step."]) SLEInstallOption1Button:Show() SLEInstallOption1Button:SetScript("OnClick", InstallComplete) SLEInstallOption1Button:SetText(L["Skip Process"]) elseif PageNum == 2 then f.SubTitle:SetText(L["Chat"]) f.Desc1:SetText(L["This will determine if you want to use ElvUI's default layout for chat datatext panels or let Shadow & Light handle them."]) f.Desc2:SetText(L["If you select S&L Panels, the datatext panels will be attached below the left and right chat frames instead of being inside the chat frame."]) f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"]) SLEInstallOption1Button:Show() SLEInstallOption1Button:SetScript("OnClick", function() E.db.sle.datatext.chathandle = false; E:GetModule('Layout'):ToggleChatPanels() end) SLEInstallOption1Button:SetText("ElvUI Panels") SLEInstallOption2Button:Show() SLEInstallOption2Button:SetScript('OnClick', function() E.db.sle.datatext.chathandle = true; E:GetModule('Layout'):ToggleChatPanels() end) SLEInstallOption2Button:SetText("S&L Panels") elseif PageNum == 3 then f.SubTitle:SetText(L["Armory Mode"]) f.Desc1:SetText(L["Enable S&L Armory\n(Deatiled Character & Inspect frames)\n|cffFF0000Note:|r This is currently a beta option."]) f.Desc2:SetText(L["This will enable S&L Armory mode that will show more detailed information at a quick glance on the toons you inspect as well as your own character."]) f.Desc3:SetText(L["Importance: |cffFF0000Low|r"]) SLEInstallOption1Button:Show() SLEInstallOption1Button:SetScript('OnClick', function() E.private.sle.characterframeoptions.enable = true; E.private.sle.inspectframeoptions.enable = true; end) SLEInstallOption1Button:SetText(L["Enable"]) elseif PageNum == 4 then f.SubTitle:SetText("Shadow & Light Settings") f.Desc1:SetText(L["You can now choose if you what to use one of authors' set of options. This will change not only the positioning of some elements but also change a bunch of other options."]) f.Desc2:SetText(L["SLE_Install_Text2"]) f.Desc3:SetText(L["Importance: |cffFF0000Low|r"]) SLEInstallOption1Button:Show() SLEInstallOption1Button:SetScript('OnClick', function() DarthSetup() end) SLEInstallOption1Button:SetText(L["Darth's Config"]) SLEInstallOption2Button:Show() SLEInstallOption2Button:SetScript('OnClick', function() AffinitiiSetup() end) SLEInstallOption2Button:SetText(L["Affinitii's Config"]) SLEInstallOption3Button:Show() SLEInstallOption3Button:SetScript('OnClick', function() RepoocSetup() end) SLEInstallOption3Button:SetText(L["Repooc's Config"]) elseif PageNum == 5 then f.SubTitle:SetText(L["Installation Complete"]) f.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."]) f.Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."]) SLEInstallOption1Button:Show() SLEInstallOption1Button:SetScript("OnClick", InstallComplete) SLEInstallOption1Button:SetText(L["Finished"]) SLEInstallFrame:Size(550, 350) end end local function NextPage() if CURRENT_PAGE ~= MAX_PAGE then CURRENT_PAGE = CURRENT_PAGE + 1 SetPage(CURRENT_PAGE) end end local function PreviousPage() if CURRENT_PAGE ~= 1 then CURRENT_PAGE = CURRENT_PAGE - 1 SetPage(CURRENT_PAGE) end end --Install UI function SLE:Install() if not SLEInstallStepComplete then local imsg = CreateFrame("Frame", "SLEInstallStepComplete", E.UIParent) imsg:Size(418, 72) imsg:Point("TOP", 0, -190) imsg:Hide() imsg:SetScript('OnShow', function(self) if self.message then PlaySoundFile([[Sound\Interface\LevelUp.wav]]) self.text:SetText(self.message) UIFrameFadeOut(self, 3.5, 1, 0) E:Delay(4, function() self:Hide() end) self.message = nil if imsg.firstShow == false then if GetCVarBool("Sound_EnableMusic") then PlayMusic([[Sound\Music\ZoneMusic\DMF_L70ETC01.mp3]]) end imsg.firstShow = true end else self:Hide() end end) imsg.firstShow = false imsg.bg = imsg:CreateTexture(nil, 'BACKGROUND') imsg.bg:SetTexture([[Interface\LevelUp\LevelUpTex]]) imsg.bg:SetPoint('BOTTOM') imsg.bg:Size(326, 103) imsg.bg:SetTexCoord(0.00195313, 0.63867188, 0.03710938, 0.23828125) imsg.bg:SetVertexColor(1, 1, 1, 0.6) imsg.lineTop = imsg:CreateTexture(nil, 'BACKGROUND') imsg.lineTop:SetDrawLayer('BACKGROUND', 2) imsg.lineTop:SetTexture([[Interface\LevelUp\LevelUpTex]]) imsg.lineTop:SetPoint("TOP") imsg.lineTop:Size(418, 7) imsg.lineTop:SetTexCoord(0.00195313, 0.81835938, 0.01953125, 0.03320313) imsg.lineBottom = imsg:CreateTexture(nil, 'BACKGROUND') imsg.lineBottom:SetDrawLayer('BACKGROUND', 2) imsg.lineBottom:SetTexture([[Interface\LevelUp\LevelUpTex]]) imsg.lineBottom:SetPoint("BOTTOM") imsg.lineBottom:Size(418, 7) imsg.lineBottom:SetTexCoord(0.00195313, 0.81835938, 0.01953125, 0.03320313) imsg.text = imsg:CreateFontString(nil, 'ARTWORK', 'GameFont_Gigantic') imsg.text:Point("BOTTOM", 0, 12) imsg.text:SetTextColor(1, 0.82, 0) imsg.text:SetJustifyH("CENTER") end --Create Frame if not SLEInstallFrame then local f = CreateFrame("Button", "SLEInstallFrame", E.UIParent) f.SetPage = SetPage f:Size(550, 400) f:SetTemplate("Transparent") f:SetPoint("CENTER") f:SetFrameStrata('TOOLTIP') f.Title = f:CreateFontString(nil, 'OVERLAY') f.Title:FontTemplate(nil, 17, nil) f.Title:Point("TOP", 0, -5) f.Title:SetText(L["|cff1784d1Shadow & Light|r Installation"]) f.Next = CreateFrame("Button", "SLEInstallNextButton", f, "UIPanelButtonTemplate") f.Next:StripTextures() f.Next:SetTemplate("Default", true) f.Next:Size(110, 25) f.Next:Point("BOTTOMRIGHT", -5, 5) f.Next:SetText(CONTINUE) f.Next:Disable() f.Next:SetScript("OnClick", NextPage) E.Skins:HandleButton(f.Next, true) f.Prev = CreateFrame("Button", "SLEInstallPrevButton", f, "UIPanelButtonTemplate") f.Prev:StripTextures() f.Prev:SetTemplate("Default", true) f.Prev:Size(110, 25) f.Prev:Point("BOTTOMLEFT", 5, 5) f.Prev:SetText(PREVIOUS) f.Prev:Disable() f.Prev:SetScript("OnClick", PreviousPage) E.Skins:HandleButton(f.Prev, true) f.Status = CreateFrame("StatusBar", "SLEInstallStatus", f) f.Status:SetFrameLevel(f.Status:GetFrameLevel() + 2) f.Status:CreateBackdrop("Default") f.Status:SetStatusBarTexture(E["media"].normTex) f.Status:SetStatusBarColor(unpack(E["media"].rgbvaluecolor)) f.Status:SetMinMaxValues(0, MAX_PAGE) f.Status:Point("TOPLEFT", f.Prev, "TOPRIGHT", 6, -2) f.Status:Point("BOTTOMRIGHT", f.Next, "BOTTOMLEFT", -6, 2) f.Status.text = f.Status:CreateFontString(nil, 'OVERLAY') f.Status.text:FontTemplate() f.Status.text:SetPoint("CENTER") f.Status.text:SetText(CURRENT_PAGE.." / "..MAX_PAGE) f.Status:SetScript("OnValueChanged", function(self) self.text:SetText(self:GetValue().." / "..MAX_PAGE) end) f.Option1 = CreateFrame("Button", "SLEInstallOption1Button", f, "UIPanelButtonTemplate") f.Option1:StripTextures() f.Option1:Size(160, 30) f.Option1:Point("BOTTOM", 0, 45) f.Option1:SetText("") f.Option1:Hide() E.Skins:HandleButton(f.Option1, true) f.Option2 = CreateFrame("Button", "SLEInstallOption2Button", f, "UIPanelButtonTemplate") f.Option2:StripTextures() f.Option2:Size(110, 30) f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 45) f.Option2:SetText("") f.Option2:Hide() f.Option2:SetScript('OnShow', function() f.Option1:SetWidth(110); f.Option1:ClearAllPoints(); f.Option1:Point('BOTTOMRIGHT', f, 'BOTTOM', -4, 45) end) f.Option2:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 45) end) E.Skins:HandleButton(f.Option2, true) f.Option3 = CreateFrame("Button", "SLEInstallOption3Button", f, "UIPanelButtonTemplate") f.Option3:StripTextures() f.Option3:Size(100, 30) f.Option3:Point('LEFT', f.Option2, 'RIGHT', 4, 0) f.Option3:SetText("") f.Option3:Hide() f.Option3:SetScript('OnShow', function() f.Option1:SetWidth(100); f.Option1:ClearAllPoints(); f.Option1:Point('RIGHT', f.Option2, 'LEFT', -4, 0); f.Option2:SetWidth(100); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOM', f, 'BOTTOM', 0, 45) end) f.Option3:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 45); f.Option2:SetWidth(110); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 45) end) E.Skins:HandleButton(f.Option3, true) f.Option4 = CreateFrame("Button", "SLEInstallOption4Button", f, "UIPanelButtonTemplate") f.Option4:StripTextures() f.Option4:Size(100, 30) f.Option4:Point('LEFT', f.Option3, 'RIGHT', 4, 0) f.Option4:SetText("") f.Option4:Hide() f.Option4:SetScript('OnShow', function() f.Option1:Width(100) f.Option2:Width(100) f.Option1:ClearAllPoints(); f.Option1:Point('RIGHT', f.Option2, 'LEFT', -4, 0); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOMRIGHT', f, 'BOTTOM', -4, 45) end) f.Option4:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 45); f.Option2:SetWidth(110); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 45) end) E.Skins:HandleButton(f.Option4, true) f.SubTitle = f:CreateFontString(nil, 'OVERLAY') f.SubTitle:FontTemplate(nil, 15, nil) f.SubTitle:Point("TOP", 0, -40) f.Desc1 = f:CreateFontString(nil, 'OVERLAY') f.Desc1:FontTemplate() f.Desc1:Point("TOPLEFT", 20, -75) f.Desc1:Width(f:GetWidth() - 40) f.Desc2 = f:CreateFontString(nil, 'OVERLAY') f.Desc2:FontTemplate() f.Desc2:Point("TOPLEFT", 20, -125) f.Desc2:Width(f:GetWidth() - 40) f.Desc3 = f:CreateFontString(nil, 'OVERLAY') f.Desc3:FontTemplate() f.Desc3:Point("TOPLEFT", 20, -175) f.Desc3:Width(f:GetWidth() - 40) local close = CreateFrame("Button", "SLEInstallCloseButton", f, "UIPanelCloseButton") close:SetPoint("TOPRIGHT", f, "TOPRIGHT") close:SetScript("OnClick", function() f:Hide() CURRENT_PAGE = 0 end) E.Skins:HandleCloseButton(close) f.tutorialImage = f:CreateTexture('SLEInstallTutorialImage', 'OVERLAY') f.tutorialImage:Size(256, 128) f.tutorialImage:SetTexture('Interface\\AddOns\\ElvUI_SLE\\media\\textures\\SLE_Banner') f.tutorialImage:Point('BOTTOM', 0, 70) end SLEInstallFrame:Show() NextPage() end