@blizzhackers/d2data 2.7.6 → 2.7.7
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 +3 -2
- package/json/monpopulationest.json +4989 -4989
- package/package.json +1 -1
package/compile.js
CHANGED
|
@@ -463,6 +463,7 @@ let monpopulation = {};
|
|
|
463
463
|
[0, 1, 2].forEach((diff) => {
|
|
464
464
|
let uniqueCount = 3.5 + diff;
|
|
465
465
|
let champCount = 3;
|
|
466
|
+
let uniqueRatio = 0.8, champRatio = 0.2;
|
|
466
467
|
let s = _s(diff);
|
|
467
468
|
full.levels.forEach((level) => {
|
|
468
469
|
let l = (key) => level[key] || 0;
|
|
@@ -510,8 +511,8 @@ let monpopulation = {};
|
|
|
510
511
|
)
|
|
511
512
|
);
|
|
512
513
|
}, 0),
|
|
513
|
-
ucount = avg(l(s("MonUMin")), l(s("MonUMax"))) *
|
|
514
|
-
ccount = avg(l(s("MonUMin")), l(s("MonUMax"))) *
|
|
514
|
+
ucount = avg(l(s("MonUMin")), l(s("MonUMax"))) * uniqueRatio * uniqueCount,
|
|
515
|
+
ccount = avg(l(s("MonUMin")), l(s("MonUMax"))) * champRatio * champCount,
|
|
515
516
|
count = acount - ucount - ccount - scount - bcount;
|
|
516
517
|
|
|
517
518
|
if (count > 0) {
|