mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
prediction: check assist to identify valid unit
This commit is contained in:
@@ -70,7 +70,7 @@ pfUI:RegisterModule("mouseover", "vanilla", function ()
|
||||
func()
|
||||
else
|
||||
-- write temporary unit name
|
||||
pfUI.uf.mouseover.name = UnitName(unit)
|
||||
pfUI.uf.mouseover.unit = unit
|
||||
|
||||
-- cast without self cast cvar setting
|
||||
-- to allow spells to use spelltarget
|
||||
@@ -83,7 +83,7 @@ pfUI:RegisterModule("mouseover", "vanilla", function ()
|
||||
if SpellIsTargeting() then SpellStopTargeting() end
|
||||
|
||||
-- remove temporary mouseover unit
|
||||
pfUI.uf.mouseover.name = nil
|
||||
pfUI.uf.mouseover.unit = nil
|
||||
end
|
||||
|
||||
if restore_target then
|
||||
|
||||
Reference in New Issue
Block a user