@blizzhackers/d2data 2.7.13 → 2.7.14
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/compile.js +11 -7
- package/json/actprofile.json +760 -306
- package/package.json +1 -1
package/compile.js
CHANGED
|
@@ -639,17 +639,21 @@ let dmgtypes = [
|
|
|
639
639
|
'ResPo',
|
|
640
640
|
];
|
|
641
641
|
|
|
642
|
-
let
|
|
642
|
+
let progressionAreas = [ // Areas that we're forced to deal with while progressing through the main quest lines.
|
|
643
643
|
// Act 1
|
|
644
|
-
2,3,4,5,6,7,10,26,27,28,29,30,31,32,33,34,35,36,
|
|
644
|
+
2,3,4,5,6,7,10,26,27,28,29,30,31,32,33,34,35,36,
|
|
645
645
|
// Act 2
|
|
646
|
-
41,42,43,44,45,46,50,51,52,53,54,56,57,58,60,61,62,63,64,66,67,68,69,70,71,72,73,
|
|
646
|
+
41,42,43,44,45,46,50,51,52,53,54,56,57,58,60,61,62,63,64,66,67,68,69,70,71,72,73,
|
|
647
647
|
// Act 3
|
|
648
|
-
76,77,78,79,80,81,82,83,85,88,89,91,92,93,100,101,
|
|
648
|
+
76,77,78,79,80,81,82,83,85,88,89,91,92,93,100,101,
|
|
649
649
|
// Act 4
|
|
650
|
-
104,105,106,107,
|
|
650
|
+
104,105,106,107,
|
|
651
651
|
// Act 5
|
|
652
|
-
110,111,112,113,115,117,118,120,128,129,130,
|
|
652
|
+
110,111,112,113,115,117,118,120,128,129,130,
|
|
653
|
+
];
|
|
654
|
+
|
|
655
|
+
let bossAreas = [ // Areas that we're forced to deal with for boss farming.
|
|
656
|
+
37,74,102,108,131,132,
|
|
653
657
|
];
|
|
654
658
|
|
|
655
659
|
for (let diff of [0, 1, 2]) {
|
|
@@ -666,7 +670,7 @@ for (let diff of [0, 1, 2]) {
|
|
|
666
670
|
continue;
|
|
667
671
|
}
|
|
668
672
|
|
|
669
|
-
let category =
|
|
673
|
+
let category = bossAreas.indexOf(levelid) >= 0 ? 'boss' : (progressionAreas.indexOf(levelid) >= 0 ? 'progression' : 'optional');
|
|
670
674
|
|
|
671
675
|
for (let montype of montypes) {
|
|
672
676
|
for (let id in pop[montype]) {
|