aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbilityCooldown.kt5
2 files changed, 6 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 b8c0e306a..9fd8eeeab 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
@@ -37,6 +37,7 @@ enum class ItemAbility(
SWORD_OF_BAD_HEALTH(5),
WITHER_CLOAK(10),
HOLY_ICE(4),
+ VOODOO_DOLL_WILTED(3),
// doesn't have a sound
ENDER_BOW("Ender Warp", 30, "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 dc746c0d5..309a1ab70 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
@@ -68,6 +68,11 @@ class ItemAbilityCooldown {
ItemAbility.VOODOO_DOLL.sound()
}
}
+ if (event.soundName == "random.successful_hit") {
+ if (event.volume == 1.0f && event.pitch == 0.7936508f) {
+ ItemAbility.VOODOO_DOLL_WILTED.sound()
+ }
+ }
if (event.soundName == "random.explode") {
if (event.pitch == 4.047619f && event.volume == 0.2f) {
ItemAbility.GOLEM_SWORD.sound()