Removed dash exploit fix because of worse exploit

This commit is contained in:
Ozzatron committed 2020-08-23 23:31:42 -04:00
1 parent fe8e29184c
commit e97f82fe54
1 file changed
-23
-23
View File
@@ -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()