Depth Crusher buff

This commit is contained in:
CongratsIsTrash committed 2024-05-17 13:17:58 -04:00
1 parent 859563abb7
commit 7214e2f4ab
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -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<DepthCrusherProjectile>();
Item.shootSpeed = 3f;
Item.shootSpeed = 6f;
Item.noMelee = true;
Item.noUseGraphic = true;
+5 -5
View File
@@ -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<DepthCrusherSplitProjectile>(), 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<DepthCrusherSplitProjectile>(), (int)(startDamage * 0.3f), Projectile.knockBack / 4, Projectile.owner);
}
Projectile.Kill();
}
@@ -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))
{