From: Aleksi Blinnikka Date: Wed, 27 Nov 2019 19:34:31 +0000 (+0200) Subject: Use macros to support multiple specs, holy priest done X-Git-Url: https://www.aleksib.fi/git/wowui.git/commitdiff_plain/69593159c268075f7896d70a5acd040339537307?hp=570b5bae37dbaf3b569453269784e6b8c865a0af Use macros to support multiple specs, holy priest done --- diff --git a/kehys/paladin.lua b/kehys/paladin.lua index b47d0b8..0a24012 100644 --- a/kehys/paladin.lua +++ b/kehys/paladin.lua @@ -13,7 +13,7 @@ addon.Clickheal["PALADIN"] = { ["spell2"] = "Bestow Faith", ["shift-spell1"] = "Flash of Light", ["shift-spell2"] = "Light of the Martyr", - ["ctrl-macro1"] = "Cleansing", + ["ctrl-macrotext1"] = "/cast [@mouseover,help,nodead,spec:1] Cleanse; [@mouseover,help,nodead] Cleanse Toxins", ["alt-spell2"] = "Lay on Hands", ["alt-shift-spell1"] = "Beacon of Light", ["alt-shift-spell2"] = "Beacon of Faith", diff --git a/kehys/priest.lua b/kehys/priest.lua index 430d24b..913fefb 100644 --- a/kehys/priest.lua +++ b/kehys/priest.lua @@ -1,14 +1,14 @@ -- priest.lua local _, addon = ...; addon.Clickheal["PRIEST"] = { - ["type1"] = "spell", - ["type2"] = "spell", - ["shift-type1"] = "spell", - ["shift-type2"] = "spell", + ["type1"] = "macro", + ["type2"] = "macro", + ["shift-type1"] = "macro", + ["shift-type2"] = "macro", ["ctrl-type1"] = "spell", - ["spell1"] = "Power Word: Shield", - ["spell2"] = "Penance", - ["shift-spell1"] = "Shadow Mend", - ["shift-spell2"] = "Shadow Covenant", + ["macrotext1"] = "/cast [@mouseover,help,nodead,spec:2] Heal; [@mouseover,help,nodead] Power Word: Shield", + ["macrotext2"] = "/cast [@mouseover,help,nodead,spec:2] Holy Word: Serenity; [@mouseover,help,nodead] Penance", + ["shift-macrotext1"] = "/cast [@mouseover,help,nodead,spec:2] Flash Heal; [@mouseover,help,nodead] Shadow Mend", + ["shift-macrotext2"] = "/cast [@mouseover,help,nodead,spec:2] Prayer of Healing; [@mouseover,help,nodead] Shadow Covenant", ["ctrl-spell1"] = "Purify", };