@firestone-hs/reference-data 1.0.83 → 1.0.85

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.
@@ -2,6 +2,7 @@ export declare enum GameFormat {
2
2
  FT_UNKNOWN = 0,
3
3
  FT_WILD = 1,
4
4
  FT_STANDARD = 2,
5
- FT_CLASSIC = 3
5
+ FT_CLASSIC = 3,
6
+ FT_TWIST = 4
6
7
  }
7
- export declare type GameFormatString = 'unknown' | 'wild' | 'standard' | 'classic';
8
+ export declare type GameFormatString = 'unknown' | 'wild' | 'standard' | 'classic' | 'twist';
@@ -7,5 +7,6 @@ var GameFormat;
7
7
  GameFormat[GameFormat["FT_WILD"] = 1] = "FT_WILD";
8
8
  GameFormat[GameFormat["FT_STANDARD"] = 2] = "FT_STANDARD";
9
9
  GameFormat[GameFormat["FT_CLASSIC"] = 3] = "FT_CLASSIC";
10
+ GameFormat[GameFormat["FT_TWIST"] = 4] = "FT_TWIST";
10
11
  })(GameFormat = exports.GameFormat || (exports.GameFormat = {}));
11
12
  //# sourceMappingURL=game-format.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"game-format.js","sourceRoot":"","sources":["../../src/enums/game-format.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACrB,uDAAc,CAAA;IACd,iDAAW,CAAA;IACX,yDAAe,CAAA;IACf,uDAAc,CAAA;AACf,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB","sourcesContent":["export enum GameFormat {\r\n\tFT_UNKNOWN = 0,\r\n\tFT_WILD = 1,\r\n\tFT_STANDARD = 2,\r\n\tFT_CLASSIC = 3,\r\n}\r\n\r\nexport type GameFormatString = 'unknown' | 'wild' | 'standard' | 'classic';\r\n"]}
