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.

148 lines
5.1 KiB

--- ============================ 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.Monk = {
Commons = {
Enabled = {
Trinkets = true,
Potions = true,
Items = true,
},
DisplayStyle = {
Potions = "Suggested",
Covenant = "Suggested",
Trinkets = "Suggested",
Items = "Suggested"
},
-- {Display GCD as OffGCD, ForceReturn}
GCDasOffGCD = {
LegSweep = true,
RingOfPeace = true,
Paralysis = true,
},
-- {Display OffGCD as OffGCD, ForceReturn}
OffGCDasOffGCD = {
Interrupts = true,
Racials = true,
}
},
Brewmaster = {
PotionType = {
Selected = "Power",
},
-- DisplayStyle for Brewmaster-only stuff
DisplayStyle = {
CelestialBrew = "Suggested",
DampenHarm = "Suggested",
FortifyingBrew = "Suggested",
Purify = "SuggestedRight"
},
-- {Display GCD as OffGCD, ForceReturn}
GCDasOffGCD = {
-- Abilities
InvokeNiuzaoTheBlackOx = true,
TouchOfDeath = true,
},
-- {Display OffGCD as OffGCD, ForceReturn}
OffGCDasOffGCD = {
-- Racials
-- Abilities
BlackOxBrew = true,
PurifyingBrew = true,
}
},
Windwalker = {
ShowFortifyingBrewCD = false,
IgnoreToK = false,
IgnoreFSK = true,
FortifyingBrewHP = 40,
PotionType = {
Selected = "Power",
},
-- {Display GCD as OffGCD, ForceReturn}
GCDasOffGCD = {
-- Abilities
FortifyingBrew = true,
InvokeXuenTheWhiteTiger = true,
StormEarthAndFireFixate = false,
TouchOfDeath = true,
TouchOfKarma = true,
},
-- {Display OffGCD as OffGCD, ForceReturn}
OffGCDasOffGCD = {
-- Racials
-- Abilities
EnergizingElixir = true,
Serenity = true,
StormEarthAndFire = true,
}
},
Mistweaver = {
-- Defensives
DampenHarmHP = 60,
FortifyingBrewHP = 40,
PotionType = {
Selected = "Power",
},
-- DisplayStyle
DisplayStyle = {
DampenHarm = "Suggested",
FortifyingBrew = "Suggested",
},
-- {Display GCD as OffGCD, ForceReturn}
GCDasOffGCD = {
-- Abilities
InvokeYulonTheJadeSerpent = true,
InvokeChiJiTheRedCrane = true,
SummonJadeSerpentStatue = true,
RenewingMist = true,
TouchOfDeath = true,
FortifyingBrew = true,
},
-- {Display OffGCD as OffGCD, ForceReturn}
OffGCDasOffGCD = {
-- Racials
-- Abilities
ThunderFocusTea = true,
}
}
};
HR.GUI.LoadSettingsRecursively(HR.GUISettings)
-- Child Panels
local ARPanel = HR.GUI.Panel
local CP_Monk = CreateChildPanel(ARPanel, "Monk")
local CP_Windwalker = CreateChildPanel(CP_Monk, "Windwalker")
local CP_Brewmaster = CreateChildPanel(CP_Monk, "Brewmaster")
local CP_Mistweaver = CreateChildPanel(CP_Monk, "Mistweaver")
-- Monk
CreateARPanelOptions(CP_Monk, "APL.Monk.Commons")
-- Windwalker
CreateARPanelOptions(CP_Windwalker, "APL.Monk.Windwalker")
CreatePanelOption("CheckButton", CP_Windwalker, "APL.Monk.Windwalker.ShowFortifyingBrewCD", "Fortifying Brew", "Enable or disable Fortifying Brew recommendations.")
CreatePanelOption("CheckButton", CP_Windwalker, "APL.Monk.Windwalker.IgnoreToK", "Ignore Touch of Karma", "Enable this setting to allow you to ignore Touch of Karma without stalling the rotation. (NOTE: Touch of Karma will never be suggested if this is enabled)")
CreatePanelOption("CheckButton", CP_Windwalker, "APL.Monk.Windwalker.IgnoreFSK", "Ignore Flying Serpent Kick", "Enable this setting to allow you to ignore Flying Serpent Kick without stalling the rotation. (NOTE: Flying Serpent Kick will never be suggested if this is enabled)")
CreatePanelOption("Slider", CP_Windwalker, "APL.Monk.Windwalker.FortifyingBrewHP", {1, 100, 1}, "Fortifying Brew HP Threshold", "Set the HP threshold for when to suggest Fortifying Brew.)")
-- Brewmaster
CreateARPanelOptions(CP_Brewmaster, "APL.Monk.Brewmaster")
-- Mistweaver
CreatePanelOption("Slider", CP_Mistweaver, "APL.Monk.Mistweaver.DampenHarmHP", {1, 100, 1}, "Dampen Harm HP Threshold", "Set the HP threshold for when to suggest Dampen Harm.)")
CreatePanelOption("Slider", CP_Mistweaver, "APL.Monk.Mistweaver.FortifyingBrewHP", {1, 100, 1}, "Fortifying Brew HP Threshold", "Set the HP threshold for when to suggest Fortifying Brew.)")
CreateARPanelOptions(CP_Mistweaver, "APL.Monk.Mistweaver")