@firestone-hs/reference-data 2.0.147 → 2.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/card-ids.d.ts +107 -4
- package/dist/card-ids.js.map +1 -1
- package/dist/enums/game-tags.d.ts +1 -0
- package/dist/enums/game-tags.js +1 -0
- package/dist/enums/game-tags.js.map +1 -1
- package/dist/enums/scenario-groups.js +1 -0
- package/dist/enums/scenario-groups.js.map +1 -1
- package/dist/enums/scenario-id.d.ts +2 -1
- package/dist/enums/scenario-id.js +1 -0
- package/dist/enums/scenario-id.js.map +1 -1
- package/dist/models/reference-cards/reference-card.d.ts +1 -0
- package/dist/models/reference-cards/reference-card.js.map +1 -1
- package/dist/models/reference-cards/reference-sets.d.ts +1 -1
- package/dist/models/reference-cards/reference-sets.js +14 -1
- package/dist/models/reference-cards/reference-sets.js.map +1 -1
- package/dist/models/reference-cards/related-cards-data.js +43 -0
- package/dist/models/reference-cards/related-cards-data.js.map +1 -1
- package/dist/services/bgs-utils.js +3 -1
- package/dist/services/bgs-utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference-card.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-card.ts"],"names":[],"mappings":"","sourcesContent":["import { GameTag } from '../../public-api';\r\nimport { RarityTYpe } from './rarity.type';\r\nimport { ReferencePlayerClass } from './reference-player-class';\r\n\r\nexport interface ReferenceCard {\r\n\treadonly id: string;\r\n\treadonly dbfId: number;\r\n\treadonly name: string;\r\n\treadonly set: string;\r\n\treadonly classes?: readonly string[];\r\n\treadonly touristFor?: readonly string[];\r\n\t/** @deprecated */\r\n\treadonly playerClass: ReferencePlayerClass;\r\n\t/** @deprecated */\r\n\treadonly cardClass: string;\r\n\treadonly cost?: number;\r\n\treadonly additionalCosts?: {\r\n\t\treadonly BLOODRUNE?: number;\r\n\t\treadonly FROSTRUNE?: number;\r\n\t\treadonly UNHOLYRUNE?: number;\r\n\t\treadonly DEATH?: number;\r\n\t};\r\n\treadonly attack?: number;\r\n\treadonly health?: number;\r\n\treadonly audio?: {\r\n\t\t[audioKey: string]: readonly string[];\r\n\t};\r\n\treadonly audio2?: ReferenceCardAudio;\r\n\treadonly text: string;\r\n\treadonly collectionText: string;\r\n\treadonly flavor: string;\r\n\treadonly type: string;\r\n\treadonly mechanics: string[];\r\n\treadonly referencedTags?: string[];\r\n\treadonly tags?: { [key in keyof typeof GameTag]?: number };\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly premium?: boolean;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly races?: readonly string[];\r\n\treadonly faction?: string;\r\n\treadonly techLevel?: number;\r\n\treadonly isBaconPool?: boolean;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\r\n\treadonly hideStats?: boolean;\r\n\treadonly enchantmentDbfId?: number;\r\n\r\n\treadonly isCoin?: boolean;\r\n\treadonly isTreant?: boolean;\r\n\r\n\treadonly battlegroundsHero?: boolean;\r\n\treadonly battlegroundsHeroSkin?: boolean;\r\n\treadonly battlegroundsHeroParentDbfId?: number;\r\n\treadonly battlegroundsPremiumDbfId?: number;\r\n\treadonly battlegroundsNormalDbfId?: number;\r\n\treadonly battlegroundsPutridicePool1?: boolean;\r\n\treadonly battlegroundsPutridicePool2?: boolean;\r\n\treadonly battlegroundsPutridiceSummonerExclusion?: boolean;\r\n\r\n\t// TODO: change this to use the enum later?\r\n\treadonly spellSchool?: string;\r\n\treadonly artist?: string;\r\n\treadonly questRewardDbfId?: number;\r\n\t/** @deprecated */\r\n\treadonly deckDuplicateDbfId?: number;\r\n\treadonly counterpartCards?: readonly number[];\r\n\treadonly relatedCardDbfIds?: readonly number[];\r\n\r\n\treadonly availableAsDiamond?: boolean;\r\n\treadonly availableAsSignature?: boolean;\r\n\r\n\treadonly mercenary: boolean;\r\n\treadonly mercenaryRole: string;\r\n\treadonly mercenaryAbility: boolean;\r\n\treadonly mercenaryPassiveAbility: boolean;\r\n\treadonly mercenaryEquipment: boolean;\r\n\treadonly mercenaryTreasure: boolean;\r\n\treadonly mercenaryAbilityCooldown: number;\r\n\r\n\treadonly locales?: readonly CardLocale[];\r\n\r\n\treadonly otherTags: readonly string[];\r\n}\r\n\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: string;\r\n\treadonly text?: string;\r\n\treadonly flavor?: string;\r\n}\r\n\r\nexport interface ReferenceCardAudio {\r\n\t// The main sounds, like Play, Death, etc.\r\n\t[audioKey: string]: {\r\n\t\t// Each sound can be a juxtaposition of several effects\r\n\t\t[effectKey: string]: {\r\n\t\t\t// These sounds are always played\r\n\t\t\treadonly mainSounds: readonly string[];\r\n\t\t\t// One of each of these is played, with a probability depending on its weight\r\n\t\t\treadonly randomSounds: readonly {\r\n\t\t\t\treadonly weight: number;\r\n\t\t\t\treadonly sound: string;\r\n\t\t\t}[];\r\n\t\t};\r\n\t};\r\n}\r\n"]}
|
|
1
|
+
{"version":3,"file":"reference-card.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-card.ts"],"names":[],"mappings":"","sourcesContent":["import { GameTag } from '../../public-api';\r\nimport { RarityTYpe } from './rarity.type';\r\nimport { ReferencePlayerClass } from './reference-player-class';\r\n\r\nexport interface ReferenceCard {\r\n\treadonly id: string;\r\n\treadonly dbfId: number;\r\n\treadonly name: string;\r\n\treadonly set: string;\r\n\treadonly classes?: readonly string[];\r\n\treadonly touristFor?: readonly string[];\r\n\t/** @deprecated */\r\n\treadonly playerClass: ReferencePlayerClass;\r\n\t/** @deprecated */\r\n\treadonly cardClass: string;\r\n\treadonly cost?: number;\r\n\treadonly additionalCosts?: {\r\n\t\treadonly BLOODRUNE?: number;\r\n\t\treadonly FROSTRUNE?: number;\r\n\t\treadonly UNHOLYRUNE?: number;\r\n\t\treadonly DEATH?: number;\r\n\t};\r\n\treadonly attack?: number;\r\n\treadonly health?: number;\r\n\treadonly audio?: {\r\n\t\t[audioKey: string]: readonly string[];\r\n\t};\r\n\treadonly audio2?: ReferenceCardAudio;\r\n\treadonly text: string;\r\n\treadonly collectionText: string;\r\n\treadonly flavor: string;\r\n\treadonly type: string;\r\n\treadonly mechanics: string[];\r\n\treadonly referencedTags?: string[];\r\n\treadonly tags?: { [key in keyof typeof GameTag]?: number };\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly premium?: boolean;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly races?: readonly string[];\r\n\treadonly faction?: string;\r\n\treadonly techLevel?: number;\r\n\treadonly isBaconPool?: boolean;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\r\n\treadonly hideStats?: boolean;\r\n\treadonly enchantmentDbfId?: number;\r\n\treadonly entityDbfIf?: number;\r\n\r\n\treadonly isCoin?: boolean;\r\n\treadonly isTreant?: boolean;\r\n\r\n\treadonly battlegroundsHero?: boolean;\r\n\treadonly battlegroundsHeroSkin?: boolean;\r\n\treadonly battlegroundsHeroParentDbfId?: number;\r\n\treadonly battlegroundsPremiumDbfId?: number;\r\n\treadonly battlegroundsNormalDbfId?: number;\r\n\treadonly battlegroundsPutridicePool1?: boolean;\r\n\treadonly battlegroundsPutridicePool2?: boolean;\r\n\treadonly battlegroundsPutridiceSummonerExclusion?: boolean;\r\n\r\n\t// TODO: change this to use the enum later?\r\n\treadonly spellSchool?: string;\r\n\treadonly artist?: string;\r\n\treadonly questRewardDbfId?: number;\r\n\t/** @deprecated */\r\n\treadonly deckDuplicateDbfId?: number;\r\n\treadonly counterpartCards?: readonly number[];\r\n\treadonly relatedCardDbfIds?: readonly number[];\r\n\r\n\treadonly availableAsDiamond?: boolean;\r\n\treadonly availableAsSignature?: boolean;\r\n\r\n\treadonly mercenary: boolean;\r\n\treadonly mercenaryRole: string;\r\n\treadonly mercenaryAbility: boolean;\r\n\treadonly mercenaryPassiveAbility: boolean;\r\n\treadonly mercenaryEquipment: boolean;\r\n\treadonly mercenaryTreasure: boolean;\r\n\treadonly mercenaryAbilityCooldown: number;\r\n\r\n\treadonly locales?: readonly CardLocale[];\r\n\r\n\treadonly otherTags: readonly string[];\r\n}\r\n\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: string;\r\n\treadonly text?: string;\r\n\treadonly flavor?: string;\r\n}\r\n\r\nexport interface ReferenceCardAudio {\r\n\t// The main sounds, like Play, Death, etc.\r\n\t[audioKey: string]: {\r\n\t\t// Each sound can be a juxtaposition of several effects\r\n\t\t[effectKey: string]: {\r\n\t\t\t// These sounds are always played\r\n\t\t\treadonly mainSounds: readonly string[];\r\n\t\t\t// One of each of these is played, with a probability depending on its weight\r\n\t\t\treadonly randomSounds: readonly {\r\n\t\t\t\treadonly weight: number;\r\n\t\t\t\treadonly sound: string;\r\n\t\t\t}[];\r\n\t\t};\r\n\t};\r\n}\r\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GameFormat, GameType } from '../../public-api';
|
|
2
|
-
export declare type SetId = 'lost_city_of_ungoro' | 'embers_of_the_world_tree' | 'into_the_emerald_dream' | 'gift' | 'heroes_of_starcraft' | 'great_dark_beyond' | 'traveling_travel_agency' | 'perils_in_paradise' | 'boom_inventions' | 'whizbangs_workshop' | 'deepholm' | 'wild_west' | 'ulduar' | 'caverns_of_time' | 'titans' | 'audiopocalypse' | 'battle_of_the_bands' | 'return_to_naxxramas' | 'path_of_arthas' | 'return_of_the_lich_king' | 'maw_and_disorder' | 'revendreth' | 'throne_of_tides' | 'the_sunken_city' | 'onyxias_lair' | 'alterac_valley' | 'deadmines' | 'stormwind' | 'wailing_caverns' | 'the_barrens' | 'darkmoon_races' | 'darkmoon_faire' | 'scholomance' | 'black_temple' | 'demon_hunter_initiate' | 'yod' | 'dragons' | 'uldum' | 'dalaran' | 'troll' | 'boomsday' | 'gilneas' | 'lootapalooza' | 'icecrown' | 'ungoro' | 'gangs' | 'kara' | 'og' | 'loe' | 'tgt' | 'brm' | 'gvg' | 'naxx' | 'core' | 'legacy' | 'vanilla';
|
|
2
|
+
export declare type SetId = 'day_of_rebirth' | 'lost_city_of_ungoro' | 'embers_of_the_world_tree' | 'into_the_emerald_dream' | 'gift' | 'heroes_of_starcraft' | 'great_dark_beyond' | 'traveling_travel_agency' | 'perils_in_paradise' | 'boom_inventions' | 'whizbangs_workshop' | 'deepholm' | 'wild_west' | 'ulduar' | 'caverns_of_time' | 'titans' | 'audiopocalypse' | 'battle_of_the_bands' | 'return_to_naxxramas' | 'path_of_arthas' | 'return_of_the_lich_king' | 'maw_and_disorder' | 'revendreth' | 'throne_of_tides' | 'the_sunken_city' | 'onyxias_lair' | 'alterac_valley' | 'deadmines' | 'stormwind' | 'wailing_caverns' | 'the_barrens' | 'darkmoon_races' | 'darkmoon_faire' | 'scholomance' | 'black_temple' | 'demon_hunter_initiate' | 'yod' | 'dragons' | 'uldum' | 'dalaran' | 'troll' | 'boomsday' | 'gilneas' | 'lootapalooza' | 'icecrown' | 'ungoro' | 'gangs' | 'kara' | 'og' | 'loe' | 'tgt' | 'brm' | 'gvg' | 'naxx' | 'core' | 'legacy' | 'vanilla';
|
|
3
3
|
export interface ReferenceSet {
|
|
4
4
|
readonly id: SetId;
|
|
5
5
|
readonly name: string;
|
|
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isValidSet = exports.vanillaSets = exports.duelsSets = exports.arenaSets = exports.twistSets = exports.standardSets = exports.wildSets = exports.sets = void 0;
|
|
4
4
|
const public_api_1 = require("../../public-api");
|
|
5
5
|
exports.sets = [
|
|
6
|
+
{
|
|
7
|
+
id: 'day_of_rebirth',
|
|
8
|
+
name: `Day of Rebirth`,
|
|
9
|
+
launchDate: new Date('2025-09-02'),
|
|
10
|
+
miniSetFor: 'lost_city_of_ungoro',
|
|
11
|
+
},
|
|
6
12
|
{
|
|
7
13
|
id: 'lost_city_of_ungoro',
|
|
8
14
|
name: `The Lost City of Un'Goro`,
|
|
@@ -325,7 +331,14 @@ exports.twistSets = twistBaseSets
|
|
|
325
331
|
.flatMap((setId) => { var _a; return [setId, (_a = exports.sets.find((s) => s.miniSetFor === setId)) === null || _a === void 0 ? void 0 : _a.id]; })
|
|
326
332
|
.filter((setId) => setId)
|
|
327
333
|
.map((setId) => setId);
|
|
328
|
-
const arenaBaseSets = [
|
|
334
|
+
const arenaBaseSets = [
|
|
335
|
+
'lost_city_of_ungoro',
|
|
336
|
+
'perils_in_paradise',
|
|
337
|
+
'battle_of_the_bands',
|
|
338
|
+
'return_of_the_lich_king',
|
|
339
|
+
'revendreth',
|
|
340
|
+
'core',
|
|
341
|
+
];
|
|
329
342
|
exports.arenaSets = arenaBaseSets
|
|
330
343
|
.flatMap((setId) => { var _a; return [setId, (_a = exports.sets.find((s) => s.miniSetFor === setId)) === null || _a === void 0 ? void 0 : _a.id]; })
|
|
331
344
|
.filter((setId) => setId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference-sets.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-sets.ts"],"names":[],"mappings":";;;AAAA,iDAAwD;AAoE3C,QAAA,IAAI,GAA4B;IAC5C;QACC,EAAE,EAAE,qBAAqB;QACzB,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;KAClC;IACD;QACC,EAAE,EAAE,0BAA0B;QAC9B,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,UAAU,EAAE,wBAAwB;KACpC;IACD;QACC,EAAE,EAAE,wBAAwB;QAC5B,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;KAClC;IACD;QACC,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,OAAO,EAAE,IAAI;KACb;IACD;QACC,EAAE,EAAE,qBAAqB;QACzB,IAAI,E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;AACjC,QAAA,WAAW,GAAqB,CAAC,SAAS,CAAC,CAAC;AAElD,MAAM,UAAU,GAAG,CAAC,GAAU,EAAE,MAAkB,EAAE,QAAkB,EAAW,EAAE;IACzF,QAAQ,QAAQ,EAAE;QACjB,KAAK,qBAAQ,CAAC,QAAQ,CAAC;QACvB,KAAK,qBAAQ,CAAC,oBAAoB;YACjC,OAAO,iBAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;KAChC;IACD,QAAQ,MAAM,EAAE;QACf,KAAK,uBAAU,CAAC,WAAW;YAC1B,OAAO,oBAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnC,KAAK,uBAAU,CAAC,QAAQ;YACvB,OAAO,iBAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAChC,KAAK,uBAAU,CAAC,OAAO,CAAC;QACxB;YACC,OAAO,gBAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;KAC/B;AACF,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB","sourcesContent":["import { GameFormat, GameType } from '../../public-api';\r\n\r\nexport type SetId =\r\n\t| 'lost_city_of_ungoro'\r\n\t| 'embers_of_the_world_tree'\r\n\t| 'into_the_emerald_dream'\r\n\t| 'gift'\r\n\t| 'heroes_of_starcraft'\r\n\t| 'great_dark_beyond'\r\n\t| 'traveling_travel_agency'\r\n\t| 'perils_in_paradise'\r\n\t| 'boom_inventions'\r\n\t| 'whizbangs_workshop'\r\n\t| 'deepholm'\r\n\t| 'wild_west'\r\n\t| 'ulduar'\r\n\t| 'caverns_of_time'\r\n\t| 'titans'\r\n\t| 'audiopocalypse'\r\n\t| 'battle_of_the_bands'\r\n\t| 'return_to_naxxramas'\r\n\t| 'path_of_arthas'\r\n\t| 'return_of_the_lich_king'\r\n\t| 'maw_and_disorder'\r\n\t| 'revendreth'\r\n\t| 'throne_of_tides'\r\n\t| 'the_sunken_city'\r\n\t| 'onyxias_lair'\r\n\t| 'alterac_valley'\r\n\t| 'deadmines'\r\n\t| 'stormwind'\r\n\t| 'wailing_caverns'\r\n\t| 'the_barrens'\r\n\t| 'darkmoon_races'\r\n\t| 'darkmoon_faire'\r\n\t| 'scholomance'\r\n\t| 'black_temple'\r\n\t| 'demon_hunter_initiate'\r\n\t| 'yod'\r\n\t| 'dragons'\r\n\t| 'uldum'\r\n\t| 'dalaran'\r\n\t| 'troll'\r\n\t| 'boomsday'\r\n\t| 'gilneas'\r\n\t| 'lootapalooza'\r\n\t| 'icecrown'\r\n\t| 'ungoro'\r\n\t| 'gangs'\r\n\t| 'kara'\r\n\t| 'og'\r\n\t| 'loe'\r\n\t| 'tgt'\r\n\t| 'brm'\r\n\t| 'gvg'\r\n\t| 'naxx'\r\n\t| 'core'\r\n\t| 'legacy'\r\n\t| 'vanilla';\r\n\r\nexport interface ReferenceSet {\r\n\treadonly id: SetId;\r\n\treadonly name: string;\r\n\treadonly launchDate: Date;\r\n\treadonly techSet?: boolean;\r\n\treadonly miniSetFor?: SetId;\r\n}\r\n\r\nexport const sets: readonly ReferenceSet[] = [\r\n\t{\r\n\t\tid: 'lost_city_of_ungoro',\r\n\t\tname: `The Lost City of Un'Goro`,\r\n\t\tlaunchDate: new Date('2025-07-08'),\r\n\t},\r\n\t{\r\n\t\tid: 'embers_of_the_world_tree',\r\n\t\tname: `Embers of the World Tree`,\r\n\t\tlaunchDate: new Date('2025-05-13'),\r\n\t\tminiSetFor: 'into_the_emerald_dream',\r\n\t},\r\n\t{\r\n\t\tid: 'into_the_emerald_dream',\r\n\t\tname: `Into the Emerald Dream`,\r\n\t\tlaunchDate: new Date('2025-03-18'),\r\n\t},\r\n\t{\r\n\t\tid: 'gift',\r\n\t\tname: `Gifts`,\r\n\t\tlaunchDate: new Date('2025-03-17'),\r\n\t\ttechSet: true,\r\n\t},\r\n\t{\r\n\t\tid: 'heroes_of_starcraft',\r\n\t\tname: `Heroes of Starcraft`,\r\n\t\tlaunchDate: new Date('2025-01-21'),\r\n\t\tminiSetFor: 'great_dark_beyond',\r\n\t},\r\n\t{\r\n\t\tid: 'great_dark_beyond',\r\n\t\tname: `The Great Dark Beyond`,\r\n\t\tlaunchDate: new Date('2024-11-05'),\r\n\t},\r\n\t{\r\n\t\tid: 'traveling_travel_agency',\r\n\t\tname: `The Traveling Travel Agency`,\r\n\t\tlaunchDate: new Date('2024-09-10'),\r\n\t\tminiSetFor: 'perils_in_paradise',\r\n\t},\r\n\t{\r\n\t\tid: 'perils_in_paradise',\r\n\t\tname: `Perils in Paradise`,\r\n\t\tlaunchDate: new Date('2024-06-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'boom_inventions',\r\n\t\tname: `Dr. Boom’s Incredible Inventions`,\r\n\t\tlaunchDate: new Date('2024-05-14'),\r\n\t\tminiSetFor: 'whizbangs_workshop',\r\n\t},\r\n\t{\r\n\t\tid: 'whizbangs_workshop',\r\n\t\tname: `Whizbang's Workshop`,\r\n\t\tlaunchDate: new Date('2024-02-13'),\r\n\t},\r\n\t{\r\n\t\tid: 'deepholm',\r\n\t\tname: `Delve into Deepholm`,\r\n\t\tlaunchDate: new Date('2024-01-18'),\r\n\t\tminiSetFor: 'wild_west',\r\n\t},\r\n\t{\r\n\t\tid: 'wild_west',\r\n\t\tname: `Showdown in the Badlands`,\r\n\t\tlaunchDate: new Date('2023-11-14'),\r\n\t},\r\n\t{\r\n\t\tid: 'ulduar',\r\n\t\tname: `Fall of Ulduar`,\r\n\t\tlaunchDate: new Date('2023-09-19'),\r\n\t\tminiSetFor: 'titans',\r\n\t},\r\n\t{\r\n\t\tid: 'caverns_of_time',\r\n\t\tname: `Caverns of Time`,\r\n\t\tlaunchDate: new Date('2023-08-31'),\r\n\t},\r\n\t{\r\n\t\tid: 'titans',\r\n\t\tname: `TITANS`,\r\n\t\tlaunchDate: new Date('2023-06-27'),\r\n\t},\r\n\t{\r\n\t\tid: 'audiopocalypse',\r\n\t\tname: `Audiopocalypse`,\r\n\t\tlaunchDate: new Date('2023-05-31'),\r\n\t\tminiSetFor: 'battle_of_the_bands',\r\n\t},\r\n\t{\r\n\t\tid: 'battle_of_the_bands',\r\n\t\tname: `Battle of the Bands`,\r\n\t\tlaunchDate: new Date('2023-03-15'),\r\n\t},\r\n\t{\r\n\t\tid: 'return_to_naxxramas',\r\n\t\tname: `Return to Naxxramas`,\r\n\t\tlaunchDate: new Date('2023-02-14'),\r\n\t\tminiSetFor: 'return_of_the_lich_king',\r\n\t},\r\n\t{\r\n\t\tid: 'path_of_arthas',\r\n\t\tname: `Path of Arthas`,\r\n\t\tlaunchDate: new Date('2022-11-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'return_of_the_lich_king',\r\n\t\tname: `March of the Lich King`,\r\n\t\tlaunchDate: new Date('2022-11-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'maw_and_disorder',\r\n\t\tname: `Maw and Disorder`,\r\n\t\tlaunchDate: new Date('2022-09-27'),\r\n\t\tminiSetFor: 'revendreth',\r\n\t},\r\n\t{\r\n\t\tid: 'revendreth',\r\n\t\tname: `Murder at Castle Nathria`,\r\n\t\tlaunchDate: new Date('2022-08-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'throne_of_tides',\r\n\t\tname: `Throne of the Tides`,\r\n\t\tlaunchDate: new Date('2022-06-01'),\r\n\t\tminiSetFor: 'the_sunken_city',\r\n\t},\r\n\t{\r\n\t\tid: 'the_sunken_city',\r\n\t\tname: `The Sunken City`,\r\n\t\tlaunchDate: new Date('2022-03-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'onyxias_lair',\r\n\t\tname: `Onyxia's Lair`,\r\n\t\tlaunchDate: new Date('2022-02-15'),\r\n\t\tminiSetFor: 'alterac_valley',\r\n\t},\r\n\t{\r\n\t\tid: 'alterac_valley',\r\n\t\tname: 'Fractured in Alterac Valley',\r\n\t\tlaunchDate: new Date('2021-12-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'deadmines',\r\n\t\tname: 'Deadmines',\r\n\t\tlaunchDate: new Date('2021-11-02'),\r\n\t\tminiSetFor: 'stormwind',\r\n\t},\r\n\t{\r\n\t\tid: 'stormwind',\r\n\t\tname: 'United in Stormwind',\r\n\t\tlaunchDate: new Date('2021-07-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'wailing_caverns',\r\n\t\tname: 'Wailing Caverns',\r\n\t\tlaunchDate: new Date('2021-06-03'),\r\n\t\tminiSetFor: 'the_barrens',\r\n\t},\r\n\t{\r\n\t\tid: 'the_barrens',\r\n\t\tname: 'Forged in the Barrens',\r\n\t\tlaunchDate: new Date('2021-03-15'),\r\n\t},\r\n\t{\r\n\t\tid: 'darkmoon_races',\r\n\t\tname: 'Darkmoon Races',\r\n\t\tlaunchDate: new Date('2021-01-21'),\r\n\t\tminiSetFor: 'darkmoon_faire',\r\n\t},\r\n\t{\r\n\t\tid: 'darkmoon_faire',\r\n\t\tname: 'Darkmoon Faire',\r\n\t\tlaunchDate: new Date('2020-11-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'scholomance',\r\n\t\tname: 'Scholomance Academy',\r\n\t\tlaunchDate: new Date('2020-08-06'),\r\n\t},\r\n\t{\r\n\t\tid: 'black_temple',\r\n\t\tname: 'Ashes of Outland',\r\n\t\tlaunchDate: new Date('2020-04-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'demon_hunter_initiate',\r\n\t\tname: 'Demon Hunter Initiate',\r\n\t\tlaunchDate: new Date('2020-04-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'yod',\r\n\t\tname: \"Galakrond's Awakening\",\r\n\t\tlaunchDate: new Date('2020-01-21'),\r\n\t},\r\n\t{\r\n\t\tid: 'dragons',\r\n\t\tname: 'Descent of Dragons',\r\n\t\tlaunchDate: new Date('2019-12-10'),\r\n\t},\r\n\t{\r\n\t\tid: 'uldum',\r\n\t\tname: 'Saviors of Uldum',\r\n\t\tlaunchDate: new Date('2019-08-06'),\r\n\t},\r\n\t{\r\n\t\tid: 'dalaran',\r\n\t\tname: 'Rise of Shadows',\r\n\t\tlaunchDate: new Date('2019-04-09'),\r\n\t},\r\n\t{\r\n\t\tid: 'troll',\r\n\t\tname: \"Rastakhan's Rumble\",\r\n\t\tlaunchDate: new Date('2018-12-04'),\r\n\t},\r\n\t{\r\n\t\tid: 'boomsday',\r\n\t\tname: 'The Boomsday Project',\r\n\t\tlaunchDate: new Date('2018-08-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'gilneas',\r\n\t\tname: 'The Witchwood',\r\n\t\tlaunchDate: new Date('2018-04-12'),\r\n\t},\r\n\t{\r\n\t\tid: 'lootapalooza',\r\n\t\tname: 'Kobolds and Catacombs',\r\n\t\tlaunchDate: new Date('2017-12-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'icecrown',\r\n\t\tname: 'Knights of the Frozen Throne',\r\n\t\tlaunchDate: new Date('2017-08-10'),\r\n\t},\r\n\t{\r\n\t\tid: 'ungoro',\r\n\t\tname: \"Journey to Un'Goro\",\r\n\t\tlaunchDate: new Date('2017-04-06'),\r\n\t},\r\n\t// {\r\n\t// \tid: 'hof',\r\n\t// \tname: 'Hall of Fame',\r\n\t// \tlaunchDate: new Date('2017-04-04'),\r\n\t// },\r\n\t{\r\n\t\tid: 'gangs',\r\n\t\tname: 'Mean Streets of Gadgetzan',\r\n\t\tlaunchDate: new Date('2016-12-1'),\r\n\t},\r\n\t{\r\n\t\tid: 'kara',\r\n\t\tname: 'One Night in Karazhan',\r\n\t\tlaunchDate: new Date('2016-08-11'),\r\n\t},\r\n\t{\r\n\t\tid: 'og',\r\n\t\tname: 'Whispers of the Old Gods',\r\n\t\tlaunchDate: new Date('2016-04-26'),\r\n\t},\r\n\t{\r\n\t\tid: 'loe',\r\n\t\tname: 'League of Explorers',\r\n\t\tlaunchDate: new Date('2015-11-12'),\r\n\t},\r\n\t{\r\n\t\tid: 'tgt',\r\n\t\tname: 'The Grand Tournament',\r\n\t\tlaunchDate: new Date('2015-08-24'),\r\n\t},\r\n\t{\r\n\t\tid: 'brm',\r\n\t\tname: 'Blackrock Mountain',\r\n\t\tlaunchDate: new Date('2015-04-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'gvg',\r\n\t\tname: 'Goblins vs Gnomes',\r\n\t\tlaunchDate: new Date('2014-12-08'),\r\n\t},\r\n\t{\r\n\t\tid: 'naxx',\r\n\t\tname: 'Naxxramas',\r\n\t\tlaunchDate: new Date('2014-07-22'),\r\n\t},\r\n\t{\r\n\t\tid: 'core',\r\n\t\tname: 'Core',\r\n\t\tlaunchDate: new Date('2021-03-25'),\r\n\t},\r\n\t// {\r\n\t// \tid: 'expert1',\r\n\t// \tname: 'Expert',\r\n\t// \tlaunchDate: new Date('2014-03-11'),\r\n\t// },\r\n\t// {\r\n\t// \tid: 'basic',\r\n\t// \tname: 'Basic',\r\n\t// \tlaunchDate: new Date('2014-03-11'),\r\n\t// },\r\n\t{\r\n\t\tid: 'legacy',\r\n\t\tname: 'Legacy',\r\n\t\tlaunchDate: new Date('2021-03-30'),\r\n\t},\r\n] as const;\r\n\r\nexport const wildSets: readonly SetId[] = sets.map((s) => s.id);\r\nconst standardBaseSets: readonly SetId[] = [\r\n\t'core',\r\n\t'gift',\r\n\t'whizbangs_workshop',\r\n\t'perils_in_paradise',\r\n\t'great_dark_beyond',\r\n\t'into_the_emerald_dream',\r\n\t'lost_city_of_ungoro',\r\n];\r\nexport const standardSets: readonly SetId[] = standardBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId)\r\n\t.map((setId) => setId as SetId);\r\nconst twistBaseSets: readonly SetId[] = [\r\n\t'legacy',\r\n\t'return_to_naxxramas',\r\n\t'gvg',\r\n\t'brm',\r\n\t'tgt',\r\n\t'loe',\r\n\t'og',\r\n\t'kara',\r\n\t'gangs',\r\n\t'ungoro',\r\n\t'caverns_of_time',\r\n];\r\nexport const twistSets: readonly SetId[] = twistBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId)\r\n\t.map((setId) => setId as SetId);\r\n// https://hearthstone.fandom.com/wiki/Arena#Arena_Rotation\r\nconst arenaBaseSets: readonly SetId[] = [\r\n\t// 'into_the_emerald_dream',\r\n\t// 'wild_west',\r\n\t// 'the_sunken_city',\r\n\t// 'the_barrens',\r\n\t// 'scholomance',\r\n\t// 'core',\r\n\t// 'gift',\r\n];\r\nexport const arenaSets: readonly SetId[] = arenaBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId);\r\n\r\nexport const duelsSets: readonly SetId[] = [];\r\nexport const vanillaSets: readonly SetId[] = ['vanilla'];\r\n\r\nexport const isValidSet = (set: SetId, format: GameFormat, gameType: GameType): boolean => {\r\n\tswitch (gameType) {\r\n\t\tcase GameType.GT_ARENA:\r\n\t\tcase GameType.GT_UNDERGROUND_ARENA:\r\n\t\t\treturn arenaSets.includes(set);\r\n\t}\r\n\tswitch (format) {\r\n\t\tcase GameFormat.FT_STANDARD:\r\n\t\t\treturn standardSets.includes(set);\r\n\t\tcase GameFormat.FT_TWIST:\r\n\t\t\treturn twistSets.includes(set);\r\n\t\tcase GameFormat.FT_WILD:\r\n\t\tdefault:\r\n\t\t\treturn wildSets.includes(set);\r\n\t}\r\n};\r\n"]}
|
|
1
|
+
{"version":3,"file":"reference-sets.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-sets.ts"],"names":[],"mappings":";;;AAAA,iDAAwD;AAqE3C,QAAA,IAAI,GAA4B;IAC5C;QACC,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,UAAU,EAAE,qBAAqB;KACjC;IACD;QACC,EAAE,EAAE,qBAAqB;QACzB,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;KAClC;IACD;QACC,EAAE,EAAE,0BAA0B;QAC9B,IAAI,EAAE,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,MAAM,aAAa,GAAqB;IACvC,qBAAqB;IACrB,oBAAoB;IACpB,qBAAqB;IACrB,yBAAyB;IACzB,YAAY;IACZ,MAAM;CACN,CAAC;AACW,QAAA,SAAS,GAAqB,aAAa;KACtD,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,WAAC,OAAA,CAAC,KAAK,EAAE,MAAA,YAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,KAAK,CAAC,0CAAE,EAAE,CAAC,CAAA,EAAA,CAAC;KACzE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;AAEd,QAAA,SAAS,GAAqB,EAAE,CAAC;AACjC,QAAA,WAAW,GAAqB,CAAC,SAAS,CAAC,CAAC;AAElD,MAAM,UAAU,GAAG,CAAC,GAAU,EAAE,MAAkB,EAAE,QAAkB,EAAW,EAAE;IACzF,QAAQ,QAAQ,EAAE;QACjB,KAAK,qBAAQ,CAAC,QAAQ,CAAC;QACvB,KAAK,qBAAQ,CAAC,oBAAoB;YACjC,OAAO,iBAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;KAChC;IACD,QAAQ,MAAM,EAAE;QACf,KAAK,uBAAU,CAAC,WAAW;YAC1B,OAAO,oBAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnC,KAAK,uBAAU,CAAC,QAAQ;YACvB,OAAO,iBAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAChC,KAAK,uBAAU,CAAC,OAAO,CAAC;QACxB;YACC,OAAO,gBAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;KAC/B;AACF,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB","sourcesContent":["import { GameFormat, GameType } from '../../public-api';\r\n\r\nexport type SetId =\r\n\t| 'day_of_rebirth'\r\n\t| 'lost_city_of_ungoro'\r\n\t| 'embers_of_the_world_tree'\r\n\t| 'into_the_emerald_dream'\r\n\t| 'gift'\r\n\t| 'heroes_of_starcraft'\r\n\t| 'great_dark_beyond'\r\n\t| 'traveling_travel_agency'\r\n\t| 'perils_in_paradise'\r\n\t| 'boom_inventions'\r\n\t| 'whizbangs_workshop'\r\n\t| 'deepholm'\r\n\t| 'wild_west'\r\n\t| 'ulduar'\r\n\t| 'caverns_of_time'\r\n\t| 'titans'\r\n\t| 'audiopocalypse'\r\n\t| 'battle_of_the_bands'\r\n\t| 'return_to_naxxramas'\r\n\t| 'path_of_arthas'\r\n\t| 'return_of_the_lich_king'\r\n\t| 'maw_and_disorder'\r\n\t| 'revendreth'\r\n\t| 'throne_of_tides'\r\n\t| 'the_sunken_city'\r\n\t| 'onyxias_lair'\r\n\t| 'alterac_valley'\r\n\t| 'deadmines'\r\n\t| 'stormwind'\r\n\t| 'wailing_caverns'\r\n\t| 'the_barrens'\r\n\t| 'darkmoon_races'\r\n\t| 'darkmoon_faire'\r\n\t| 'scholomance'\r\n\t| 'black_temple'\r\n\t| 'demon_hunter_initiate'\r\n\t| 'yod'\r\n\t| 'dragons'\r\n\t| 'uldum'\r\n\t| 'dalaran'\r\n\t| 'troll'\r\n\t| 'boomsday'\r\n\t| 'gilneas'\r\n\t| 'lootapalooza'\r\n\t| 'icecrown'\r\n\t| 'ungoro'\r\n\t| 'gangs'\r\n\t| 'kara'\r\n\t| 'og'\r\n\t| 'loe'\r\n\t| 'tgt'\r\n\t| 'brm'\r\n\t| 'gvg'\r\n\t| 'naxx'\r\n\t| 'core'\r\n\t| 'legacy'\r\n\t| 'vanilla';\r\n\r\nexport interface ReferenceSet {\r\n\treadonly id: SetId;\r\n\treadonly name: string;\r\n\treadonly launchDate: Date;\r\n\treadonly techSet?: boolean;\r\n\treadonly miniSetFor?: SetId;\r\n}\r\n\r\nexport const sets: readonly ReferenceSet[] = [\r\n\t{\r\n\t\tid: 'day_of_rebirth',\r\n\t\tname: `Day of Rebirth`,\r\n\t\tlaunchDate: new Date('2025-09-02'),\r\n\t\tminiSetFor: 'lost_city_of_ungoro',\r\n\t},\r\n\t{\r\n\t\tid: 'lost_city_of_ungoro',\r\n\t\tname: `The Lost City of Un'Goro`,\r\n\t\tlaunchDate: new Date('2025-07-08'),\r\n\t},\r\n\t{\r\n\t\tid: 'embers_of_the_world_tree',\r\n\t\tname: `Embers of the World Tree`,\r\n\t\tlaunchDate: new Date('2025-05-13'),\r\n\t\tminiSetFor: 'into_the_emerald_dream',\r\n\t},\r\n\t{\r\n\t\tid: 'into_the_emerald_dream',\r\n\t\tname: `Into the Emerald Dream`,\r\n\t\tlaunchDate: new Date('2025-03-18'),\r\n\t},\r\n\t{\r\n\t\tid: 'gift',\r\n\t\tname: `Gifts`,\r\n\t\tlaunchDate: new Date('2025-03-17'),\r\n\t\ttechSet: true,\r\n\t},\r\n\t{\r\n\t\tid: 'heroes_of_starcraft',\r\n\t\tname: `Heroes of Starcraft`,\r\n\t\tlaunchDate: new Date('2025-01-21'),\r\n\t\tminiSetFor: 'great_dark_beyond',\r\n\t},\r\n\t{\r\n\t\tid: 'great_dark_beyond',\r\n\t\tname: `The Great Dark Beyond`,\r\n\t\tlaunchDate: new Date('2024-11-05'),\r\n\t},\r\n\t{\r\n\t\tid: 'traveling_travel_agency',\r\n\t\tname: `The Traveling Travel Agency`,\r\n\t\tlaunchDate: new Date('2024-09-10'),\r\n\t\tminiSetFor: 'perils_in_paradise',\r\n\t},\r\n\t{\r\n\t\tid: 'perils_in_paradise',\r\n\t\tname: `Perils in Paradise`,\r\n\t\tlaunchDate: new Date('2024-06-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'boom_inventions',\r\n\t\tname: `Dr. Boom’s Incredible Inventions`,\r\n\t\tlaunchDate: new Date('2024-05-14'),\r\n\t\tminiSetFor: 'whizbangs_workshop',\r\n\t},\r\n\t{\r\n\t\tid: 'whizbangs_workshop',\r\n\t\tname: `Whizbang's Workshop`,\r\n\t\tlaunchDate: new Date('2024-02-13'),\r\n\t},\r\n\t{\r\n\t\tid: 'deepholm',\r\n\t\tname: `Delve into Deepholm`,\r\n\t\tlaunchDate: new Date('2024-01-18'),\r\n\t\tminiSetFor: 'wild_west',\r\n\t},\r\n\t{\r\n\t\tid: 'wild_west',\r\n\t\tname: `Showdown in the Badlands`,\r\n\t\tlaunchDate: new Date('2023-11-14'),\r\n\t},\r\n\t{\r\n\t\tid: 'ulduar',\r\n\t\tname: `Fall of Ulduar`,\r\n\t\tlaunchDate: new Date('2023-09-19'),\r\n\t\tminiSetFor: 'titans',\r\n\t},\r\n\t{\r\n\t\tid: 'caverns_of_time',\r\n\t\tname: `Caverns of Time`,\r\n\t\tlaunchDate: new Date('2023-08-31'),\r\n\t},\r\n\t{\r\n\t\tid: 'titans',\r\n\t\tname: `TITANS`,\r\n\t\tlaunchDate: new Date('2023-06-27'),\r\n\t},\r\n\t{\r\n\t\tid: 'audiopocalypse',\r\n\t\tname: `Audiopocalypse`,\r\n\t\tlaunchDate: new Date('2023-05-31'),\r\n\t\tminiSetFor: 'battle_of_the_bands',\r\n\t},\r\n\t{\r\n\t\tid: 'battle_of_the_bands',\r\n\t\tname: `Battle of the Bands`,\r\n\t\tlaunchDate: new Date('2023-03-15'),\r\n\t},\r\n\t{\r\n\t\tid: 'return_to_naxxramas',\r\n\t\tname: `Return to Naxxramas`,\r\n\t\tlaunchDate: new Date('2023-02-14'),\r\n\t\tminiSetFor: 'return_of_the_lich_king',\r\n\t},\r\n\t{\r\n\t\tid: 'path_of_arthas',\r\n\t\tname: `Path of Arthas`,\r\n\t\tlaunchDate: new Date('2022-11-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'return_of_the_lich_king',\r\n\t\tname: `March of the Lich King`,\r\n\t\tlaunchDate: new Date('2022-11-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'maw_and_disorder',\r\n\t\tname: `Maw and Disorder`,\r\n\t\tlaunchDate: new Date('2022-09-27'),\r\n\t\tminiSetFor: 'revendreth',\r\n\t},\r\n\t{\r\n\t\tid: 'revendreth',\r\n\t\tname: `Murder at Castle Nathria`,\r\n\t\tlaunchDate: new Date('2022-08-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'throne_of_tides',\r\n\t\tname: `Throne of the Tides`,\r\n\t\tlaunchDate: new Date('2022-06-01'),\r\n\t\tminiSetFor: 'the_sunken_city',\r\n\t},\r\n\t{\r\n\t\tid: 'the_sunken_city',\r\n\t\tname: `The Sunken City`,\r\n\t\tlaunchDate: new Date('2022-03-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'onyxias_lair',\r\n\t\tname: `Onyxia's Lair`,\r\n\t\tlaunchDate: new Date('2022-02-15'),\r\n\t\tminiSetFor: 'alterac_valley',\r\n\t},\r\n\t{\r\n\t\tid: 'alterac_valley',\r\n\t\tname: 'Fractured in Alterac Valley',\r\n\t\tlaunchDate: new Date('2021-12-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'deadmines',\r\n\t\tname: 'Deadmines',\r\n\t\tlaunchDate: new Date('2021-11-02'),\r\n\t\tminiSetFor: 'stormwind',\r\n\t},\r\n\t{\r\n\t\tid: 'stormwind',\r\n\t\tname: 'United in Stormwind',\r\n\t\tlaunchDate: new Date('2021-07-01'),\r\n\t},\r\n\t{\r\n\t\tid: 'wailing_caverns',\r\n\t\tname: 'Wailing Caverns',\r\n\t\tlaunchDate: new Date('2021-06-03'),\r\n\t\tminiSetFor: 'the_barrens',\r\n\t},\r\n\t{\r\n\t\tid: 'the_barrens',\r\n\t\tname: 'Forged in the Barrens',\r\n\t\tlaunchDate: new Date('2021-03-15'),\r\n\t},\r\n\t{\r\n\t\tid: 'darkmoon_races',\r\n\t\tname: 'Darkmoon Races',\r\n\t\tlaunchDate: new Date('2021-01-21'),\r\n\t\tminiSetFor: 'darkmoon_faire',\r\n\t},\r\n\t{\r\n\t\tid: 'darkmoon_faire',\r\n\t\tname: 'Darkmoon Faire',\r\n\t\tlaunchDate: new Date('2020-11-17'),\r\n\t},\r\n\t{\r\n\t\tid: 'scholomance',\r\n\t\tname: 'Scholomance Academy',\r\n\t\tlaunchDate: new Date('2020-08-06'),\r\n\t},\r\n\t{\r\n\t\tid: 'black_temple',\r\n\t\tname: 'Ashes of Outland',\r\n\t\tlaunchDate: new Date('2020-04-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'demon_hunter_initiate',\r\n\t\tname: 'Demon Hunter Initiate',\r\n\t\tlaunchDate: new Date('2020-04-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'yod',\r\n\t\tname: \"Galakrond's Awakening\",\r\n\t\tlaunchDate: new Date('2020-01-21'),\r\n\t},\r\n\t{\r\n\t\tid: 'dragons',\r\n\t\tname: 'Descent of Dragons',\r\n\t\tlaunchDate: new Date('2019-12-10'),\r\n\t},\r\n\t{\r\n\t\tid: 'uldum',\r\n\t\tname: 'Saviors of Uldum',\r\n\t\tlaunchDate: new Date('2019-08-06'),\r\n\t},\r\n\t{\r\n\t\tid: 'dalaran',\r\n\t\tname: 'Rise of Shadows',\r\n\t\tlaunchDate: new Date('2019-04-09'),\r\n\t},\r\n\t{\r\n\t\tid: 'troll',\r\n\t\tname: \"Rastakhan's Rumble\",\r\n\t\tlaunchDate: new Date('2018-12-04'),\r\n\t},\r\n\t{\r\n\t\tid: 'boomsday',\r\n\t\tname: 'The Boomsday Project',\r\n\t\tlaunchDate: new Date('2018-08-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'gilneas',\r\n\t\tname: 'The Witchwood',\r\n\t\tlaunchDate: new Date('2018-04-12'),\r\n\t},\r\n\t{\r\n\t\tid: 'lootapalooza',\r\n\t\tname: 'Kobolds and Catacombs',\r\n\t\tlaunchDate: new Date('2017-12-07'),\r\n\t},\r\n\t{\r\n\t\tid: 'icecrown',\r\n\t\tname: 'Knights of the Frozen Throne',\r\n\t\tlaunchDate: new Date('2017-08-10'),\r\n\t},\r\n\t{\r\n\t\tid: 'ungoro',\r\n\t\tname: \"Journey to Un'Goro\",\r\n\t\tlaunchDate: new Date('2017-04-06'),\r\n\t},\r\n\t// {\r\n\t// \tid: 'hof',\r\n\t// \tname: 'Hall of Fame',\r\n\t// \tlaunchDate: new Date('2017-04-04'),\r\n\t// },\r\n\t{\r\n\t\tid: 'gangs',\r\n\t\tname: 'Mean Streets of Gadgetzan',\r\n\t\tlaunchDate: new Date('2016-12-1'),\r\n\t},\r\n\t{\r\n\t\tid: 'kara',\r\n\t\tname: 'One Night in Karazhan',\r\n\t\tlaunchDate: new Date('2016-08-11'),\r\n\t},\r\n\t{\r\n\t\tid: 'og',\r\n\t\tname: 'Whispers of the Old Gods',\r\n\t\tlaunchDate: new Date('2016-04-26'),\r\n\t},\r\n\t{\r\n\t\tid: 'loe',\r\n\t\tname: 'League of Explorers',\r\n\t\tlaunchDate: new Date('2015-11-12'),\r\n\t},\r\n\t{\r\n\t\tid: 'tgt',\r\n\t\tname: 'The Grand Tournament',\r\n\t\tlaunchDate: new Date('2015-08-24'),\r\n\t},\r\n\t{\r\n\t\tid: 'brm',\r\n\t\tname: 'Blackrock Mountain',\r\n\t\tlaunchDate: new Date('2015-04-02'),\r\n\t},\r\n\t{\r\n\t\tid: 'gvg',\r\n\t\tname: 'Goblins vs Gnomes',\r\n\t\tlaunchDate: new Date('2014-12-08'),\r\n\t},\r\n\t{\r\n\t\tid: 'naxx',\r\n\t\tname: 'Naxxramas',\r\n\t\tlaunchDate: new Date('2014-07-22'),\r\n\t},\r\n\t{\r\n\t\tid: 'core',\r\n\t\tname: 'Core',\r\n\t\tlaunchDate: new Date('2021-03-25'),\r\n\t},\r\n\t// {\r\n\t// \tid: 'expert1',\r\n\t// \tname: 'Expert',\r\n\t// \tlaunchDate: new Date('2014-03-11'),\r\n\t// },\r\n\t// {\r\n\t// \tid: 'basic',\r\n\t// \tname: 'Basic',\r\n\t// \tlaunchDate: new Date('2014-03-11'),\r\n\t// },\r\n\t{\r\n\t\tid: 'legacy',\r\n\t\tname: 'Legacy',\r\n\t\tlaunchDate: new Date('2021-03-30'),\r\n\t},\r\n] as const;\r\n\r\nexport const wildSets: readonly SetId[] = sets.map((s) => s.id);\r\nconst standardBaseSets: readonly SetId[] = [\r\n\t'core',\r\n\t'gift',\r\n\t'whizbangs_workshop',\r\n\t'perils_in_paradise',\r\n\t'great_dark_beyond',\r\n\t'into_the_emerald_dream',\r\n\t'lost_city_of_ungoro',\r\n];\r\nexport const standardSets: readonly SetId[] = standardBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId)\r\n\t.map((setId) => setId as SetId);\r\nconst twistBaseSets: readonly SetId[] = [\r\n\t'legacy',\r\n\t'return_to_naxxramas',\r\n\t'gvg',\r\n\t'brm',\r\n\t'tgt',\r\n\t'loe',\r\n\t'og',\r\n\t'kara',\r\n\t'gangs',\r\n\t'ungoro',\r\n\t'caverns_of_time',\r\n];\r\nexport const twistSets: readonly SetId[] = twistBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId)\r\n\t.map((setId) => setId as SetId);\r\n// https://hearthstone.fandom.com/wiki/Arena#Arena_Rotation\r\nconst arenaBaseSets: readonly SetId[] = [\r\n\t'lost_city_of_ungoro',\r\n\t'perils_in_paradise',\r\n\t'battle_of_the_bands',\r\n\t'return_of_the_lich_king',\r\n\t'revendreth',\r\n\t'core',\r\n];\r\nexport const arenaSets: readonly SetId[] = arenaBaseSets\r\n\t.flatMap((setId) => [setId, sets.find((s) => s.miniSetFor === setId)?.id])\r\n\t.filter((setId) => setId);\r\n\r\nexport const duelsSets: readonly SetId[] = [];\r\nexport const vanillaSets: readonly SetId[] = ['vanilla'];\r\n\r\nexport const isValidSet = (set: SetId, format: GameFormat, gameType: GameType): boolean => {\r\n\tswitch (gameType) {\r\n\t\tcase GameType.GT_ARENA:\r\n\t\tcase GameType.GT_UNDERGROUND_ARENA:\r\n\t\t\treturn arenaSets.includes(set);\r\n\t}\r\n\tswitch (format) {\r\n\t\tcase GameFormat.FT_STANDARD:\r\n\t\t\treturn standardSets.includes(set);\r\n\t\tcase GameFormat.FT_TWIST:\r\n\t\t\treturn twistSets.includes(set);\r\n\t\tcase GameFormat.FT_WILD:\r\n\t\tdefault:\r\n\t\t\treturn wildSets.includes(set);\r\n\t}\r\n};\r\n"]}
|
|
@@ -227,6 +227,13 @@ const BACON_BOUNTY = [
|
|
|
227
227
|
"BG33_811",
|
|
228
228
|
"BG33_812",
|
|
229
229
|
];
|
|
230
|
+
const MASKS = [
|
|
231
|
+
"DINO_402",
|
|
232
|
+
"DINO_428",
|
|
233
|
+
"DINO_403",
|
|
234
|
+
"DINO_432",
|
|
235
|
+
"DINO_429",
|
|
236
|
+
];
|
|
230
237
|
exports.RELATED_CARDS_DATA = {
|
|
231
238
|
["TOY_373t"]: WISDOMBALL_ADVICE,
|
|
232
239
|
["WORK_027t1"]: [
|
|
@@ -526,6 +533,7 @@ exports.RELATED_CARDS_DATA = {
|
|
|
526
533
|
["EX1_577"]: ["EX1_finkle"],
|
|
527
534
|
["EX1_614"]: ["EX1_614t"],
|
|
528
535
|
["CS3_032"]: ["EX1_116t"],
|
|
536
|
+
["LEG_CS3_032"]: ["EX1_116t"],
|
|
529
537
|
["EX1_562"]: ["EX1_116t"],
|
|
530
538
|
["EX1_116"]: ["EX1_116t"],
|
|
531
539
|
["CORE_EX1_383"]: ["EX1_383t"],
|
|
@@ -741,6 +749,7 @@ exports.RELATED_CARDS_DATA = {
|
|
|
741
749
|
"SW_433t",
|
|
742
750
|
"SW_433t2",
|
|
743
751
|
"SW_433t3",
|
|
752
|
+
"SW_433t3a",
|
|
744
753
|
],
|
|
745
754
|
["AV_203"]: ["AV_203p", "AV_203t"],
|
|
746
755
|
["YOP_017"]: ["TRL_509t"],
|
|
@@ -1189,6 +1198,7 @@ exports.RELATED_CARDS_DATA = {
|
|
|
1189
1198
|
"BOT_238p6",
|
|
1190
1199
|
],
|
|
1191
1200
|
["GIL_577"]: ["GIL_577t"],
|
|
1201
|
+
["CORE_GIL_577"]: ["GIL_577t"],
|
|
1192
1202
|
["CORE_GIL_663"]: ["GIL_663t"],
|
|
1193
1203
|
["GIL_663"]: ["GIL_663t"],
|
|
1194
1204
|
["GIL_188"]: [
|
|
@@ -1452,6 +1462,7 @@ exports.RELATED_CARDS_DATA = {
|
|
|
1452
1462
|
],
|
|
1453
1463
|
["UNG_021"]: ["UNG_018"],
|
|
1454
1464
|
["UNG_843"]: ["UNG_999t2t1"],
|
|
1465
|
+
["UNG_999t2"]: ["UNG_999t2t1"],
|
|
1455
1466
|
["UNG_957"]: ["UNG_957t1"],
|
|
1456
1467
|
["UNG_851"]: ["UNG_851t1"],
|
|
1457
1468
|
["UNG_834"]: ["UNG_834t1"],
|
|
@@ -1655,6 +1666,8 @@ exports.RELATED_CARDS_DATA = {
|
|
|
1655
1666
|
"Mekka2",
|
|
1656
1667
|
],
|
|
1657
1668
|
["AT_062"]: ["FP1_011"],
|
|
1669
|
+
["WON_021"]: ["FP1_011"],
|
|
1670
|
+
["CORE_AT_062"]: ["FP1_011"],
|
|
1658
1671
|
["AT_132"]: UPGRADED_HERO_POWERS,
|
|
1659
1672
|
["AT_099"]: ["AT_099t"],
|
|
1660
1673
|
["AT_009"]: ["EX1_277"],
|
|
@@ -2474,6 +2487,7 @@ exports.RELATED_CARDS_DATA = {
|
|
|
2474
2487
|
["RLK_752"]: ["RLK_907t"],
|
|
2475
2488
|
["LEG_RLK_752"]: ["RLK_907t"],
|
|
2476
2489
|
["RLK_063"]: ["RLK_063t"],
|
|
2490
|
+
["CORE_RLK_063"]: ["RLK_063t"],
|
|
2477
2491
|
["ETC_521"]: ["ETC_521t"],
|
|
2478
2492
|
["REV_311"]: ["REV_311t2", "REV_311t"],
|
|
2479
2493
|
["RLK_061"]: ["RLK_061t"],
|
|
@@ -3964,5 +3978,34 @@ exports.RELATED_CARDS_DATA = {
|
|
|
3964
3978
|
["BG33_821_G"]: BACON_BOUNTY,
|
|
3965
3979
|
["BG33_823"]: BACON_BOUNTY,
|
|
3966
3980
|
["BG33_823_G"]: BACON_BOUNTY,
|
|
3981
|
+
["CORE_CS3_029"]: ["CS2_101t"],
|
|
3982
|
+
["CS3_029"]: ["CS2_101t"],
|
|
3983
|
+
["TU5_CS2_022"]: ["CS2_tk1"],
|
|
3984
|
+
["DINO_136"]: ["DINO_136t"],
|
|
3985
|
+
["DINO_130"]: ["DINO_130t"],
|
|
3986
|
+
["DINO_410"]: [
|
|
3987
|
+
"DINO_410t2",
|
|
3988
|
+
"DINO_410t3",
|
|
3989
|
+
"DINO_410t4",
|
|
3990
|
+
"DINO_410t5",
|
|
3991
|
+
"DINO_410",
|
|
3992
|
+
],
|
|
3993
|
+
["DINO_410t2"]: [
|
|
3994
|
+
"DINO_410t3",
|
|
3995
|
+
"DINO_410t4",
|
|
3996
|
+
"DINO_410t5",
|
|
3997
|
+
"DINO_410",
|
|
3998
|
+
],
|
|
3999
|
+
["DINO_410t3"]: [
|
|
4000
|
+
"DINO_410t4",
|
|
4001
|
+
"DINO_410t5",
|
|
4002
|
+
"DINO_410",
|
|
4003
|
+
],
|
|
4004
|
+
["DINO_410t4"]: [
|
|
4005
|
+
"DINO_410t5",
|
|
4006
|
+
"DINO_410",
|
|
4007
|
+
],
|
|
4008
|
+
["DINO_410t5"]: ["DINO_410"],
|
|
4009
|
+
["DINO_427"]: MASKS,
|
|
3967
4010
|
};
|
|
3968
4011
|
//# sourceMappingURL=related-cards-data.js.map
|