aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorDungeonHub <ericreeper64mc@gmail.com>2024-07-31 23:40:15 +0200
committerGitHub <noreply@github.com>2024-07-31 23:40:15 +0200
commita21584aee893bab5113d96e1b27497ae749f1e12 (patch)
tree81cbdb99ebe57cc3db8c9038bed7dd17e8ca2040 /src/main
parent9329efdc7aa23e83b2c541ea30d21b7d281c040e (diff)
downloadskyhanni-a21584aee893bab5113d96e1b27497ae749f1e12.tar.gz
skyhanni-a21584aee893bab5113d96e1b27497ae749f1e12.tar.bz2
skyhanni-a21584aee893bab5113d96e1b27497ae749f1e12.zip
Feature: Tactical Insertion Ability Cooldown (#2278)
Co-authored-by: ericweres <128173839+ericweres@users.noreply.github.com>
Diffstat (limited to 'src/main')
-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.kt7
2 files changed, 8 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 593828a61..de7bc8bdf 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
@@ -49,6 +49,7 @@ enum class ItemAbility(
SHADOW_FURY(15, "STARRED_SHADOW_FURY"),
ROYAL_PIGEON(5),
WAND_OF_STRENGTH(10),
+ TACTICAL_INSERTION(20),
// 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 ac813c88a..567adb251 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
@@ -179,6 +179,13 @@ object ItemAbilityCooldown {
event.soundName == "random.eat" && event.pitch == 0.4920635f && event.volume == 1.0f -> {
ItemAbility.WAND_OF_STRENGTH.sound()
}
+ // Tactical Insertion
+ event.soundName == "fire.ignite" && event.pitch == 0.74603176f && event.volume == 1.0f -> {
+ ItemAbility.TACTICAL_INSERTION.activate(LorenzColor.DARK_PURPLE, 3_000)
+ }
+ event.soundName == "mob.zombie.remedy" && event.pitch == 1.8888888f && event.volume == 0.7f -> {
+ ItemAbility.TACTICAL_INSERTION.activate(null, 17_000)
+ }
}
}