Another fix for FindBuffDuration

This commit is contained in:
Tercio Jose
2023-07-18 16:21:02 -03:00
parent 3eebecda83
commit bfbe4ca852
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -36,7 +36,8 @@
local predicateFunc = function(spellIdToFind, casterName, _, name, icon, applications, dispelName, duration, expirationTime, sourceUnit, isStealable, nameplateShowPersonal, spellId, canApplyAura, isBossAura, isFromPlayerOrPlayerPet, nameplateShowAll, timeMod, applications)
--print(name, texture, count, debuffType, duration, expirationTime, spellID)
if (spellIdToFind == spellId) then
--print("sourceUnit", sourceUnit)
if (spellIdToFind == spellId and UnitExists(sourceUnit)) then
if (casterName == GetUnitName(sourceUnit, true)) then
return true
end