mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-19 19:10:49 +00:00
mouseover: fallback to target if existing
This commit is contained in:
@@ -11,6 +11,8 @@ pfUI:RegisterModule("mouseover", function ()
|
|||||||
unit = frame.label .. frame.id
|
unit = frame.label .. frame.id
|
||||||
elseif GetCVar("autoSelfCast") == "1" then
|
elseif GetCVar("autoSelfCast") == "1" then
|
||||||
unit = "player"
|
unit = "player"
|
||||||
|
elseif UnitExists("target") then
|
||||||
|
unit = "target"
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user