OSDN Git Service

fix: fix album timing
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 6 Jan 2022 14:17:19 +0000 (23:17 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 6 Jan 2022 14:17:19 +0000 (23:17 +0900)
generated/albumCycle.json
generated/database.json
src/com/ranfa/lib/EstimateAlbumTypeCycle.java

index 35658b1..0a70ea1 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "type" : "ALBUM C",
-  "daysLeft" : 1,
-  "dateDefinited" : "2021/12/11"
+  "type" : "ALBUM B",
+  "daysLeft" : 3,
+  "dateDefinited" : "2022/01/06"
 }
\ No newline at end of file
index fccfe37..10c637f 100644 (file)
     "level" : 29,
     "notes" : 887,
     "albumType" : "ALBUM B"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "DEBUT",
+    "level" : 7,
+    "notes" : 111,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "REGULAR",
+    "level" : 13,
+    "notes" : 172,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "PRO",
+    "level" : 18,
+    "notes" : 361,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "MASTER",
+    "level" : 26,
+    "notes" : 563,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "MASTER+",
+    "level" : 30,
+    "notes" : 843,
+    "albumType" : "Not-implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "PIANO",
+    "level" : 26,
+    "notes" : 563,
+    "albumType" : "Not-Implemented"
+  }, {
+    "attribute" : "全タイプ",
+    "name" : "ココカラミライヘ!",
+    "difficulty" : "FORTE",
+    "level" : 32,
+    "notes" : 924,
+    "albumType" : "Not-Implemented"
   } ]
 }
\ No newline at end of file
index 1b78c24..6e9efc5 100644 (file)
@@ -105,7 +105,7 @@ public class EstimateAlbumTypeCycle {
        }
 
        private static String cycling(String currentType, int times) {
-               int cyclingDelta = (times / 14) % 3;
+               int cyclingDelta = ((times / 14) + 1) % 3;
                String[] typeArray = {
                                ALBUM_A,
                                ALBUM_B,