-- Settings.lua local rawget = rawget; -- configurable settings -- character specific settings local charDefaults = { AnchorX = 0, AnchorY = -330, Clickheal = {}, }; local chars = { ["Stormreaver"] = { ["Vildan"] = { AnchorX = 0, AnchorY = -330, 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", ["shift-type1"] = "spell", ["shift-type2"] = "spell", ["ctrl-type1"] = "spell", ["alt-type2"] = "spell", ["spell1"] = "Healing Touch", ["spell2"] = "Lifebloom", ["shift-spell1"] = "Regrowth", ["shift-spell2"] = "Swiftmend", ["ctrl-spell1"] = "Nature's Cure", ["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", }, }, }, }; -- account-wide settings local settings = { Width = 80, Height = 40, IndSize = 14, BaseColor = {0, 0, 0}, BgColor = {0.7, 0.7, 0.7}, HealthColor = {0.3, 0.3, 0.3}, ShieldColor = {0, 0.7, 1}, ShieldhlColor = {0.5, 0.8, 1}, HealpredColor = {0.5, 0.6, 0.5}, HealabsorbColor = {0.1, 0.1, 0.1}, OverlayColorDispel = {1, 0.5, 0, 0.5}, OverlayColorCharm = {0.8, 0, 1, 0.5}, OverlayColorAlert = {1, 0, 0, 0.5}, MajorAuras = { -- Antorus ["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"] = {bar=false}, -- Mythic+ [209858] = {bar=false}, -- Necrotic Rot [240559] = {bar=false}, -- Grievous Wound --["Grievous Wound"] = {bar=false}, -- Grievous Wound [240443] = {bar=false}, -- Burst }, }; OmaRFSettings = settings; function OmaRFLoadChar() local name, realm = UnitFullName("player"); if chars[realm] and chars[realm][name] then settings.Character = chars[realm][name]; else settings.Character = charDefaults; end end