From cf0ebe124f81f9c73719e8ddabf2074530beeeb1 Mon Sep 17 00:00:00 2001 From: Xyk Date: Wed, 4 Mar 2026 08:49:57 -0800 Subject: [PATCH] Balancing --- Items/Weapons/Melee/Basher.cs | 2 +- Projectiles/Melee/BasherHoldout.cs | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Items/Weapons/Melee/Basher.cs b/Items/Weapons/Melee/Basher.cs index 0c51b82f38..99890c2b25 100644 --- a/Items/Weapons/Melee/Basher.cs +++ b/Items/Weapons/Melee/Basher.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Melee { Item.width = 56; Item.height = 60; - Item.damage = 70; + Item.damage = 85; Item.DamageType = TrueMeleeDamageClass.Instance; Item.useAnimation = Item.useTime = 30; Item.useStyle = ItemUseStyleID.Swing; diff --git a/Projectiles/Melee/BasherHoldout.cs b/Projectiles/Melee/BasherHoldout.cs index 37c1181f30..1658497495 100644 --- a/Projectiles/Melee/BasherHoldout.cs +++ b/Projectiles/Melee/BasherHoldout.cs @@ -98,7 +98,7 @@ namespace CalamityMod.Projectiles.Melee if (!Owner.CantUseHoldout(false)) Projectile.timeLeft = 5; - Projectile.scale = Owner.GetMeleeScale(); + Projectile.scale = Owner.GetMeleeScale() + 0.1f; toMouse = Utils.DirectionTo(Owner.Center, Owner.ClampedMouseWorld()); Positioning(toMouse); @@ -107,12 +107,12 @@ namespace CalamityMod.Projectiles.Melee if (enabledHitbox > 0) { - bladefx = MathHelper.Lerp(bladefx, 1, 0.6f / Projectile.MaxUpdates); + bladefx = MathHelper.Lerp(bladefx, 1, 0.5f / Projectile.MaxUpdates * Owner.meleeSpeed); if (Projectile.FinalExtraUpdate()) enabledHitbox--; } else - bladefx = MathHelper.Lerp(bladefx, 0, 0.7f / Projectile.MaxUpdates); + bladefx = MathHelper.Lerp(bladefx, 0, 0.55f / Projectile.MaxUpdates * Owner.meleeSpeed); if (attackTimer == -1 || time < 25) { @@ -131,7 +131,7 @@ namespace CalamityMod.Projectiles.Melee float lerp = Utils.GetLerpValue(cooldown, -1, attackTimer, true); - float lerpSpeed = 0.2f / Projectile.MaxUpdates; + float lerpSpeed = 0.2f / Projectile.MaxUpdates * Owner.meleeSpeed; float maxAngle = MathHelper.PiOver4; if (swingCount % 2 == 0) angledHold = MathHelper.Lerp(angledHold, maxAngle, lerpSpeed); @@ -193,12 +193,12 @@ namespace CalamityMod.Projectiles.Melee } - if (lerp > 0.5f) // Halfway through make the hitbox and sound + if (lerp > 0.4f) // Partway through make the hitbox and sound { if (makeSound) { - enabledHitbox = 10; - SoundEngine.PlaySound(SoundID.DD2_MonkStaffSwing with { Volume = 0.6f, Pitch = Main.rand.NextFloat(-0.35f, -0.55f) }, Projectile.Center); + enabledHitbox = 8; + SoundEngine.PlaySound(SoundID.DD2_MonkStaffSwing with { Volume = 0.75f, Pitch = Main.rand.NextFloat(-0.35f, -0.55f) }, Projectile.Center); makeSound = false; } } @@ -222,10 +222,10 @@ namespace CalamityMod.Projectiles.Melee Owner.SetScreenshake(2f); SoundStyle bash1 = new("CalamityMod/Sounds/Item/DampExplosion"); - SoundEngine.PlaySound(bash1 with { Volume = 0.35f, Pitch = 0.7f }, Projectile.Center); + SoundEngine.PlaySound(bash1 with { Volume = 0.45f, Pitch = 0.7f }, Projectile.Center); SoundStyle bash2 = new("CalamityMod/Sounds/NPCHit/RavagerRockPillarHit", 3); - SoundEngine.PlaySound(bash2 with { Volume = 0.65f, Pitch = -0.2f }, Projectile.Center); - SoundEngine.PlaySound(SoundID.DrumTomHigh with { Volume = 0.45f, Pitch = -0.9f }, Projectile.Center); + SoundEngine.PlaySound(bash2 with { Volume = 0.75f, Pitch = -0.2f }, Projectile.Center); + SoundEngine.PlaySound(SoundID.DrumTomHigh with { Volume = 0.55f, Pitch = -0.9f }, Projectile.Center); Vector2 playerLaunchVel = -toMouse * 10; Owner.velocity = playerLaunchVel; @@ -258,7 +258,7 @@ namespace CalamityMod.Projectiles.Melee if (time < 3) return false; - Texture2D texture = ModContent.Request("CalamityMod/Items/Weapons/Melee/Basher").Value; + Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; Texture2D swoosh = ModContent.Request("CalamityMod/Particles/VerticalSmearThin").Value; Vector2 drawPosition = Projectile.Center - Main.screenPosition;