A few Boss Rush changes:

* Decreased cooldown between boss spawns in tier 4 from 4 seconds to 3
* Fixed Twins only requiring killing Spazmatism to progress
* Fixed DoG still using its spawn dialogue
This commit is contained in:
CongratsIsTrash committed 2026-06-29 15:33:44 -04:00
1 parent fc82e6b04d
commit 717e2410dc
3 files changed
+22 -5

No files matched your search

+17 -3
View File
@@ -586,12 +586,14 @@ namespace CalamityMod.Events
// Cooldown and boss spawn.
if (BossRushSpawnCountdown <= 0 && BossRushStage < Bosses.Count)
{
// Cooldown before next boss spawns.
// Cooldown before next boss spawns. Defaults to 1 second.
BossRushSpawnCountdown = 60;
// Increase cooldown post-Moon Lord.
// Cooldown increases to 3 seconds in tier 4 and 4 seconds in tier 5.
if (BossRushStage >= Bosses.FindIndex(boss => boss.EntityID == NPCID.MoonLordCore))
BossRushSpawnCountdown += 180;
BossRushSpawnCountdown += 120;
if (BossRushStage >= Bosses.FindIndex(boss => boss.EntityID == ModContent.NPCType<DevourerofGodsHead>()))
BossRushSpawnCountdown += 60;
// Override the spawn countdown if specified.
if (BossRushStage < Bosses.Count - 1 && Bosses[BossRushStage + 1].SpecialSpawnCountdown != -1)
@@ -691,6 +693,18 @@ namespace CalamityMod.Events
}
}
// Both Twins must be killed to progress.
else if (npc.type == NPCID.Spazmatism || npc.type == NPCID.Retinazer)
{
int bossType = npc.type == NPCID.Spazmatism ? NPCID.Retinazer : NPCID.Spazmatism;
if (!NPC.AnyNPCs(bossType))
{
BossRushStage++;
CalamityUtils.KillAllHostileProjectiles();
HostileProjectileKillCounter = 3;
}
}
// Anahita and Leviathan manually check for each other (this probably isn't necessary).
else if (npc.type == ModContent.NPCType<Anahita>() || npc.type == ModContent.NPCType<Leviathan>())
{
@@ -598,7 +598,7 @@ TownPiggy: {
Techno: Techno
JohnPork: John Pork
Piglet: Piglet
Poogie: Poogie
Poogie: Poogie
}
Chat: {
+4 -1
View File
@@ -306,10 +306,13 @@ namespace CalamityMod.NPCs.DevourerofGods
public override void OnSpawn(IEntitySource source)
{
// Don't display the dialogue in Boss Rush
if (BossRushEvent.BossRushActive)
return;
string key = "Mods.CalamityMod.Status.Boss.DoGSpawn";
Color messageColor = Color.Cyan;
CalamityUtils.BroadcastLocalizedText(key, messageColor);
DialogueDisplaySystem.StartDialogue("Mods.CalamityMod.DevourerOfGods.Phases", NPC, 0, 120, false, new BossText());
}