X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/d76a52e46fc339db35e6a068c0f1564db7b9cf46..befb5530a79adcd88cbeb364b7d97d4f906cc1f9:/OmaRF/Settings.lua diff --git a/OmaRF/Settings.lua b/OmaRF/Settings.lua index 2015a1a..932499c 100644 --- a/OmaRF/Settings.lua +++ b/OmaRF/Settings.lua @@ -1,34 +1,18 @@ -- 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"] = { - ["Vildan"] = { - Positions = {"TOPRIGHT", "BOTTOMLEFT"}, + ["Sylvanas"] = { + ["Vildana"] = { AnchorX = 0, AnchorY = -330, - WatchedAuras = { - [53563] = "TOPRIGHT", - [156910] = "TOPRIGHT", - [200025] = "TOPRIGHT", - [200654] = "BOTTOMLEFT", - }, Clickheal = { ["type1"] = "spell", ["type2"] = "spell", @@ -48,14 +32,33 @@ local chars = { ["alt-shift-spell2"] = "Beacon of Faith", }, }, - ["Gedren"] = { - Positions = {"TOPLEFT", "TOPRIGHT", "BOTTOMLEFT"}, + }, + ["Stormreaver"] = { + ["Vildan"] = { AnchorX = 0, AnchorY = -330, - WatchedAuras = { - ["Rejuvenation"] = "TOPRIGHT", - ["Lifebloom"] = "TOPLEFT", + Clickheal = { + ["type1"] = "spell", + ["type2"] = "spell", + ["shift-type1"] = "spell", + ["shift-type2"] = "spell", + ["ctrl-type1"] = "macro", + ["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-macro1"] = "Cleansing", + ["alt-spell2"] = "Lay on Hands", + ["alt-shift-spell1"] = "Beacon of Light", + ["alt-shift-spell2"] = "Beacon of Faith", }, + }, + ["Gedren"] = { + AnchorX = 0, + AnchorY = -330, Clickheal = { ["type1"] = "spell", ["type2"] = "spell", @@ -71,6 +74,30 @@ local chars = { ["alt-spell2"] = "Rebirth", }, }, + ["Gazden"] = { + AnchorX = 0, + AnchorY = -330, + Clickheal = { + ["type1"] = "spell", + ["type2"] = "spell", + ["shift-type1"] = "spell", + ["ctrl-type1"] = "spell", + ["spell1"] = "Healing Wave", + ["spell2"] = "Chain Heal", + ["shift-spell1"] = "Healing Surge", + ["ctrl-spell1"] = "Purify Spirit", + }, + }, + ["Gedran"] = { + AnchorX = 0, + AnchorY = -330, + Clickheal = { + ["type1"] = "spell", + --["type2"] = "macro", + ["spell1"] = "Soulstone", + --["macrotext2"] = "/tar [@mouseover]\n/click ExtraActionButton1\n/targetlasttarget", + }, + }, }, }; @@ -89,37 +116,59 @@ 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"] = true, - ["Everburning Flames"] = true, - ["Corrupt"] = true, - ["Sleep Canister"] = true, - ["Misery"] = true, - ["Necrotic Embrace"] = true, - ["Fulminating Pulse"] = true, - ["Chilled Blood"] = true, - ["Soulblight"] = true, - ["Soulburst"] = true, - ["Soulbomb"] = true, + ["Psychic Assault"] = {bar=false}, + ["Everburning Flames"] = {bar=false}, + ["Corrupt"] = {bar=false}, + ["Sleep Canister"] = {bar=false}, + ["Misery"] = {bar=true}, + ["Necrotic Embrace"] = {bar=false}, + ["Fulminating Pulse"] = {bar=false}, + ["Chilled Blood"] = {bar=false}, + ["Soulblight"] = {bar=false}, + ["Soulburst"] = {bar=false}, + ["Soulbomb"] = {bar=false}, + ["Shock Grenade"] = {bar=false}, + ["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 + ["Carrion Plague"] = {bar=false}, + ["Soul Corrosion"] = {bar=false}, -- Proving Grounds for testing - ["Aqua Bomb"] = true, + ["Aqua Bomb"] = {bar=false}, -- Mythic+ - [209858] = true, -- Necrotic Rot - [240559] = true, -- Grievous Wound - [240443] = true, -- Burst + [209858] = {bar=false}, -- Necrotic Rot + [240559] = {bar=false}, -- Grievous Wound + --["Grievous Wound"] = {bar=false}, -- Grievous Wound + [240443] = {bar=false}, -- Burst + -- 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}, }, }; 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");