@blizzhackers/d2data 2.7.2 → 2.7.4

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 CHANGED
@@ -304,6 +304,7 @@ files.forEach(fn => {
304
304
  }
305
305
 
306
306
  if (fn === 'monstats') {
307
+ full[fn]['bloodraven'].areaId = 17;
307
308
  full[fn]['andariel'].areaId = 37;
308
309
  full[fn]['duriel'].areaId = 73;
309
310
  full[fn]['mephisto'].areaId = 102;
@@ -428,7 +429,7 @@ function monlevel(mon, level, diff) {
428
429
  lvl = level[s("MonLvlEx")] || 0,
429
430
  mlvl = mon[s("Level")] || 0;
430
431
 
431
- return lvl > mlvl ? lvl : mlvl;
432
+ return (diff && !mon.boss) ? lvl : mlvl;
432
433
  }
433
434
 
434
435
  function forEachMonster(level, diff, func) {