@blizzhackers/d2data 3.1.91639 → 3.1.91640

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
@@ -860,6 +860,14 @@ const fs = require('fs');
860
860
  let tc = tcprecalc[key], total = 0;
861
861
 
862
862
  for (let subtc in tc.counts) {
863
+ if (
864
+ subtc in items &&
865
+ !(subtc in tcprecalc) &&
866
+ items[subtc].spawnable
867
+ ) {
868
+ continue;
869
+ }
870
+
863
871
  total += tc.counts[subtc] * totalTC(subtc, debug);
864
872
  }
865
873