This commit is contained in:
TheGiddyLimit
2024-01-06 14:47:30 +00:00
parent 0a4253c9f0
commit e3bf75f42a
48 changed files with 14038 additions and 524 deletions

View File

@@ -14,7 +14,7 @@ class PageFilterCultsBoons extends PageFilter {
});
this._miscFilter = new Filter({
header: "Miscellaneous",
items: ["Reprinted"],
items: ["Legacy", "Reprinted"],
deselFn: (it) => it === "Reprinted",
isMiscFilter: true,
});
@@ -23,6 +23,7 @@ class PageFilterCultsBoons extends PageFilter {
static mutateForFilters (it) {
it._fType = it.__prop === "cult" ? "Cult" : it.type ? `Boon, ${it.type}` : "Boon";
it._fMisc = [];
if (SourceUtil.isLegacySourceWotc(it.source)) it._fMisc.push("Legacy");
if (this._isReprinted({reprintedAs: it.reprintedAs, tag: it.__prop, prop: it.__prop, page: UrlUtil.PG_CULTS_BOONS})) it._fMisc.push("Reprinted");
}