Added to-do notes as comments for when testing is possible. And by testing I mean playing WoW.
Scott King [07-03-15 - 17:51]
Added to-do notes as comments for when testing is possible. And by testing I mean playing WoW.
diff --git a/PortraitHealth.lua b/PortraitHealth.lua
index 6f153e0..47efa33 100755
--- a/PortraitHealth.lua
+++ b/PortraitHealth.lua
@@ -74,12 +74,14 @@ if msg == 'sound' then
end
end
+-- show commands
if msg == '' then
DEFAULT_CHAT_FRAME:AddMessage("/ph show to toggle health display.");
DEFAULT_CHAT_FRAME:AddMessage("/ph sound to toggle sound at execute phase.");
DEFAULT_CHAT_FRAME:AddMessage("/ph info to show current settings.");
end
+-- show current settings (note to self: add in display and sound settings)
if msg = 'info' then
DEFAULT_CHAT_FRAME:AddMessage("Addon version |cFFFFFF00" ..PH_v.. "|r");
DEFAULT_CHAT_FRAME:AddMessage("Execute at |cFFFF0000"..PH_p[class].."%|r \(|c"..x.colorStr..""..PlayerClassName.."|r\)");