shawenguan 1 an în urmă
părinte
comite
ca94f24222
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  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);