shawenguan hace 1 año
padre
commit
ca94f24222
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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);