mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 09:30:13 -05:00
@ -1487,7 +1487,7 @@ function Breakables:FindBreakablesInSlot(bagId, slotId)
|
||||
local shouldHideThisItem = (self.settings.hideEqManagerItems and isInEquipmentSet) or (self.settings.hideTabards and isTabard)
|
||||
or equipSlot == nil or (equipSlot == "" and not IsArtifactRelicItem(itemLink))
|
||||
|
||||
if (not soulbound or self.settings.showSoulbound) and not shouldHideThisItem then
|
||||
if self:IsForcedDisenchantable(itemId) or ((not soulbound or self.settings.showSoulbound) and not shouldHideThisItem) then
|
||||
return {itemLink, itemCount, itemType, itemTexture, bagId, slotId, itemSubType, itemLevel, BREAKABLE_DE, soulbound, itemName, itemRarity}
|
||||
else
|
||||
return nil
|
||||
@ -1683,6 +1683,10 @@ function Breakables:SortBreakables(foundBreakables)
|
||||
end
|
||||
|
||||
function Breakables:BreakableIsDisenchantable(itemType, itemLevel, itemRarity, itemLink, itemId)
|
||||
if not itemId and itemLink then
|
||||
itemId = self:GetItemIdFromLink(itemLink)
|
||||
end
|
||||
|
||||
for i=1,#DisenchantTypes do
|
||||
if DisenchantTypes[i] == itemType or IsArtifactRelicItem(itemLink) then
|
||||
-- bfa+ no longer has skill level requirements for disenchanting
|
||||
@ -1794,6 +1798,10 @@ function Breakables:BreakableIsDisenchantable(itemType, itemLevel, itemRarity, i
|
||||
end
|
||||
end
|
||||
|
||||
return self:IsForcedDisenchantable(itemId)
|
||||
end
|
||||
|
||||
function Breakables:IsForcedDisenchantable(itemId)
|
||||
for i=1,#AdditionalDisenchantableItems do
|
||||
if AdditionalDisenchantableItems[i] == itemId then
|
||||
return true
|
||||
|
@ -1,10 +1,13 @@
|
||||
v1.9.10:
|
||||
|
||||
- Add Dragonflight Mystic disenchantable items. (Fixed)
|
||||
|
||||
v1.9.9
|
||||
|
||||
- Fix issue with not updating or showing items in some cases.
|
||||
|
||||
v1.9.8:
|
||||
|
||||
- Add Dragonflight Mystic disenchantable items.
|
||||
- Fix microstutter every time a modifier key, such as Alt, was pressed.
|
||||
- Improve performance when scanning for new breakables (such as when items enter/leave bags, a lockbox is clicked, etc.).
|
||||
|
||||
|
Reference in New Issue
Block a user