diff options
author | saga <45262877+saga-00@users.noreply.github.com> | 2024-05-30 20:09:28 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 01:09:28 +0200 |
commit | a4002fdeeb6deee896930a232def29b45bffc558 (patch) | |
tree | 5e4e5ebdbbd43895160f601b6decf5248d9a2c1c /src/main/java/at/hannibal2/skyhanni | |
parent | 4509e8e04255a6c224bada3c15c1feca642f5339 (diff) | |
download | skyhanni-a4002fdeeb6deee896930a232def29b45bffc558.tar.gz skyhanni-a4002fdeeb6deee896930a232def29b45bffc558.tar.bz2 skyhanni-a4002fdeeb6deee896930a232def29b45bffc558.zip |
Feature: Wand of Strength cooldown tracker (#1948)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
2 files changed, 5 insertions, 0 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 586521b4b..593828a61 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 @@ -48,6 +48,7 @@ enum class ItemAbility( FIRE_FURY_STAFF(20), SHADOW_FURY(15, "STARRED_SHADOW_FURY"), ROYAL_PIGEON(5), + WAND_OF_STRENGTH(10), // doesn't have a sound ENDER_BOW("Ender Warp", 5, "Ender Bow"), 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 0c937b020..2ce1da3d4 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 @@ -173,6 +173,10 @@ class ItemAbilityCooldown { event.soundName == "mob.bat.idle" && event.pitch == 0.4920635f && event.volume == 1.0f -> { ItemAbility.ROYAL_PIGEON.sound() } + + event.soundName == "random.eat" && event.pitch == 0.4920635f && event.volume == 1.0f -> { + ItemAbility.WAND_OF_STRENGTH.sound() + } } } |