gw2e-account-statistics 3.4.0 → 3.4.2

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.
@@ -422,6 +422,12 @@ function countLegendaryInsights(items) {
422
422
  li += Math.min(perfectedCount, 6) * 25 + Math.max(perfectedCount - 6, 0) * 50;
423
423
  li += countItems(items, [envoyInsignia, giftOfProwess]) * 25;
424
424
  li += countItems(items, legendaryInsight);
425
+ li += countItems(items, [97269, // Mai Trin's Magnificent Coffer
426
+ 96638, // Ankka's Magnificent Coffer
427
+ 96419, // Minister Li's Magnificent Coffer
428
+ 95986 // Void's Magnificent Coffer
429
+ ]);
430
+
425
431
  return li;
426
432
  }
427
433
 
@@ -442,7 +448,6 @@ function unstableFractalEssenceFromItems(items) {
442
448
  94017: 1680 }, idListToWeightMap(_cosmeticAuras2.default.abyssalInfusion, 1680), { // Abyssal Infusion
443
449
  81790: 450 }, idListToWeightMap(_cosmeticAuras2.default.celestialInfusionRed, 450), { // Celestial Infusion (Red)
444
450
  81632: 450, // Endless Chaos Combat Tonic
445
- 94021: 1680, // Endless Inner Demon Combat Tonic
446
451
  94055: 1680, // Endless Inner Demon Combat Tonic
447
452
  81743: 5 // Unstable Cosmic Essence
448
453
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gw2e-account-statistics",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "description": "Calculate statistics of guildwars2 accounts",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {
@@ -899,7 +899,7 @@ describe('statistics > items', () => {
899
899
  {id: 81790, count: 1}, // Celestial Infusion Chest
900
900
  {id: 82070, count: 1}, // Celestial Infusion (Red)
901
901
  {id: 81632, count: 1}, // Endless Chaos Combat Tonic
902
- {id: 94021, count: 1}, // Endless Inner Demon Combat Tonic
902
+ {id: 94055, count: 1}, // Endless Inner Demon Combat Tonic
903
903
 
904
904
  {id: 81761, count: 9999999} // Celestial Infusion (Blue) -- (!) Does not count
905
905
  ]))._unstableFractalEssenceFromItems).to.equal(7410)