shawenguan 1 yıl önce
ebeveyn
işleme
ca94f24222
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      Scripts/hbcpre/hbcpreComposite.js

+ 5 - 0
Scripts/hbcpre/hbcpreComposite.js

@@ -146,6 +146,11 @@ function readMySeriesOwnCntFakeData() {
     return gItemCntRwDict;
 }
 
+function getNRandomDigits(n) {
+    const min = Math.pow(10, n-1);
+    const max = Math.pow(10, n) - 1;
+    return Math.floor(Math.random() * (max - min + 1)) + min;
+}
 
 function getRandomInt(min, max) {
     return Math.floor(Math.random() * (max - min + 1) + min);