From 80c8168e4faf4e01a1fd853021cd14d2fe0cd6c7 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 11 Jun 2022 21:08:18 -0500 Subject: [PATCH] Aquatic Aberrations no longer natural spawn --- NPCs/Leviathan/AquaticAberration.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/NPCs/Leviathan/AquaticAberration.cs b/NPCs/Leviathan/AquaticAberration.cs index 3fbe839160..c51ec75b9b 100644 --- a/NPCs/Leviathan/AquaticAberration.cs +++ b/NPCs/Leviathan/AquaticAberration.cs @@ -56,8 +56,8 @@ namespace CalamityMod.NPCs.Leviathan bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.Ocean, - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("All head and stomach, they will gorge and guzzle upon vast schools of fish on their own.") + // Will move to localization whenever that is cleaned up. + new FlavorTextBestiaryInfoElement("All head and stomach, they will gorge and guzzle upon vast schools of fish on their own.") }); } @@ -253,15 +253,6 @@ namespace CalamityMod.NPCs.Leviathan } } - public override float SpawnChance(NPCSpawnInfo spawnInfo) - { - if (spawnInfo.PlayerSafe || spawnInfo.Player.Calamity().ZoneSulphur || (!NPC.downedPlantBoss && !DownedBossSystem.downedCalamitas)) - { - return 0f; - } - return SpawnCondition.OceanMonster.Chance * 0.02f; - } - public override void OnHitPlayer(Player player, int damage, bool crit) { player.AddBuff(BuffID.Bleeding, 240, true);