diff options
author | saga <45262877+saga-00@users.noreply.github.com> | 2024-05-29 04:49:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 09:49:44 +0200 |
commit | 8fcc5125090660daccb30c34f5d15b44e97ae304 (patch) | |
tree | dcd8e9705d7fa52f3849cf10c7dad9d7329661cd /src/main/java/at/hannibal2/skyhanni/features | |
parent | 8ce2c5c720a69380816484805d971f919f2d0c59 (diff) | |
download | skyhanni-8fcc5125090660daccb30c34f5d15b44e97ae304.tar.gz skyhanni-8fcc5125090660daccb30c34f5d15b44e97ae304.tar.bz2 skyhanni-8fcc5125090660daccb30c34f5d15b44e97ae304.zip |
Feature: Croesus Limit (#1908)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt index fa297d6fa..d87e02796 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt @@ -230,6 +230,10 @@ class CroesusChestTracker { if ((croesusChests?.size ?: 0) > maxChests) { croesusChests?.dropLast(1) } + + if (config.croesusLimit && getLastActiveChest() >= 55) { + ChatUtils.chat("You are close to the Croesus Limit. Please open your chests!") + } } private fun Int.getRun() = getRun0(this) |