Signus Mine and Siren Lure now unlock on boss kill

This commit is contained in:
sunny-raindrops committed 2026-03-31 11:06:00 -07:00
1 parent a0437eb0d9
commit b17203c30e
2 files changed
+7

No files matched your search

+3
View File
@@ -64,6 +64,9 @@ namespace CalamityMod.NPCs.Leviathan
public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)
{
int associatedNPCType = ModContent.NPCType<Anahita>();
bestiaryEntry.UIInfoProvider = new CommonEnemyUICollectionInfoProvider(ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[associatedNPCType], quickUnlock: true);
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[]
{
BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.Ocean,
+4
View File
@@ -19,6 +19,7 @@ namespace CalamityMod.NPCs.Signus
public override void SetStaticDefaults()
{
NPCID.Sets.TrailingMode[Type] = 1;
NPCID.Sets.BossBestiaryPriority.Add(Type);
}
public override void SetDefaults()
@@ -42,6 +43,9 @@ namespace CalamityMod.NPCs.Signus
public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry)
{
int associatedNPCType = ModContent.NPCType<Signus>();
bestiaryEntry.UIInfoProvider = new CommonEnemyUICollectionInfoProvider(ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[associatedNPCType], quickUnlock: true);
bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[]
{
BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheUnderworld,