added another condition for hotkey

This commit is contained in:
Nathanael Overton authored and Cameron Ewell committed 2026-06-10 14:46:16 -04:00
1 parent 2d749f1118
commit 77fe435f2b
1 file changed
+2 -1
+2 -1
View File
@@ -72,7 +72,8 @@ namespace CalamityMod.Items.Accessories
public override void PostUpdateEquips()
{
if (CalamityKeybinds.SpringStoolJumpHotKey.JustPressed && springStool && Main.myPlayer == Player.whoAmI && !Player.HasCooldown(Stooldown.ID) && !Player.mount.Active && hasGroundedSinceJump)
// Ensures the special jump initiates only works when unmounted, not grappled to a surface, and the ability is off cooldown
if (CalamityKeybinds.SpringStoolJumpHotKey.JustPressed && springStool && Main.myPlayer == Player.whoAmI && !Player.HasCooldown(Stooldown.ID) && !Player.mount.Active && hasGroundedSinceJump && !(Player.grappling[0] >= 0))
{
springStoolTimer = 12;