diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-27 00:47:46 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-27 00:47:46 +0200 |
commit | b3c5979a64af565b8215caa0ace675a412a3c91c (patch) | |
tree | befed01a750bea9ad21270f2faa718934e039b03 /src/main/java | |
parent | f5d0d8118c96a6ed98ae95f15dd49df9bd86dc29 (diff) | |
download | skyhanni-b3c5979a64af565b8215caa0ace675a412a3c91c.tar.gz skyhanni-b3c5979a64af565b8215caa0ace675a412a3c91c.tar.bz2 skyhanni-b3c5979a64af565b8215caa0ace675a412a3c91c.zip |
Changed cooldown for weirder tuba from 20 to 30 seconds
Diffstat (limited to 'src/main/java')
2 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt index de49befd8..8f62d5266 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt @@ -32,7 +32,8 @@ enum class ItemAbility( STAFF_OF_THE_VOLCANO(30), STARLIGHT_WAND(2), VOODOO_DOLL(5), - WEIRD_TUBA(20, "WEIRDER_TUBA"), + WEIRD_TUBA(20), + WEIRDER_TUBA(30), FIRE_FREEZE_STAFF(10), SWORD_OF_BAD_HEALTH(5), WITHER_CLOAK(10), diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt index e7137bf17..afb1210aa 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt @@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.features.itemabilities.abilitycooldown import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.ItemRenderBackground.Companion.background import at.hannibal2.skyhanni.events.* +import at.hannibal2.skyhanni.features.rift.everywhere.RiftAPI import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.ItemUtils import at.hannibal2.skyhanni.utils.ItemUtils.cleanName @@ -90,7 +91,11 @@ class ItemAbilityCooldown { } if (event.soundName == "mob.wolf.howl") { if (event.volume == 0.5f) { - ItemAbility.WEIRD_TUBA.sound() + if (!RiftAPI.inRift()) { + ItemAbility.WEIRD_TUBA.sound() + } else { + ItemAbility.WEIRDER_TUBA.sound() + } } } if (event.soundName == "mob.zombie.unfect") { |