From 03495193478419b1055f6fedeb2c997864d9ff42 Mon Sep 17 00:00:00 2001 From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Date: Wed, 10 May 2023 22:04:41 +0900 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E9=80=A3=E7=B6=9A=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=82=A4=E3=83=B3=E3=81=AE=E3=83=A1=E3=83=B3=E3=83=86?= =?UTF-8?q?=E3=83=8A=E3=83=B3=E3=82=B9=E8=A3=9C=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../github/unchama/seichiassist/task/PlayerDataLoading.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/unchama/seichiassist/task/PlayerDataLoading.scala b/src/main/scala/com/github/unchama/seichiassist/task/PlayerDataLoading.scala index ef1eac42e8..71688c7a88 100644 --- a/src/main/scala/com/github/unchama/seichiassist/task/PlayerDataLoading.scala +++ b/src/main/scala/com/github/unchama/seichiassist/task/PlayerDataLoading.scala @@ -233,7 +233,7 @@ object PlayerDataLoading { if (dateDiff >= 1L) { val newTotalLoginDay = playerData.loginStatus.totalLoginDay + 1 val newConsecutiveLoginDays = - if (dateDiff <= 2L) + if (dateDiff <= 28L) playerData.loginStatus.consecutiveLoginDays + 1 else 1 From dfcf05b8a165420a2f8e75a17d92b9bbfee0f38d Mon Sep 17 00:00:00 2001 From: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Date: Wed, 10 May 2023 22:42:14 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E9=80=A3=E7=B6=9A=E6=8A=95?= =?UTF-8?q?=E7=A5=A8=E3=81=AE=E3=81=97=E3=81=8D=E3=81=84=E5=80=A4=E3=81=AE?= =?UTF-8?q?=E3=83=A1=E3=83=B3=E3=83=86=E3=83=8A=E3=83=B3=E3=82=B9=E8=A3=9C?= =?UTF-8?q?=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subsystems/vote/infrastructure/JdbcVotePersistence.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/unchama/seichiassist/subsystems/vote/infrastructure/JdbcVotePersistence.scala b/src/main/scala/com/github/unchama/seichiassist/subsystems/vote/infrastructure/JdbcVotePersistence.scala index 35d8b6644a..cfa56cdde4 100644 --- a/src/main/scala/com/github/unchama/seichiassist/subsystems/vote/infrastructure/JdbcVotePersistence.scala +++ b/src/main/scala/com/github/unchama/seichiassist/subsystems/vote/infrastructure/JdbcVotePersistence.scala @@ -9,7 +9,7 @@ import java.util.UUID class JdbcVotePersistence[F[_]: Sync] extends VotePersistence[F] { // NOTE: 連続投票日数許容幅を変更する場合はここを変更してください。 - private val consecutiveVoteStreakDaysThreshold = 1 + private val consecutiveVoteStreakDaysThreshold = 28 override def createPlayerData(uuid: UUID): F[Unit] = Sync[F].delay { DB.localTx { implicit session => From c1bbd0a96679dd1b29a3d1b7e8a9e902676d3d47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 10 May 2023 13:58:42 +0000 Subject: [PATCH 3/3] chore(bump): 77 -> 78 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index ce496a0c94..aeea0bc4e3 100644 --- a/build.sbt +++ b/build.sbt @@ -8,7 +8,7 @@ import java.io._ ThisBuild / scalaVersion := "2.13.4" // ThisBuild / version はGitHub Actionsによって取得/自動更新される。 // 次の行は ThisBuild / version := "(\d*)" の形式でなければならない。 -ThisBuild / version := "77" +ThisBuild / version := "78" ThisBuild / organization := "click.seichi" ThisBuild / description := "ギガンティック☆整地鯖の独自要素を司るプラグイン"