Merge branch 'fixes-and-balancing' of https://github.com/UncleDanny/CalamityMod into fixes-and-balancing
This commit is contained in:
commit
cd83027750
2 files changed
+7
-1
No files matched your search
@@ -34,6 +34,8 @@ namespace CalamityMod.Events
|
||||
// A partially bright pale-ish cyan with a hint of yellow.
|
||||
public static readonly Color TextColor = new Color(115, 194, 147);
|
||||
|
||||
public static int MaxNuclearToadCount = 5; // To prevent the things from spamming. This happens frequently in pre-HM.
|
||||
|
||||
public const int InvasionNoKillPersistTime = 14400; // How long the invasion persists, in frames, if nothing is killed.
|
||||
|
||||
public const float BloodwormSpawnRate = 0.1f;
|
||||
|
||||
@@ -4132,7 +4132,7 @@ namespace CalamityMod.NPCs
|
||||
{
|
||||
pool.Clear();
|
||||
|
||||
if (!(CalamityWorld.downedPolterghast && CalamityWorld.acidRainPoints == 2))
|
||||
if (!(CalamityWorld.downedPolterghast && CalamityWorld.acidRainPoints == 1))
|
||||
{
|
||||
Dictionary<int, AcidRainSpawnData> PossibleEnemies = AcidRainEvent.PossibleEnemiesPreHM;
|
||||
Dictionary<int, AcidRainSpawnData> PossibleMinibosses = new Dictionary<int, AcidRainSpawnData>();
|
||||
@@ -4194,6 +4194,10 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
}
|
||||
}
|
||||
if (NPC.CountNPCS(NPCType<NuclearToad>()) >= AcidRainEvent.MaxNuclearToadCount)
|
||||
{
|
||||
pool.Remove(NPCType<NuclearToad>());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user