X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/96ad366e5121bcaaa6621ffac6d085fdbb34c34a..a4dcd1da1d2452c7739ef9375a891f810d471535:/OmaRF/Settings.lua?ds=sidebyside diff --git a/OmaRF/Settings.lua b/OmaRF/Settings.lua index e812e98..3655cb6 100644 --- a/OmaRF/Settings.lua +++ b/OmaRF/Settings.lua @@ -1,21 +1,12 @@ -- Settings.lua -local PowerTypeMana = Enum.PowerType.Mana; -local PowerTypeRage = Enum.PowerType.Rage; -local PowerTypeFocus = Enum.PowerType.Focus; -local PowerTypeEnergy = Enum.PowerType.Energy; -local PowerTypeRunic = Enum.PowerType.RunicPower; local rawget = rawget; -- configurable settings -- character specific settings local charDefaults = { - Positions = {"TOPRIGHT", "BOTTOMLEFT"}, AnchorX = 0, AnchorY = -330, - WatchedAuras = { - }, - Clickheal = { - }, + Clickheal = {}, }; local chars = { ["Stormreaver"] = { @@ -91,13 +82,6 @@ local settings = { OverlayColorDispel = {1, 0.5, 0, 0.5}, OverlayColorCharm = {0.8, 0, 1, 0.5}, OverlayColorAlert = {1, 0, 0, 0.5}, - PowerColors = { - [PowerTypeMana] = {0, 0.5, 1}, - [PowerTypeRage] = {1, 0, 0}, - [PowerTypeFocus] = {1, 0.5, 0}, - [PowerTypeEnergy] = {1, 0.8, 0}, - [PowerTypeRunic] = {0.8, 0, 0.2}, - }, MajorAuras = { -- Antorus ["Psychic Assault"] = {bar=false}, @@ -114,6 +98,8 @@ local settings = { ["Shock Grenade"] = {bar=false}, ["Acidic Web"] = {bar=false}, ["Hungering Gloom"] = {bar=true}, + ["Empowered Pulse Grenade"] = {bar=false}, + ["Caustic Slime"] = {bar=false}, -- Trial of Valor ["Unholy Reckoning"] = {bar=false}, -- Nighthold @@ -129,8 +115,6 @@ local settings = { }, }; OmaRFSettings = settings; --- watch to not remove mana entry -setmetatable(settings.PowerColors, {__index = function(t) return rawget(t, PowerTypeMana) end}); function OmaRFLoadChar() local name, realm = UnitFullName("player");