From 8a02c858c7d4418112e7d65315db45ffb2a1ffb7 Mon Sep 17 00:00:00 2001 From: GinYuH Date: Thu, 22 Dec 2022 01:47:48 -0800 Subject: [PATCH] defender now actually takes more damage from piercing --- NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs index 284f0c9449..a3764b2f4c 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs @@ -433,7 +433,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians player.AddBuff(ModContent.BuffType(), 240, true); } - public override void OnHitByProjectile(Projectile projectile, int damage, float knockback, bool crit) + public override void ModifyHitByProjectile(Projectile projectile, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) { // eat projectiles but take more damage based on piercing in the zenith seed, move to zenith seed later if (Main.getGoodWorld && !projectile.minion)