Skip to content

Commit

Permalink
my bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieaer committed Apr 15, 2024
1 parent f0cfed8 commit 0eb5700
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/essentials/Trigger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ object Trigger {
if ((LocalDate.now(ZoneOffset.UTC).toEpochDay() - data.lastLoginDate!!.toEpochDay()) == 1L) {
data.joinStacks++
when {
data.joinStacks <= 3 -> data.expMultiplier = 1.5
data.joinStacks <= 7 -> data.expMultiplier = 2.5
data.joinStacks <= 15 -> data.expMultiplier = 5.0
data.joinStacks >= 15 -> data.expMultiplier = 5.0
data.joinStacks >= 7 -> data.expMultiplier = 2.5
data.joinStacks >= 3 -> data.expMultiplier = 1.5
}
} else if ((LocalDate.now(ZoneOffset.UTC).toEpochDay() - data.lastLoginDate!!.toEpochDay()) >= 2L) {
data.joinStacks = 0
Expand Down

0 comments on commit 0eb5700

Please # to comment.