Skip to content

Commit

Permalink
Feature: Tactical Insertion Ability Cooldown (#2278)
Browse files Browse the repository at this point in the history
Co-authored-by: ericweres <128173839+ericweres@users.noreply.github.com>
  • Loading branch information
DungeonHub and ericweres authored Jul 31, 2024
1 parent 9329efd commit a21584a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

Expand Down

0 comments on commit a21584a

Please sign in to comment.