From 16f2bdaf55992253eded324527dde9872a4bb669 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 26 Jun 2021 08:30:16 -0500 Subject: [PATCH] Gave SCal a slight Onyx Bolt resist --- NPCs/CalamityGlobalNPC.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 29d57647d5..2010ed73c7 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -3919,6 +3919,10 @@ namespace CalamityMod.NPCs } else if (npc.type == NPCType()) { + // For Onyxia. + if (projectile.type == ProjectileID.BlackBolt) + damage = (int)(damage * 0.9); + if (projectile.type == ProjectileType() || projectile.type == ProjectileType() || projectile.type == ProjectileType() || projectile.type == ProjectileType()) {