From 8eec1cc284ed3ab4c982a54d678128b8feb16d64 Mon Sep 17 00:00:00 2001 From: Jordyrat <77755681+Jordyrat@users.noreply.github.com> Date: Sun, 5 May 2024 12:17:13 +0100 Subject: Improvement: Royal Pigeon Ability Cooldown (#1705) Co-authored-by: BuildTools --- .../skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt | 1 + .../features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt | 4 ++++ 2 files changed, 5 insertions(+) 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 256beb0de..9c612695d 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( VOODOO_DOLL_WILTED(3), FIRE_FURY_STAFF(20), SHADOW_FURY(15, "STARRED_SHADOW_FURY"), + ROYAL_PIGEON(5), // 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 c48a28eff..910896271 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 @@ -169,6 +169,10 @@ class ItemAbilityCooldown { event.soundName == "random.drink" && event.pitch.round(1) == 1.8f && event.volume == 1.0f -> { ItemAbility.HOLY_ICE.sound() } + // Royal Pigeon + event.soundName == "mob.bat.idle" && event.pitch == 0.4920635f && event.volume == 1.0f -> { + ItemAbility.ROYAL_PIGEON.sound() + } } } -- cgit