From 5e793fdeece65d132d6300e5a5323707a38b2b4c Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Tue, 21 Dec 2021 23:24:14 -0600 Subject: [PATCH] 1 - Astrum Deus now has DR like it should, reduced defense to compensate. 2 - Naked Storm Weaver now has DR to compensate for the loss of timed DR. --- NPCs/AstrumDeus/AstrumDeusBodySpectral.cs | 3 ++- NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs | 3 ++- NPCs/AstrumDeus/AstrumDeusTailSpectral.cs | 3 ++- NPCs/StormWeaver/StormWeaverBody.cs | 4 +++- NPCs/StormWeaver/StormWeaverHead.cs | 4 +++- NPCs/StormWeaver/StormWeaverTail.cs | 3 +++ 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs index 24b8438a41..d5a50c3855 100644 --- a/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusBodySpectral.cs @@ -25,7 +25,8 @@ namespace CalamityMod.NPCs.AstrumDeus npc.npcSlots = 5f; npc.width = 38; npc.height = 44; - npc.defense = 50; + npc.defense = 35; + npc.DR_NERD(0.2f); npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); diff --git a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs index 8cdbbcc8dc..75852d1daf 100644 --- a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs @@ -40,7 +40,8 @@ namespace CalamityMod.NPCs.AstrumDeus npc.npcSlots = 5f; npc.width = 56; npc.height = 56; - npc.defense = 25; + npc.defense = 20; + npc.DR_NERD(0.1f); npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); diff --git a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs index 6943c7d338..74a16492be 100644 --- a/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusTailSpectral.cs @@ -25,7 +25,8 @@ namespace CalamityMod.NPCs.AstrumDeus npc.npcSlots = 5f; npc.width = 52; npc.height = 68; - npc.defense = 75; + npc.defense = 50; + npc.DR_NERD(0.3f); npc.LifeMaxNERB(200000, 240000, 650000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); diff --git a/NPCs/StormWeaver/StormWeaverBody.cs b/NPCs/StormWeaver/StormWeaverBody.cs index 09bb71515d..bf64088dfa 100644 --- a/NPCs/StormWeaver/StormWeaverBody.cs +++ b/NPCs/StormWeaver/StormWeaverBody.cs @@ -41,6 +41,7 @@ namespace CalamityMod.NPCs.StormWeaver // Phase one settings CalamityGlobalNPC global = npc.Calamity(); + npc.defense = 150; global.DR = 0.999999f; global.unbreakableDR = true; npc.chaseable = false; @@ -128,7 +129,8 @@ namespace CalamityMod.NPCs.StormWeaver Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/SWArmorBody3"), 1f); CalamityGlobalNPC global = npc.Calamity(); - global.DR = 0f; + npc.defense = 30; + global.DR = 0.2f; global.unbreakableDR = false; npc.chaseable = true; npc.HitSound = SoundID.NPCHit13; diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index a20b161df0..b6158706cf 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -77,6 +77,7 @@ namespace CalamityMod.NPCs.StormWeaver // Phase one settings CalamityGlobalNPC global = npc.Calamity(); + npc.defense = 150; global.DR = 0.999999f; global.unbreakableDR = true; npc.chaseable = false; @@ -197,7 +198,8 @@ namespace CalamityMod.NPCs.StormWeaver Main.PlaySound(SoundID.NPCDeath14, (int)npc.Center.X, (int)npc.Center.Y); CalamityGlobalNPC global = npc.Calamity(); - global.DR = 0f; + npc.defense = 15; + global.DR = 0.1f; global.unbreakableDR = false; npc.chaseable = true; npc.HitSound = SoundID.NPCHit13; diff --git a/NPCs/StormWeaver/StormWeaverTail.cs b/NPCs/StormWeaver/StormWeaverTail.cs index cd48559396..105f595b1a 100644 --- a/NPCs/StormWeaver/StormWeaverTail.cs +++ b/NPCs/StormWeaver/StormWeaverTail.cs @@ -121,6 +121,9 @@ namespace CalamityMod.NPCs.StormWeaver Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/SWArmorTail1"), 1f); Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/SWArmorTail2"), 1f); + CalamityGlobalNPC global = npc.Calamity(); + npc.defense = 45; + global.DR = 0.3f; npc.takenDamageMultiplier = 1f; npc.HitSound = SoundID.NPCHit13; npc.DeathSound = SoundID.NPCDeath13;