1
+ {"version":3,"file":"game-format.js","sourceRoot":"","sources":["../../src/enums/game-format.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACrB,uDAAc,CAAA;IACd,iDAAW,CAAA;IACX,yDAAe,CAAA;IACf,uDAAc,CAAA;IACd,mDAAY,CAAA;AACb,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB","sourcesContent":["export enum GameFormat {\r\n\tFT_UNKNOWN = 0,\r\n\tFT_WILD = 1,\r\n\tFT_STANDARD = 2,\r\n\tFT_CLASSIC = 3,\r\n\tFT_TWIST = 4,\r\n}\r\n\r\nexport type GameFormatString = 'unknown' | 'wild' | 'standard' | 'classic' | 'twist';\r\n"]}
@@ -5,8 +5,8 @@ export interface ReferenceCard {
5
5
  readonly dbfId: number;
6
6
  readonly name: string;
7
7
  readonly set: string;
8
- readonly playerClass: ReferencePlayerClass;
9
8
  readonly classes?: readonly string[];
9
+ readonly playerClass: ReferencePlayerClass;
10
10
  readonly cardClass: string;
11
11
  readonly cost?: number;
12
12
  readonly additionalCosts?: {
@@ -1 +1 @@
1
- {"version":3,"file":"reference-card.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-card.ts"],"names":[],"mappings":"","sourcesContent":["import { 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 playerClass: ReferencePlayerClass;\r\n\treadonly classes?: readonly string[];\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?: string[];\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly races?: readonly string[];\r\n\treadonly techLevel?: number;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\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\treadonly deckDuplicateDbfId?: 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\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: 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 { 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\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?: string[];\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly races?: readonly string[];\r\n\treadonly techLevel?: number;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\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\treadonly deckDuplicateDbfId?: 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\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: 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"]}
@@ -195,21 +195,24 @@ exports.RELATED_CARDS_DATA = {
195
195
  "BAR_044t",
196
196
  "BAR_044t2",
197
197
  ],
198
+ ["BAR_044t"]: ["BAR_044t2"],
198
199
  ["DMF_174"]: ["DMF_174t"],
199
200
  ["SW_076"]: ["SW_076t"],
200
201
  ["TSC_026"]: ["TSC_026t"],
201
202
  ["BAR_314"]: ["BAR_314t", "BAR_314t2"],
203
+ ["BAR_314t"]: ["BAR_314t2"],
202
204
  ["BAR_842"]: [
203
205
  "BAR_842t",
204
206
  "BAR_842t2",
205
207
  ],
208
+ ["BAR_842t"]: ["BAR_842t2"],
206
209
  ["DMF_100"]: ["DMF_100t"],
207
210
  ["BAR_880"]: [
208
211
  "BAR_880t",
209
212
  "BAR_880t2",
210
213
  ],
214
+ ["BAR_880t"]: ["BAR_880t2"],
211
215
  ["DED_522"]: ["DED_522t"],
212
- ["TSC_026"]: ["TSC_026t"],
213
216
  ["SW_031"]: [
214
217
  "SW_031t8",
215
218
  "SW_031t",
@@ -310,6 +313,7 @@ exports.RELATED_CARDS_DATA = {
310
313
  ["WC_805"]: ["BAR_888t"],
311
314
  ["AV_360"]: ["AV_211t"],
312
315
  ["BAR_891"]: ["BAR_891t", "BAR_891t2"],
316
+ ["BAR_891t"]: ["BAR_891t2"],
313
317
  ["TSC_029"]: [
314
318
  "TSC_029t",
315
319
  "TSC_029t2",
@@ -374,6 +378,10 @@ exports.RELATED_CARDS_DATA = {
374
378
  "BAR_914t2",
375
379
  "BAR_914t3",
376
380
  ],
381
+ ["BAR_914t"]: [
382
+ "BAR_914t2",
383
+ "BAR_914t3",
384
+ ],
377
385
  ["DMF_247"]: ["DMF_247t"],
378
386
  ["DMF_054"]: ["DMF_054t"],
379
387
  ["BAR_077"]: ["BAR_077t"],
@@ -443,6 +451,7 @@ exports.RELATED_CARDS_DATA = {
443
451
  "BAR_536t",
444
452
  "BAR_536t2",
445
453
  ],
454
+ ["BAR_536t"]: ["BAR_536t2"],
446
455
  ["SW_434"]: ["GAME_005"],
447
456
  ["SW_428"]: [
448
457
  "SW_428t",
@@ -455,8 +464,6 @@ exports.RELATED_CARDS_DATA = {
455
464
  ],
456
465
  ["CORE_OG_047"]: ["OG_047b", "OG_047a"],
457
466
  ["OG_047"]: ["OG_047b", "OG_047a"],
458
- ["CORE_EX1_248"]: ["Story_01_FeralSpirit"],
459
- ["EX1_248"]: ["Story_01_FeralSpirit"],
460
467
  ["AV_200"]: ["AV_200p2"],
461
468
  ["SW_070"]: ["GAME_005"],
462
469
  ["BAR_721"]: ["BAR_721t", "BAR_721t2"],
@@ -473,7 +480,6 @@ exports.RELATED_CARDS_DATA = {
473
480
  ],
474
481
  ["TSC_660"]: ["TSC_660t"],
475
482
  ["SW_316"]: ["SW_316t"],
476
- ["BAR_812"]: ["CORE_CS2_033"],
477
483
  ["ONY_001"]: ["ONY_001t"],
478
484
  ["DMF_123"]: ANIMAL_COMPANION_TOKENS,
479
485
  ["DMF_086"]: ["DMF_086e"],
@@ -564,6 +570,12 @@ exports.RELATED_CARDS_DATA = {
564
570
  "BAR_034t4",
565
571
  "BAR_034t5",
566
572
  ],
573
+ ["BAR_034t"]: [
574
+ "BAR_034t2",
575
+ "BAR_034t3",
576
+ "BAR_034t4",
577
+ "BAR_034t5",
578
+ ],
567
579
  ["SW_091"]: [
568
580
  "SW_091t3",
569
581
  "SW_091t",
@@ -584,6 +596,7 @@ exports.RELATED_CARDS_DATA = {
584
596
  "BAR_319t",
585
597
  "BAR_319t2",
586
598
  ],
599
+ ["BAR_319t"]: ["BAR_319t2"],
587
600
  ["AV_268"]: ["AV_257t"],
588
601
  ["AV_205"]: ["AV_205p"],
589
602
  ["AV_293"]: ["AV_293t"],
@@ -592,6 +605,10 @@ exports.RELATED_CARDS_DATA = {
592
605
  "ONY_016t2",
593
606
  "BT_922t",
594
607
  ],
608
+ ["ONY_016t"]: [
609
+ "ONY_016t2",
610
+ "BT_922t",
611
+ ],
595
612
  ["BAR_801"]: ["BAR_035t"],
596
613
  ["TSC_219"]: [
597
614
  "TSC_219t",
@@ -638,14 +655,7 @@ exports.RELATED_CARDS_DATA = {
638
655
  ["PVPDR_TSC_Passive4"]: ["CFM_637"],
639
656
  ["DALA_739"]: ["LOOT_106t"],
640
657
  ["PVPDR_SCH_Active29"]: ["PVPDR_SCH_Active29m1"],
641
- ["PVPDR_SCH_Active28"]: [
642
- "PVPDR_SCH_Active28s2",
643
- "PVPDR_SCH_Active28s1",
644
- "GILA_817t",
645
- ],
646
658
  ["PVPDR_BAR_Passive22"]: ["UNG_809t1"],
647
- ["GILA_BOSS_24p"]: ["PVPDR_SCH_Passive24t"],
648
- ["PVPDR_SCH_Passive24"]: ["PVPDR_SCH_Passive24t"],
649
659
  ["PVPDR_AV_Passive10"]: LICH_KING_CARDS,
650
660
  ["PVPDR_AV_Passive32"]: LICH_KING_CARDS,
651
661
  ["PVPDR_AV_Passive35"]: DREAM_CARDS,
@@ -1186,7 +1196,7 @@ exports.RELATED_CARDS_DATA = {
1186
1196
  ["ICC_831"]: ["ICC_831p"],
1187
1197
  ["UNG_940"]: ["UNG_940t8"],
1188
1198
  ["UNG_809"]: ["UNG_809t1"],
1189
- ["UNG_934"]: ["UNG_934t1", "UNG_934t1"],
1199
+ ["UNG_934"]: ["UNG_934t1", "UNG_934t2"],
1190
1200
  ["UNG_116"]: ["UNG_116t"],
1191
1201
  ["UNG_829"]: [
1192
1202
  "UNG_829t1",
@@ -1327,7 +1337,6 @@ exports.RELATED_CARDS_DATA = {
1327
1337
  ["EX1_014"]: ["EX1_014t"],
1328
1338
  ["CS2_196"]: ["CS2_boar"],
1329
1339
  ["BT_352"]: ["BT_352t"],
1330
- ["tt_010"]: ["tt_010a"],
1331
1340
  ["EX1_538"]: ["EX1_538t"],
1332
1341
  ["EX1_398"]: ["EX1_398t"],
1333
1342
  ["OG_318"]: ["OG_318t"],
@@ -2372,5 +2381,10 @@ exports.RELATED_CARDS_DATA = {
2372
2381
  ["MAW_015"]: ["CS2_101t"],
2373
2382
  ["DMF_240"]: ["CS2_101t"],
2374
2383
  ["CORE_DMF_240"]: ["CS2_101t"],
2384
+ ["JAM_037"]: ["JAM_037t"],
2385
+ ["PVPDR_DMF_Shamant2"]: ["OG_024"],
2386
+ ["REV_514"]: ["REV_845"],
2387
+ ["REV_786"]: ["REV_845"],
2388
+ ["CFM_620"]: ["AV_218t"],
2375
2389
  };
2376
2390
  //# sourceMappingURL=related-cards-data.js.map