diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index ccc404f423..daf08dd730 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -709,6 +709,7 @@ namespace CalamityMod.NPCs.Cryogen npc.ai[1] = 0f; npc.localAI[0] = 0f; npc.localAI[2] = 0f; + npc.Opacity = 1f; teleportLocationX = 0; iceShard = 0; npc.netUpdate = true; diff --git a/NPCs/Perforator/PerforatorBodyMedium.cs b/NPCs/Perforator/PerforatorBodyMedium.cs index 0634a09149..e1cb651959 100644 --- a/NPCs/Perforator/PerforatorBodyMedium.cs +++ b/NPCs/Perforator/PerforatorBodyMedium.cs @@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.Perforator npc.width = 40; npc.height = 40; npc.defense = 6; - npc.LifeMaxNERB(180, 200, 70000); + npc.LifeMaxNERB(160, 180, 70000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; @@ -49,11 +49,6 @@ namespace CalamityMod.NPCs.Perforator npc.scale = 1.1f; } - public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) - { - return false; - } - public override void AI() { npc.realLife = -1; diff --git a/NPCs/Perforator/PerforatorHeadMedium.cs b/NPCs/Perforator/PerforatorHeadMedium.cs index e244ea8ace..3f3dcb40e3 100644 --- a/NPCs/Perforator/PerforatorHeadMedium.cs +++ b/NPCs/Perforator/PerforatorHeadMedium.cs @@ -28,7 +28,7 @@ namespace CalamityMod.NPCs.Perforator npc.width = 58; npc.height = 68; npc.defense = 2; - npc.LifeMaxNERB(180, 200, 70000); + npc.LifeMaxNERB(160, 180, 70000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; diff --git a/NPCs/Perforator/PerforatorTailMedium.cs b/NPCs/Perforator/PerforatorTailMedium.cs index a6e1153621..2c9d1a7a6c 100644 --- a/NPCs/Perforator/PerforatorTailMedium.cs +++ b/NPCs/Perforator/PerforatorTailMedium.cs @@ -24,7 +24,7 @@ namespace CalamityMod.NPCs.Perforator npc.width = 40; npc.height = 50; npc.defense = 10; - npc.LifeMaxNERB(180, 200, 70000); + npc.LifeMaxNERB(160, 180, 70000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; npc.lifeMax += (int)(npc.lifeMax * HPBoost); npc.aiStyle = -1; @@ -49,11 +49,6 @@ namespace CalamityMod.NPCs.Perforator npc.scale = 1.1f; } - public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) - { - return false; - } - public override void AI() { npc.realLife = -1; diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index bbb9554464..74e4f72ef1 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -233,7 +233,7 @@ namespace CalamityMod.NPCs.Providence // Phase times float phaseTime = nightTime ? (300f - 120f * (1f - lifeRatio)) : 300f; - float crystalPhaseTime = nightTime ? (60f * lifeRatio) : death ? 60f : 120f; + float crystalPhaseTime = nightTime ? (float)Math.Round(60f * lifeRatio) : death ? 60f : 120f; int nightCrystalTime = 210; float attackDelayAfterCocoon = 90f;