From 7214e2f4ab5df57ddb8deff1ac93ce36353fbfef Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 17 May 2024 13:17:58 -0400 Subject: [PATCH] Depth Crusher buff --- Items/Weapons/Melee/DepthCrusher.cs | 4 ++-- Projectiles/Melee/DepthCrusherProjectile.cs | 10 +++++----- Projectiles/Melee/DepthCrusherSplitProjectile.cs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Items/Weapons/Melee/DepthCrusher.cs b/Items/Weapons/Melee/DepthCrusher.cs index 1714581a67..86f994eb02 100644 --- a/Items/Weapons/Melee/DepthCrusher.cs +++ b/Items/Weapons/Melee/DepthCrusher.cs @@ -16,12 +16,12 @@ namespace CalamityMod.Items.Weapons.Melee { Item.width = 56; Item.height = 50; - Item.damage = 35; + Item.damage = 48; Item.knockBack = 7.25f; Item.useTime = 65; Item.useAnimation = 65; Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 3f; + Item.shootSpeed = 6f; Item.noMelee = true; Item.noUseGraphic = true; diff --git a/Projectiles/Melee/DepthCrusherProjectile.cs b/Projectiles/Melee/DepthCrusherProjectile.cs index 8e65dbcd00..d0b0e7f55d 100644 --- a/Projectiles/Melee/DepthCrusherProjectile.cs +++ b/Projectiles/Melee/DepthCrusherProjectile.cs @@ -105,7 +105,7 @@ namespace CalamityMod.Projectiles.Melee } Projectile.rotation += (0.4f * (MathF.Abs(Projectile.velocity.Y) * 0.2f + 0.6f)) * Projectile.direction; - if (Projectile.velocity.Y < 20) + if (Projectile.velocity.Y < 16) Projectile.velocity.Y += Projectile.numHits >= 3 ? 0.7f : 0.4f; if (Projectile.numHits >= 3) { @@ -119,7 +119,7 @@ namespace CalamityMod.Projectiles.Melee if (Projectile.velocity.Y > 0) Projectile.velocity.X *= 0.975f; - if (Collision.SolidCollision(Projectile.Center, 15, 15)) + if (Collision.SolidCollision(Projectile.Center, 25, 25)) { Projectile.tileCollide = true; } @@ -133,9 +133,9 @@ namespace CalamityMod.Projectiles.Melee if (!setDamage) { if (Projectile.velocity.Y > 0) - Projectile.velocity.Y = -9; + Projectile.velocity.Y -= 6; else - Projectile.velocity.Y = -7; + Projectile.velocity.Y = -6; } for (int i = 0; i < 15; i++) @@ -195,7 +195,7 @@ namespace CalamityMod.Projectiles.Melee SoundEngine.PlaySound(HitSound, Projectile.Center); for (int i = 0; i < 3; i++) { - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, new Vector2(0, -5).RotatedByRandom(0.6f) * Main.rand.NextFloat(0.9f, 1.1f), ModContent.ProjectileType(), startDamage / 4, Projectile.knockBack / 4, Projectile.owner); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Bottom, new Vector2(0, -5).RotatedByRandom(0.6f) * Main.rand.NextFloat(0.9f, 1.1f), ModContent.ProjectileType(), (int)(startDamage * 0.3f), Projectile.knockBack / 4, Projectile.owner); } Projectile.Kill(); } diff --git a/Projectiles/Melee/DepthCrusherSplitProjectile.cs b/Projectiles/Melee/DepthCrusherSplitProjectile.cs index 5c2b6ef338..4da528c2f8 100644 --- a/Projectiles/Melee/DepthCrusherSplitProjectile.cs +++ b/Projectiles/Melee/DepthCrusherSplitProjectile.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Projectiles.Melee } if (Time > 20 && Time < (randTimer - 70)) { - CalamityUtils.HomeInOnNPC(Projectile, true, 280f, MathHelper.Clamp(1f + Time * 0.06f, 1, 10), 20f); + CalamityUtils.HomeInOnNPC(Projectile, true, 384f, MathHelper.Clamp(1f + Time * 0.12f, 1, 11), 20f); } else if (Time >= (randTimer - 70)) {