Update CalamityPlayer.cs

This commit is contained in:
ben-tk committed 2022-05-14 12:04:33 -04:00
1 parent 21aaade866
commit 68e95d79fa
1 file changed
+7 -2
+7 -2
View File
@@ -2939,8 +2939,13 @@ namespace CalamityMod.CalPlayer
}
// Trigger for pressing the God Slayer dash key
if (CalamityKeybinds.GodSlayerDashHotKey.JustPressed && (Player.controlUp || Player.controlDown || Player.controlLeft || Player.controlRight) && !Player.pulley && Player.grappling[0] == -1 && !Player.tongued && !Player.mount.Active && !Player.HasCooldown(GodSlayerDash.ID) && Player.dashDelay == 0)
godSlayerDashHotKeyPressed = true;
if (CalamityKeybinds.GodSlayerDashHotKey.JustPressed)
{
if (godSlayer && (Player.controlUp || Player.controlDown || Player.controlLeft || Player.controlRight) && !Player.pulley && Player.grappling[0] == -1 && !Player.tongued && !Player.mount.Active && !Player.HasCooldown(GodSlayerDash.ID) && Player.dashDelay == 0)
{
godSlayerDashHotKeyPressed = true;
}
}
// Trigger for pressing the Rage hotkey.
if (CalamityKeybinds.RageHotKey.JustPressed)