From ff9d8b228903bc8263684195c6e01d3cc630be4f Mon Sep 17 00:00:00 2001 From: omicron Date: Sun, 5 Nov 2023 19:20:16 +0100 Subject: [PATCH] Add/change monk and priest keybinds and auras --- src/frames.lua | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/frames.lua b/src/frames.lua index aea1f90..b9336ea 100644 --- a/src/frames.lua +++ b/src/frames.lua @@ -27,6 +27,7 @@ local colors = { curse = { 0.7, 0.0, 0.7 }, red = { 1, 0, 0 }, blue = { .4, 0.4, 1 }, + light_blue = { .7, .7, 1 }, } local function RangeConfig() @@ -114,6 +115,50 @@ local function MouseConfig() { button = "wheel-up", mods = { alt = true }, kind = "spell", data = "Rapture" }, { button = "wheel-down", mods = { alt = true }, kind = "spell", data = "Power Word: Shield" }, + -- Shift + { button = "mouse2", mods = { shift = true }, kind = "togglemenu" }, + { + button = "wheel-up", + mods = { shift = true }, + kind = "macro", + data = "/cast [@UNIT,help]Levitate;\n/stopspelltarget" + }, + { + button = "wheel-down", + mods = { shift = true }, + kind = "macro", + data = "/cast [@UNIT,help]Leap of Faith;\n/stopspelltarget" + }, + } + elseif class == "MONK" then + return { + -- No modifier + { button = "mouse1", mods = {}, kind = "target" }, + { + button = "mouse2", + mods = {}, + kind = "macro", + data = ("/use [@UNIT,known:Reawaken,dead,help]Reawaken; " + .. "[@UNIT,dead,help]Resuscitate; " + .. "[@UNIT,help]Tiger's Lust"), + }, + { + button = "mouse3", + mods = {}, + kind = "macro", + data = "/use [@UNIT,dead,help]Resuscitate; [@UNIT,help]Detox" + }, + { button = "mouse4", mods = {}, kind = "spell", data = "Shadow Covenant" }, + { button = "wheel-up", mods = {}, kind = "macro", data = "/use [@UNIT,help]Vivify" }, + { button = "wheel-down", mods = {}, kind = "macro", data = "/use [@UNIT,help]Soothing Mist" }, + + -- alt + { button = "mouse1", mods = { alt = true }, kind = "spell", data = "Power Word: Life" }, + { button = "mouse2", mods = { alt = true }, kind = "spell", data = "Pain Suppression" }, + { button = "mouse3", mods = { alt = true }, kind = "spell", data = "Power Infusion" }, + { button = "wheel-up", mods = { alt = true }, kind = "spell", data = "Rapture" }, + { button = "wheel-down", mods = { alt = true }, kind = "spell", data = "Power Word: Shield" }, + -- Shift { button = "mouse2", mods = { shift = true }, kind = "togglemenu" }, { @@ -227,6 +272,20 @@ local function TriggerClassConfig() flashTime = 1.3, } }, + { + kind = "AuraTrigger", + spellId = 41635, + own = true, -- Prayer of Mending + indicator = { + kind = "SquareIndicator", + size = 17, + point = "TOPLEFT", + x = 41, + y = -3, + color = { 0.7, 0.9, 1 }, + showStacks = true, + } + }, { kind = "AuraTrigger", spellId = 139,