Several boss fixes:

- Hive Mind and Perforators only appear on Boss Checklist in worlds of their respective evil
- Fixed Primordial Wyrm not being marked as defeated
- Fixed SCal being able to fire projectiles in the one frame between bros dying and phase transition
This commit is contained in:
CongratsIsTrash committed 2025-10-26 21:20:04 -04:00
1 parent 7752d55e5a
commit d6bd9c6053
3 files changed
+15 -2

No files matched your search

+4
View File
@@ -419,9 +419,11 @@ namespace CalamityMod
string entryName = "HiveMind";
BossChecklistProgressionValues.TryGetValue(entryName, out float order);
int type = NPCType<HiveMind>();
Func<bool> IsCorruption = () => !WorldGen.crimson || Main.drunkWorld;
List<int> collection = new List<int>() { ItemType<HiveMindRelic>(), ItemType<HiveMindTrophy>(), ItemType<HiveMindMask>(), ItemType<LoreHiveMind>(), ItemType<RottingEyeball>(), ItemType<ThankYouPainting>() };
AddBoss(bossChecklist, calamity, entryName, order, DownedHiveMind, type, new Dictionary<string, object>()
{
["availability"] = IsCorruption,
["spawnInfo"] = GetSpawnInfo(entryName),
["despawnMessage"] = GetDespawnMessage(entryName),
["spawnItems"] = ItemType<Teratoma>(),
@@ -435,9 +437,11 @@ namespace CalamityMod
string entryName = "Perforators";
BossChecklistProgressionValues.TryGetValue(entryName, out float order);
int type = NPCType<PerforatorHive>();
Func<bool> IsCrimson = () => WorldGen.crimson || Main.drunkWorld;
List<int> collection = new List<int>() { ItemType<PerforatorsRelic>(), ItemType<PerforatorTrophy>(), ItemType<PerforatorMask>(), ItemType<LorePerforators>(), ItemType<BloodyVein>(), ItemType<ThankYouPainting>() };
AddBoss(bossChecklist, calamity, entryName, order, DownedPerforators, type, new Dictionary<string, object>()
{
["availability"] = IsCrimson,
["displayName"] = GetDisplayName(entryName),
["spawnInfo"] = GetSpawnInfo(entryName),
["despawnMessage"] = GetDespawnMessage(entryName),