Removed dash exploit fix because of worse exploit
This commit is contained in:
1 parent
fe8e29184c
commit
e97f82fe54
1 file changed
-23
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user