1 - Fixed Ceaseless Void beam portal lasers not moving

2 - Fixed Ceaseless Void phase transitions getting offset
3 - Final succ lasts a full minute in GFB
This commit is contained in:
CongratsIsTrash committed 2025-12-14 12:32:40 -05:00
1 parent b254b34d30
commit f80621cf6f
2 files changed
+8 -9

No files matched your search

+8 -8
View File
@@ -304,17 +304,17 @@ namespace CalamityMod.NPCs.CeaselessVoid
}
// Slowly die in final phase and then implode
// This phase lasts 20 seconds
// This phase lasts 20 seconds, 60 seconds in GFB
if (theBigSucc && calamityGlobalNPC.newAI[1] % 60f == 0f)
{
int damageIncrement = NPC.lifeMax / (Main.zenithWorld ? 600 : 200);
if (Main.netMode != NetmodeID.MultiplayerClient)
{
int damageAmt = NPC.lifeMax / 200;
NPC.life -= damageAmt;
NPC.DamageEffect(damageAmt);
NPC.life -= damageIncrement;
NPC.DamageEffect(damageIncrement);
}
if (NPC.life <= (NPC.lifeMax / 40) && !playedbuildsound)
if (NPC.life <= (damageIncrement * 5) && !playedbuildsound)
{
SoundEngine.PlaySound(BuildupSound, NPC.Center);
playedbuildsound = true;
@@ -580,15 +580,15 @@ namespace CalamityMod.NPCs.CeaselessVoid
// Spawn more Dark Energies as the fight progresses
if (calamityGlobalNPC.newAI[0] == 0f && NPC.life > 0)
calamityGlobalNPC.newAI[0] = NPC.lifeMax;
calamityGlobalNPC.newAI[0] = 1f;
if (NPC.life > 0)
{
int healthGateValue = (int)(NPC.lifeMax * 0.3);
if ((NPC.life + healthGateValue) < calamityGlobalNPC.newAI[0])
if (((NPC.life + healthGateValue) / (float)NPC.lifeMax) < calamityGlobalNPC.newAI[0])
{
NPC.TargetClosest();
calamityGlobalNPC.newAI[0] = NPC.life;
calamityGlobalNPC.newAI[0] -= 0.3f;
calamityGlobalNPC.newAI[1] = 0f;
calamityGlobalNPC.newAI[2] = 0f;
calamityGlobalNPC.newAI[3] = 0f;
-1
View File
@@ -117,7 +117,6 @@ namespace CalamityMod.Projectiles.Boss
{
SoundEngine.PlaySound(SoundID.Item33, Projectile.Center);
float speed = death ? 5f : revenge ? 4.5f : expertMode ? 4f : 3f;
speed *= Main.npc[CalamityGlobalNPC.voidBoss].ai[1];
int totalProjectiles = 3;
float radians = MathHelper.TwoPi / totalProjectiles;
for (int i = 0; i < totalProjectiles; i++)