diff options
author | Jordyrat <77755681+Jordyrat@users.noreply.github.com> | 2024-05-05 12:17:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 13:17:13 +0200 |
commit | 8eec1cc284ed3ab4c982a54d678128b8feb16d64 (patch) | |
tree | 9e872a45ca4a2aeabc054a96a3ed1d66dd8d0523 | |
parent | 7df3dfd3cdbe66acea868211eb6a703d2ae623bf (diff) | |
download | skyhanni-8eec1cc284ed3ab4c982a54d678128b8feb16d64.tar.gz skyhanni-8eec1cc284ed3ab4c982a54d678128b8feb16d64.tar.bz2 skyhanni-8eec1cc284ed3ab4c982a54d678128b8feb16d64.zip |
Improvement: Royal Pigeon Ability Cooldown (#1705)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
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 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() + } } } |