--- ============================ HEADER ============================ --- ======= LOCALIZE ======= -- Addon local addonName, addonTable = ... -- HeroRotation local HR = HeroRotation -- HeroLib local HL = HeroLib -- File Locals local GUI = HL.GUI local CreateChildPanel = GUI.CreateChildPanel local CreatePanelOption = GUI.CreatePanelOption local CreateARPanelOption = HR.GUI.CreateARPanelOption local CreateARPanelOptions = HR.GUI.CreateARPanelOptions --- ============================ CONTENT ============================ -- All settings here should be moved into the GUI someday. HR.GUISettings.APL.Evoker = { Commons = { EmpoweredFontSize = 36, DisintegrateFontSize = 22, Enabled = { Potions = true, Trinkets = true, Items = true, }, DisplayStyle = { Defensives = "Suggested", Potions = "Suggested", Signature = "Suggested", Trinkets = "Suggested", Items = "Suggested", }, -- {Display GCD as OffGCD, ForceReturn} GCDasOffGCD = { -- Abilities BlessingOfTheBronze = true, TipTheScales = true, Unravel = true, }, -- {Display OffGCD as OffGCD, ForceReturn} OffGCDasOffGCD = { -- Abilities Quell = true, } }, Augmentation = { DisplayStyle = { AugBuffs = "SuggestedRight", }, PotionType = { Selected = "Power", }, GCDasOffGCD = { BreathOfEons = true, EbonMight = false, TimeSkip = true, }, }, Devastation = { UseDefensives = true, UseGreen = true, ShowChainClip = true, ObsidianScalesThreshold = 60, PotionType = { Selected = "Power", }, GCDasOffGCD = { DeepBreath = true, Dragonrage = true, }, }, } HR.GUI.LoadSettingsRecursively(HR.GUISettings) -- Child Panels local ARPanel = HR.GUI.Panel local CP_Evoker = CreateChildPanel(ARPanel, "Evoker") local CP_Augmentation = CreateChildPanel(CP_Evoker, "Augmentation") local CP_Devastation = CreateChildPanel(CP_Evoker, "Devastation") -- Evoker CreateARPanelOptions(CP_Evoker, "APL.Evoker.Commons") CreatePanelOption("Slider", CP_Evoker, "APL.Evoker.Commons.EmpoweredFontSize", {1, 100, 1}, "Empowered Spell Font Size", "Select the font size you would like shown for the overlay on your empowered spell casts (Fire Breath/Eternity Surge).") CreatePanelOption("Slider", CP_Evoker, "APL.Evoker.Commons.DisintegrateFontSize", {1, 100, 1}, "Disintegrate Spell Font Size", "Select the font size you would like shown for the overlay on your Disintegrate spell casts.") -- Augmentation CreateARPanelOptions(CP_Augmentation, "APL.Evoker.Augmentation") -- Devastation CreatePanelOption("CheckButton", CP_Devastation, "APL.Evoker.Devastation.UseDefensives", "Suggest Defensives", "Enable this option to have the addon suggest defensive spells.") CreatePanelOption("CheckButton", CP_Devastation, "APL.Evoker.Devastation.UseGreen", "Suggest Green Spells", "Enable this option to have the addon suggest Green Evoker spells, as per the APL. Disable if you want to decide for yourself when to use them.") CreatePanelOption("CheckButton", CP_Devastation, "APL.Evoker.Devastation.ShowChainClip", "Show Chain/Clip Suggestions", "Enable this option to have the addon overlay 'CLIP' and 'CHAIN' onto casts when Disintegrate should be clipped or chained. (Note: This is currently only for single target rotations.)") CreatePanelOption("Slider", CP_Devastation, "APL.Evoker.Devastation.ObsidianScalesThreshold", {5, 100, 5}, "Obsidian Scales Threshold", "Suggest Obsidian Scales when below this health percentage.") CreateARPanelOptions(CP_Devastation, "APL.Evoker.Devastation")