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
+1 -1
View File
@@ -1,6 +1,6 @@
local dversion = 448
local dversion = 449
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary(major, minor)
+1 -1
View File
@@ -166,7 +166,7 @@ detailsFramework.FrameMixin = {
SetBackdropBorderColor = function(self, ...)
self = getFrame(self)
getFrame(self):SetBackdropBorderColor(...)
self:SetBackdropBorderColor(...)
end,
}
+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