mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 13:30:50 +00:00
libpredict: add support for target arg in cast hook
This commit is contained in:
+1
-1
@@ -410,7 +410,7 @@ hooksecurefunc("CastSpellByName", function(effect, target)
|
|||||||
|
|
||||||
spell_queue[1] = effect
|
spell_queue[1] = effect
|
||||||
spell_queue[2] = effect.. ( rank or "" )
|
spell_queue[2] = effect.. ( rank or "" )
|
||||||
spell_queue[3] = mouseover or default
|
spell_queue[3] = target and UnitName(target) or mouseover or default
|
||||||
end, true)
|
end, true)
|
||||||
|
|
||||||
local scanner = libtipscan:GetScanner("prediction")
|
local scanner = libtipscan:GetScanner("prediction")
|
||||||
|
|||||||
Reference in New Issue
Block a user