libpredict: add support for target arg in cast hook

This commit is contained in:
shagu
2025-04-19 23:32:48 +02:00
parent 6dd1a389f5
commit bedd293ce7
+1 -1
View File
@@ -410,7 +410,7 @@ hooksecurefunc("CastSpellByName", function(effect, target)
spell_queue[1] = effect
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)
local scanner = libtipscan:GetScanner("prediction")