Another fix for FindBuffDuration
This commit is contained in:
+1
-1
@@ -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
@@ -166,7 +166,7 @@ detailsFramework.FrameMixin = {
|
||||
|
||||
SetBackdropBorderColor = function(self, ...)
|
||||
self = getFrame(self)
|
||||
getFrame(self):SetBackdropBorderColor(...)
|
||||
self:SetBackdropBorderColor(...)
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user