6959315 - Use macros to support multiple specs, holy priest done
authorAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 27 Nov 2019 19:34:31 +0000
committerAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 27 Nov 2019 19:34:31 +0000
kehys/paladin.lua
kehys/priest.lua

index b47d0b8..0a24012 100644 (file)
@@ -13,7 +13,7 @@ addon.Clickheal["PALADIN"] = {
     ["spell2"] = "Bestow Faith",
     ["shift-spell1"] = "Flash of Light",
     ["shift-spell2"] = "Light of the Martyr",
     ["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",
     ["alt-spell2"] = "Lay on Hands",
     ["alt-shift-spell1"] = "Beacon of Light",
     ["alt-shift-spell2"] = "Beacon of Faith",
index 430d24b..913fefb 100644 (file)
@@ -1,14 +1,14 @@
 -- priest.lua
 local _, addon = ...;
 addon.Clickheal["PRIEST"] = {
 -- 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",
     ["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",
 };
     ["ctrl-spell1"] = "Purify",
 };