Compare commits

...

4 Commits

Author SHA1 Message Date
bb3316cad3 Fix 11.1.5 error, update TOC
Fixes #15
2025-04-26 16:36:46 -05:00
b2c12901f6 Update TOCs 2025-04-02 07:26:42 -05:00
3c7f556780 Update TOCs 2025-02-23 14:01:22 -06:00
33679a0e57 Update Breakables.toc (#14) 2025-02-23 12:51:46 -06:00
3 changed files with 35 additions and 6 deletions

View File

@ -1705,7 +1705,12 @@ function Breakables:IsInEquipmentSet(itemId)
end
function Breakables:GetItemIdFromLink(itemLink)
local _, foundItemId = strsplit(":", itemLink)
local _, num1, num2 = strsplit(":", itemLink)
local foundItemId = num1
-- support new item link format that adds a new : section in front
if not tonumber(foundItemId) then
foundItemId = num2
end
return tonumber(foundItemId)
end
@ -1730,7 +1735,7 @@ function Breakables:SortBreakables(foundBreakables)
local iId = self:GetItemIdFromLink(foundBreakables[i][IDX_LINK])
for j=i,#foundBreakables do
local jId = self:GetItemIdFromLink(foundBreakables[j][IDX_LINK])
if iId < jId then
if iId > jId then
local temp = foundBreakables[i]
foundBreakables[i] = foundBreakables[j]
foundBreakables[j] = temp

View File

@ -1,9 +1,9 @@
## Interface: 110007
## Interface-Retail: 110007
## Interface-Classic: 11505
## Interface: 110105
## Interface-Retail: 110105
## Interface-Classic: 11507
## Interface-BCC: 20504
## Interface-Wrath: 30403
## Interface-Cata: 40401
## Interface-Cata: 40402
## Author: Parnic
## Name: Breakables
## Title: Breakables |cff7fff7f-Ace3-|r
@ -20,6 +20,17 @@
## X-Curse-Project-ID: 16629
## X-WoWI-ID: 17929
## X-Wago-ID: rkGrlA6y
## Category-enUS: Professions
## Category-deDE: Berufe
## Category-esES: Profesiones
## Category-esMX: Profesiones
## Category-frFR: Métiers
## Category-itIT: Professioni
## Category-koKR: 전문 기술
## Category-ptBR: Profissões
## Category-ruRU: Профессии
## Category-zhCN: 专业
## Category-zhTW: 專業技能
#@no-lib-strip@
embeds.xml

View File

@ -1,3 +1,16 @@
v1.10.8:
- Support WoW 11.1.5 (fixes #15)
- Update TOC
v1.10.7:
- Update TOCs
v1.10.6:
- Update TOCs
v1.10.5:
- Update TOCs