From 68aeda6a193ddc98f4ba27558c2f11af3eb8da72 Mon Sep 17 00:00:00 2001 From: doze-zoze Date: Thu, 27 Nov 2025 12:23:15 -0600 Subject: [PATCH] Pauldron & Ambergris CC nerfs - Pauldron only explodes on first hit target - Both Pauldron and Ambergris lose 33% damage per hit enemy - Due to having manual pierce falloff, they are now exempt from global pierce resist This leaves them identical on single targets but should reduce how hard they maul events --- Projectiles/Typeless/LeviAmberDash.cs | 5 +++-- Projectiles/Typeless/PauldronDash.cs | 12 +++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Projectiles/Typeless/LeviAmberDash.cs b/Projectiles/Typeless/LeviAmberDash.cs index 0ac512a5bc..a77ac9724f 100644 --- a/Projectiles/Typeless/LeviAmberDash.cs +++ b/Projectiles/Typeless/LeviAmberDash.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -using CalamityMod.CalPlayer; using CalamityMod.Dusts; +using CalamityMod.NPCs; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -12,6 +12,7 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.Typeless { + [PierceResistException] public class LeviAmberDash : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Typeless"; @@ -138,7 +139,7 @@ namespace CalamityMod.Projectiles.Typeless dust2.noGravity = false; dust2.fadeIn = Main.rand.NextFloat(0f, 1.2f); } - + Projectile.damage = (int)(Projectile.damage * 0.67f); } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, ExplosionRadius, targetHitbox); public override bool? CanDamage() => (isAlive ? null : false); diff --git a/Projectiles/Typeless/PauldronDash.cs b/Projectiles/Typeless/PauldronDash.cs index e2582783cb..f3007de542 100644 --- a/Projectiles/Typeless/PauldronDash.cs +++ b/Projectiles/Typeless/PauldronDash.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using CalamityMod.Dusts; +using CalamityMod.NPCs; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -11,6 +12,7 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.Typeless { + [PierceResistException] public class PauldronDash : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Typeless"; @@ -22,6 +24,8 @@ namespace CalamityMod.Projectiles.Typeless public bool isAlive = true; public bool visuals => Owner.Calamity().sPauldronVisual; public Vector2 aimVel; + + bool hasHit = false; public override void SetDefaults() { Projectile.width = (int)ExplosionRadius; @@ -154,7 +158,13 @@ namespace CalamityMod.Projectiles.Typeless Owner.SetScreenshake(4f); - Projectile.NewProjectile(Projectile.GetSource_FromThis(), target.Center, Vector2.Zero, ModContent.ProjectileType(), Projectile.damage / 5, 0, Projectile.owner); + if (!hasHit) + { + Projectile.NewProjectile(Projectile.GetSource_FromThis(), target.Center, Vector2.Zero, ModContent.ProjectileType(), Projectile.damage / 5, 0, Projectile.owner); + hasHit = true; + } + + Projectile.damage = (int)(Projectile.damage * 0.67f); } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, ExplosionRadius, targetHitbox); public override bool? CanDamage() => (isAlive ? null : false);