@blizzhackers/d2data 2.7.3 → 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
@@ -429,7 +429,7 @@ function monlevel(mon, level, diff) {
429
429
  lvl = level[s("MonLvlEx")] || 0,
430
430
  mlvl = mon[s("Level")] || 0;
431
431
 
432
- return lvl > mlvl ? lvl : mlvl;
432
+ return (diff && !mon.boss) ? lvl : mlvl;
433
433
  }
434
434
 
435
435
  function forEachMonster(level, diff, func) {