From 5ef2b98b5b6a09b7b6ee97cd4f0a15480cbf60fc Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Fri, 5 Nov 2021 19:57:21 -0400 Subject: [PATCH] Thanatos resists GSS and Luminite bullets by 15% and Chicken Cannon by 50% --- NPCs/CalamityGlobalNPC.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 716e2d7c25..b2c3198a33 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -3517,6 +3517,10 @@ namespace CalamityMod.NPCs else if (projectile.Calamity().trueMelee) damage = (int)(damage * 0.35); + // 50% resist to Chicken Cannon. + if (projectile.type == ProjectileType()) + damage = (int)(damage * 0.5); + // 40% resist to Wrathwing stealth strike. else if (projectile.type == ProjectileType()) damage = (int)(damage * 0.6); @@ -3524,6 +3528,11 @@ namespace CalamityMod.NPCs // 25% resist to Eradicator beams. else if (projectile.type == ProjectileType()) damage = (int)(damage * 0.75); + + // 15% resist to God Slayer Slugs and Luminite Bullets. + else if (projectile.type == ProjectileID.MoonlordBullet || projectile.type == ProjectileType()) + damage = (int)(damage * 0.85); + } else if (npc.type == NPCType()) {