1 - Cryogen is now forced to be visible when it transitions to final phase.

2 - Night Provi should now spawn her crystal.
3 - Medium Perf Worm HP reduced.
This commit is contained in:
Andrew Marheine committed 2020-10-08 23:47:54 -05:00
1 parent e9ea686f1c
commit b7988c6596
5 files changed
+5 -14

No files matched your search

+1
View File
@@ -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;
+1 -6
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -6
View File
@@ -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;
+1 -1
View File
@@ -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;