gw2e-account-statistics 3.17.0 → 3.17.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.
|
@@ -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
|
};
|
|
@@ -126,6 +126,7 @@ exports.default = function (accountData, extraInformation) {
|
|
|
126
126
|
amnytasHerosChoice: countItems(items, 100193),
|
|
127
127
|
innerNayosEndHerosChoice: countItems(items, 101195),
|
|
128
128
|
convergenceHerosChoice: countItems(items, 101185),
|
|
129
|
+
convergenceMountBalriorWayfindersChoice: countItems(items, 103842),
|
|
129
130
|
citadelOfZakirosHerosChoice: countItems(items, 101748),
|
|
130
131
|
janthirSyntriHerosChoice: countItems(items, 102265),
|
|
131
132
|
giftsOfExploration: countItems(items, 19677),
|
|
@@ -510,7 +511,9 @@ function countLegendaryInsights(items) {
|
|
|
510
511
|
perfectedIds = _legendaryInsightItemIds2.default.perfectedIds,
|
|
511
512
|
envoyInsignia = _legendaryInsightItemIds2.default.envoyInsignia,
|
|
512
513
|
giftOfProwess = _legendaryInsightItemIds2.default.giftOfProwess,
|
|
513
|
-
legendaryInsight = _legendaryInsightItemIds2.default.legendaryInsight
|
|
514
|
+
legendaryInsight = _legendaryInsightItemIds2.default.legendaryInsight,
|
|
515
|
+
raidCoffers = _legendaryInsightItemIds2.default.raidCoffers,
|
|
516
|
+
strikeCmCoffers = _legendaryInsightItemIds2.default.strikeCmCoffers;
|
|
514
517
|
|
|
515
518
|
|
|
516
519
|
var refinedCount = refinedIds.reduce(function (sum, id) {
|
|
@@ -525,11 +528,8 @@ function countLegendaryInsights(items) {
|
|
|
525
528
|
li += Math.min(perfectedCount, 6) * 25 + Math.max(perfectedCount - 6, 0) * 50;
|
|
526
529
|
li += countItems(items, [envoyInsignia, giftOfProwess]) * 25;
|
|
527
530
|
li += countItems(items, legendaryInsight);
|
|
528
|
-
li += countItems(items,
|
|
529
|
-
|
|
530
|
-
96419, // Minister Li's Magnificent Coffer
|
|
531
|
-
95986 // Void's Magnificent Coffer
|
|
532
|
-
]);
|
|
531
|
+
li += countItems(items, raidCoffers);
|
|
532
|
+
li += countItems(items, strikeCmCoffers);
|
|
533
533
|
|
|
534
534
|
return li;
|
|
535
535
|
}
|
package/package.json
CHANGED
package/tests/items.spec.js
CHANGED
|
@@ -84,6 +84,7 @@ describe('statistics > items', () => {
|
|
|
84
84
|
amnytasHerosChoice: null,
|
|
85
85
|
innerNayosEndHerosChoice: null,
|
|
86
86
|
convergenceHerosChoice: null,
|
|
87
|
+
convergenceMountBalriorWayfindersChoice: null,
|
|
87
88
|
citadelOfZakirosHerosChoice: null,
|
|
88
89
|
janthirSyntriHerosChoice: null,
|
|
89
90
|
uniqueTonics: null,
|
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
|
|