X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/02682cae19ef591ae500957c623405568d81be06..ab2286d8eb2ff21b071f8be4de313cfb08a06f78:/OmaRF/Settings.lua diff --git a/OmaRF/Settings.lua b/OmaRF/Settings.lua index f6b1a93..b0d0bf3 100644 --- a/OmaRF/Settings.lua +++ b/OmaRF/Settings.lua @@ -1,23 +1,38 @@ -- 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 = { + ["Sylvanas"] = { + ["Vildana"] = { + AnchorX = 0, + AnchorY = -330, + Clickheal = { + ["type1"] = "spell", + ["type2"] = "spell", + ["shift-type1"] = "spell", + ["shift-type2"] = "spell", + ["ctrl-type1"] = "spell", + ["alt-type2"] = "spell", + ["alt-shift-type1"] = "spell", + ["alt-shift-type2"] = "spell", + ["spell1"] = "Holy Light", + ["spell2"] = "Bestow Faith", + ["shift-spell1"] = "Flash of Light", + ["shift-spell2"] = "Light of the Martyr", + ["ctrl-spell1"] = "Cleanse", + ["alt-spell2"] = "Lay on Hands", + ["alt-shift-spell1"] = "Beacon of Light", + ["alt-shift-spell2"] = "Beacon of Faith", + }, + }, + }, ["Stormreaver"] = { ["Vildan"] = { AnchorX = 0, @@ -73,6 +88,32 @@ local chars = { ["ctrl-spell1"] = "Purify Spirit", }, }, + ["Gilden"] = { + AnchorX = 0, + AnchorY = -330, + Clickheal = { + ["type1"] = "spell", + ["type2"] = "spell", + ["shift-type1"] = "spell", + ["shift-type2"] = "spell", + ["ctrl-type1"] = "spell", + ["spell1"] = "Power Word: Shield", + ["spell2"] = "Penance", + ["shift-spell1"] = "Shadow Mend", + ["shift-spell2"] = "Shadow Covenant", + ["ctrl-spell1"] = "Purify", + }, + }, + ["Gedran"] = { + AnchorX = 0, + AnchorY = -330, + Clickheal = { + ["type1"] = "spell", + --["type2"] = "macro", + ["spell1"] = "Soulstone", + --["macrotext2"] = "/tar [@mouseover]\n/click ExtraActionButton1\n/targetlasttarget", + }, + }, }, }; @@ -91,14 +132,8 @@ 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 = { + -- LEGION -- -- Antorus ["Psychic Assault"] = {bar=false}, ["Everburning Flames"] = {bar=false}, @@ -115,6 +150,9 @@ local settings = { ["Acidic Web"] = {bar=false}, ["Hungering Gloom"] = {bar=true}, ["Empowered Pulse Grenade"] = {bar=false}, + ["Caustic Slime"] = {bar=false}, + ["Cloying Shadows"] = {bar=false}, + ["Conflagration"] = {bar=false}, -- Trial of Valor ["Unholy Reckoning"] = {bar=false}, -- Nighthold @@ -122,16 +160,50 @@ local settings = { ["Soul Corrosion"] = {bar=false}, -- Proving Grounds for testing ["Aqua Bomb"] = {bar=false}, + [25771] = {bar=false}, -- Forbearance (Paladin) -- Mythic+ [209858] = {bar=false}, -- Necrotic Rot [240559] = {bar=false}, -- Grievous Wound - --["Grievous Wound"] = {bar=false}, -- Grievous Wound [240443] = {bar=false}, -- Burst + ["Dessication"] = {bar=false}, + ["Spit Gold"] = {bar=false}, + ["Severing Axe"] = {bar=false}, + ["Galvanize"] = {bar=false}, + ["Neurotoxin"] = {bar=false}, + [257908] = {bar=false}, -- Oiled Blade + [268391] = {bar=false}, -- Mental Assault + [272571] = {bar=false}, -- Choking Waters + [268008] = {bar=false}, -- Snake Charm + [260741] = {bar=false}, -- Jagged Nettles + [280605] = {bar=false}, -- Brain Freeze + [268797] = {bar=false}, -- Transmute to Goo + [265889] = {bar=false}, -- Torch Strike + [266209] = {bar=false}, -- Wicked Frenzy + [258323] = {bar=false}, -- Infected Wound + [262513] = {bar=false}, -- Azerite Heartseeker + -- BATTLE FOR AZEROTH -- + -- Uldir + ["Omega Vector"] = {bar={1, 0.5, 0.5, 0.5}, noicon=true}, + ["Gestate"] = {bar=false}, + ["Mutagenic Pathogen"] = {bar=false}, + ["Lingering Infection"] = {bar=false}, + ["Malodorous Miasma"] = {bar=false}, + ["Deadly Disease"] = {bar=false}, + ["Putrid Paroxysm"] = {bar=false}, + ["Plasma Discharge"] = {bar=false}, + ["Deathwish"] = {bar=false}, + [265360] = {bar=false}, -- Roiling Deceit + [265662] = {bar=false}, -- Corruptor's Pact + ["Void Lash"] = {bar=false}, + ["Enlarged Heart"] = {bar=false}, + ["Unleashed Shadow"] = {bar=false}, + ["Absorbed in Darkness"] = {bar=false}, + [264382] = {bar=false}, -- Eye Beam TODO + ["Imminent Ruin"] = {bar=false}, + ["Shadow Barrage"] = {bar=false}, }, }; 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");