Skip to content

Commit

Permalink
Adjusted some collectiblity logic for Appearances and CollectibleByCo…
Browse files Browse the repository at this point in the history
…st (fixes #720)
  • Loading branch information
ImUnicke committed Mar 11, 2021
1 parent f718150 commit b168aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AllTheThings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8029,7 +8029,7 @@ end
local appearanceFields = {
["key"] = function(t) return "s"; end,
["collectible"] = function(t)
return app.CollectibleTransmog and app.GroupFilter(t);
return app.CollectibleTransmog;
end,
["collected"] = function(t)
return GetDataSubMember("CollectedSources", rawget(t, "s"));
Expand Down Expand Up @@ -8796,7 +8796,7 @@ app.CollectibleAsCost = function(t)
if c[1] == "i" and c[2] == t.modItemID then
-- return true: this item is required as a 'cost' to something else collectible which has not been collected
-- print(t.modItemID,"Item Required as Cost for",ref.key,ref[ref.key]);
return true;
return app.RecursiveGroupRequirementsFilter(ref); -- can be obtained on this character
end
end
end
Expand Down

0 comments on commit b168aae

Please sign in to comment.