gw2e-account-statistics 3.17.0 → 3.17.1
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.
|
@@ -42,5 +42,40 @@ exports.default = {
|
|
|
42
42
|
],
|
|
43
43
|
envoyInsignia: 80516,
|
|
44
44
|
giftOfProwess: 78989,
|
|
45
|
-
legendaryInsight: 77302
|
|
45
|
+
legendaryInsight: 77302,
|
|
46
|
+
raidCoffers: [91203, // Vale Guardian Coffer
|
|
47
|
+
91215, // Gorseval's Coffer
|
|
48
|
+
91147, // Sabetha's Coffer
|
|
49
|
+
91160, // Slothasor's Coffer
|
|
50
|
+
91184, // Prison-Camp Chest (container)
|
|
51
|
+
91252, // Matthias's Coffer
|
|
52
|
+
91262, // McLeod's Coffer
|
|
53
|
+
91187, // Keep Construct's Coffer
|
|
54
|
+
91182, // Xera's Coffer
|
|
55
|
+
91186, // Cairn's Coffer
|
|
56
|
+
91191, // Mursaat Overseer's Coffer
|
|
57
|
+
91267, // Samarog's Coffer
|
|
58
|
+
91233, // Deimos's Coffer
|
|
59
|
+
91211, // Desmina's Coffer
|
|
60
|
+
91244, // River of Souls Coffer
|
|
61
|
+
91138, // Statue of Grenth Coffer
|
|
62
|
+
91220, // Dhuum's Coffer
|
|
63
|
+
91157, // Conjured Amalgamate's Coffer
|
|
64
|
+
91166, // Twin Largos' Coffer
|
|
65
|
+
91237, // Qadim's Coffer
|
|
66
|
+
91241, // Cardinal Sabir's Coffer
|
|
67
|
+
91200, // Cardinal Adina's Coffer
|
|
68
|
+
91260, // Qadim the Peerless's Coffer
|
|
69
|
+
103783, // Greer's Coffer
|
|
70
|
+
103926, // Decima's Coffer
|
|
71
|
+
103946 // Ura's Coffer
|
|
72
|
+
],
|
|
73
|
+
strikeCmCoffers: [97269, // Mai Trin's Magnificent Coffer
|
|
74
|
+
96638, // Ankka's Magnificent Coffer
|
|
75
|
+
96419, // Minister Li's Magnificent Coffer
|
|
76
|
+
95986, // Void's Magnificent Coffer
|
|
77
|
+
99204, // Assault Knights' Magnificent Coffer
|
|
78
|
+
101542, // Cerus's Magnificent Coffer
|
|
79
|
+
101172 // Dagda's Magnificent Coffer
|
|
80
|
+
]
|
|
46
81
|
};
|
|
@@ -510,7 +510,9 @@ function countLegendaryInsights(items) {
|
|
|
510
510
|
perfectedIds = _legendaryInsightItemIds2.default.perfectedIds,
|
|
511
511
|
envoyInsignia = _legendaryInsightItemIds2.default.envoyInsignia,
|
|
512
512
|
giftOfProwess = _legendaryInsightItemIds2.default.giftOfProwess,
|
|
513
|
-
legendaryInsight = _legendaryInsightItemIds2.default.legendaryInsight
|
|
513
|
+
legendaryInsight = _legendaryInsightItemIds2.default.legendaryInsight,
|
|
514
|
+
raidCoffers = _legendaryInsightItemIds2.default.raidCoffers,
|
|
515
|
+
strikeCmCoffers = _legendaryInsightItemIds2.default.strikeCmCoffers;
|
|
514
516
|
|
|
515
517
|
|
|
516
518
|
var refinedCount = refinedIds.reduce(function (sum, id) {
|
|
@@ -525,11 +527,8 @@ function countLegendaryInsights(items) {
|
|
|
525
527
|
li += Math.min(perfectedCount, 6) * 25 + Math.max(perfectedCount - 6, 0) * 50;
|
|
526
528
|
li += countItems(items, [envoyInsignia, giftOfProwess]) * 25;
|
|
527
529
|
li += countItems(items, legendaryInsight);
|
|
528
|
-
li += countItems(items,
|
|
529
|
-
|
|
530
|
-
96419, // Minister Li's Magnificent Coffer
|
|
531
|
-
95986 // Void's Magnificent Coffer
|
|
532
|
-
]);
|
|
530
|
+
li += countItems(items, raidCoffers);
|
|
531
|
+
li += countItems(items, strikeCmCoffers);
|
|
533
532
|
|
|
534
533
|
return li;
|
|
535
534
|
}
|
package/package.json
CHANGED
package/tests/wallet.spec.js
CHANGED
|
@@ -75,7 +75,8 @@ describe('statistics > wallet', () => {
|
|
|
75
75
|
jadeMinersKeycard: null,
|
|
76
76
|
pinchOfStardust: null,
|
|
77
77
|
staticCharge: null,
|
|
78
|
-
ursusOblige: null
|
|
78
|
+
ursusOblige: null,
|
|
79
|
+
gaetingCrystals: null
|
|
79
80
|
})
|
|
80
81
|
})
|
|
81
82
|
|
|
@@ -196,7 +197,8 @@ describe('statistics > wallet', () => {
|
|
|
196
197
|
jadeMinersKeycard: 0,
|
|
197
198
|
pinchOfStardust: 0,
|
|
198
199
|
staticCharge: 0,
|
|
199
|
-
ursusOblige: 0
|
|
200
|
+
ursusOblige: 0,
|
|
201
|
+
gaetingCrystals: 0
|
|
200
202
|
})
|
|
201
203
|
})
|
|
202
204
|
|