aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-10 21:48:09 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-10 21:48:09 +0200
commitba3859cbeeb289c3a9f696a17501496c75899769 (patch)
treed0cf58e4727951defe696569f46181080349fd72 /src
parentf96a686d95cfe00e1e9b65e19e8bec34d3e8d8f9 (diff)
downloadskyhanni-ba3859cbeeb289c3a9f696a17501496c75899769.tar.gz
skyhanni-ba3859cbeeb289c3a9f696a17501496c75899769.tar.bz2
skyhanni-ba3859cbeeb289c3a9f696a17501496c75899769.zip
Reduced trapper cooldown from 60s to 30s when finnegan perk is active
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
index 35831f55c..21427c6b0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
@@ -7,6 +7,7 @@ import at.hannibal2.skyhanni.data.TitleUtils
import at.hannibal2.skyhanni.events.CheckRenderEntityEvent
import at.hannibal2.skyhanni.events.LorenzChatEvent
import at.hannibal2.skyhanni.events.withAlpha
+import at.hannibal2.skyhanni.features.garden.farming.GardenCropSpeed
import at.hannibal2.skyhanni.mixins.hooks.RenderLivingEntityHelper
import at.hannibal2.skyhanni.test.GriffinUtils.drawWaypointFilled
import at.hannibal2.skyhanni.test.command.CopyErrorCommand
@@ -86,7 +87,7 @@ class TrevorFeatures {
var matcher = trapperPattern.matcher(event.message.removeColor())
if (matcher.matches()) {
- timeUntilNextReady = 61
+ timeUntilNextReady = if (GardenCropSpeed.finneganPerkActive()) 31 else 61
currentStatus = TrapperStatus.ACTIVE
currentLabel = "§cActive Quest"
trapperReady = false