From e97f82fe54356f1d8b00f4368fe4c4bf89e1aee3 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sun, 23 Aug 2020 23:31:42 -0400 Subject: [PATCH] Removed dash exploit fix because of worse exploit --- CalPlayer/CalamityPlayer.cs | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 1ef6998f06..7bea2a74b7 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -3715,9 +3715,6 @@ namespace CalamityMod.CalPlayer if (weakPetrification) WeakPetrification(); - if (player.mount.Active || player.mount.Cart || cementShoes || (CalamityConfig.Instance.BossRushDashCurse && BossRushEvent.BossRushActive)) - DashExploitFix(true); - if (silvaCountdown > 0 && hasSilvaEffect && silvaSet) { if (player.lifeRegen < 0) @@ -3741,9 +3738,6 @@ namespace CalamityMod.CalPlayer if (weakPetrification) WeakPetrification(); - if (player.mount.Active || player.mount.Cart || cementShoes || (CalamityConfig.Instance.BossRushDashCurse && BossRushEvent.BossRushActive)) - DashExploitFix(true); - if (silvaCountdown > 0 && hasSilvaEffect && silvaSet) { if (player.lifeRegen < 0) @@ -3758,23 +3752,6 @@ namespace CalamityMod.CalPlayer } #endregion - #region Dash Exploit Fix - private void DashExploitFix(bool mount) - { - if (player.dashDelay != 0) - { - player.velocity *= 0.3f; - player.dashDelay = 0; - } - - if (!mount) - return; - - player.dash = 0; - dashMod = 0; - } - #endregion - #region PostUpdate public override void PostUpdateMiscEffects()