Aquatic Aberrations no longer natural spawn
This commit is contained in:
1 parent
b762dab0db
commit
80c8168e4f
1 file changed
+2
-11
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user