Fixed extra deus and exo mech drops

This commit is contained in:
GinYuH committed 2022-06-22 01:33:45 -07:00
1 parent e94953984c
commit cb1a6a5cb4
2 files changed
+6 -6

No files matched your search

+5 -5
View File
@@ -320,17 +320,17 @@ namespace CalamityMod.NPCs.AstrumDeus
}
npcLoot.Add(DropHelper.PerPlayer(ItemID.GreaterHealingPotion, 1, 8, 14));
npcLoot.Add(ModContent.ItemType<AstrumDeusTrophy>(), 10);
lastWorm.Add(ModContent.ItemType<AstrumDeusTrophy>(), 10);
// Relic
bool shouldDropRelic(DropAttemptInfo info) => (CalamityWorld.revenge || Main.masterMode) && !ShouldNotDropThings(info.npc);
npcLoot.AddIf(shouldDropRelic, ModContent.ItemType<AstrumDeusRelic>());
// Fragments
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentSolar, 1, 16, 24, 20, 32));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentVortex, 1, 16, 24, 20, 32));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentNebula, 1, 16, 24, 20, 32));
npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentStardust, 1, 16, 24, 20, 32));
lastWorm.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentSolar, 1, 16, 24, 20, 32));
lastWorm.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentVortex, 1, 16, 24, 20, 32));
lastWorm.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentNebula, 1, 16, 24, 20, 32));
lastWorm.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentStardust, 1, 16, 24, 20, 32));
// Lore
bool firstDeusKill(DropAttemptInfo info) => !DownedBossSystem.downedAstrumDeus && !ShouldNotDropThings(info.npc);
+1 -1
View File
@@ -1346,7 +1346,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType<Apollo.Apollo>()), ModContent.ItemType<ApolloTrophy>()));
// Relic
npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType<DraedonRelic>());
mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => Main.masterMode || CalamityWorld.revenge), ModContent.ItemType<DraedonRelic>()));
// Lore item
mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedExoMechs), ModContent.ItemType<KnowledgeExoMechs>()));