Compare commits

..

5 commits

Author SHA1 Message Date
2546bafebc feat(OriginalWoW): fill Xarthos (BWL, CoA-custom) loot
Drops verified against db.exil.es: 12511 Xarthos' Bonerender (epic 1H
axe, ilvl 77) and 312512 Xarthos' Skullcrusher (Heroic Raid variant,
ilvl 81). Note: Bonerender is item 12511, not 312511 (that id is an
unrelated Mammoth Fur Cloak).
2026-06-10 02:17:54 +02:00
166339abb1 ci(release): sync release.yml from coa-template
hide_archive_links is only honored by Gitea on release edit, not create —
add the PATCH step after create/lookup so auto-generated source archive
links actually stay hidden (coa-template 90874c5).
2026-06-10 02:11:46 +02:00
6a2a437911 ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:51:22 +02:00
646c3f3341 fix(WishList): guard nil item[8] in legacy WishlistConvert (strsplit-on-nil crash)
All checks were successful
release / release (push) Successful in 4s
2026-05-29 19:58:52 +02:00
59c35f2ec3 fix(AtlasLoot): drop dangling MapData.lua + extraCraftingData.lua script refs (uncommitted files aborted XML load on CoA) 2026-05-29 19:29:14 +02:00
5 changed files with 19 additions and 7 deletions

View file

@ -37,10 +37,14 @@ jobs:
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \
"$API/repos/$REPO/releases" \
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \
| jq -r '.id')
fi
echo "release id: $RID"
# Gitea honors hide_archive_links only on edit, not create — PATCH it
# so the auto-generated Source Code (zip/tar.gz) links stay hidden.
curl -sf -X PATCH -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" \
"$API/repos/$REPO/releases/$RID" -d '{"hide_archive_links":true}' >/dev/null || true
# Upload every dist/*.zip. Per-asset failures don't fail the job —
# we want partial releases to still publish rather than block the
# whole pipeline on one big file.

View file

@ -8,7 +8,6 @@
<Script file="TextParsing.lua"/>
<Script file="Options.lua"/>
<Script file="LootButtons.lua"/>
<Script file="MapData.lua"/>
<Script file="Maps.lua"/>
<Script file="Launchers.lua"/>
<Script file="WishList.lua"/>

View file

@ -1148,8 +1148,10 @@ function AtlasLoot:WishlistConvert()
for _, wList in ipairs(AtlasLootWishList.Own) do
local itemList = {Icon = wList.Icon, Name = wList.Name}
for _, item in ipairs (wList) do
local dataID, dataSource, tableNum = strsplit("|", item[8])
tinsert(itemList, {item[1], itemID = item[2], desc = item[5], lootTable = {{dataID, "AtlasLoot_Data", tonumber(tableNum) or 1}, "Source"} } )
if item[8] then
local dataID, dataSource, tableNum = strsplit("|", item[8])
tinsert(itemList, {item[1], itemID = item[2], desc = item[5], lootTable = {{dataID, "AtlasLoot_Data", tonumber(tableNum) or 1}, "Source"} } )
end
end
tinsert(rebuiltList, itemList)
end
@ -1162,8 +1164,10 @@ function AtlasLoot:WishlistConvert()
for _, wList in ipairs(AtlasLootWishList.Shared) do
local itemList = {Icon = wList.Icon, Name = wList.Name}
for _, item in ipairs (wList) do
local dataID, dataSource, tableNum = strsplit("|", item[8])
tinsert(itemList, {item[1], itemID = item[2], desc = item[5], lootTable = {{dataID, "AtlasLoot_Data", tonumber(tableNum) or 1}, "Source"} } )
if item[8] then
local dataID, dataSource, tableNum = strsplit("|", item[8])
tinsert(itemList, {item[1], itemID = item[2], desc = item[5], lootTable = {{dataID, "AtlasLoot_Data", tonumber(tableNum) or 1}, "Source"} } )
end
end
tinsert(rebuiltList, itemList)
end

View file

@ -2,7 +2,6 @@
..\FrameXML\UI.xsd">
<Script file="Databases.lua"/>
<Script file="DatabaseFunctions.lua"/>
<Script file="extraCraftingData.lua"/>
<Script file="CraftingSource.lua"/>
<Script file="CraftingLevels.lua"/>
<Script file="npcs.lua"/>

View file

@ -1652,6 +1652,12 @@ AtlasLoot_Data["BlackwingLair"] = {
[21] = { itemID = 19366 }; --Master Dragonslayer's Orb
[23] = { itemID = 21138 }; --Red Scepter Shard
};
{
Name = "Xarthos";
NpcID = 12538;
[1] = { itemID = 12511 }; --Xarthos' Bonerender
[2] = { itemID = 312512 }; --Xarthos' Skullcrusher (Heroic)
};
{
Name = AL["Trash Mobs"];
[1] = { itemID = 19436 }; --Cloak of Draconic Might