mouseover: use selfcast if set in config

This commit is contained in:
shagu
2016-12-20 10:01:10 +01:00
parent db4be366b3
commit b40ba83717
+2
View File
@@ -9,6 +9,8 @@ pfUI:RegisterModule("mouseover", function ()
local frame = GetMouseFocus()
if frame.label and frame.id then
unit = frame.label .. frame.id
elseif GetCVar("autoSelfCast") == "1" then
unit = "player"
else
return
end