From 8da877db73f7d0e64a67fba459257ced8116601e Mon Sep 17 00:00:00 2001 From: DominicKarma <51094361+DominicKarma@users.noreply.github.com> Date: Mon, 11 Apr 2022 11:38:14 -0500 Subject: [PATCH] Fixed normal mode Exo Mech weapon loot --- NPCs/ExoMechs/Ares/AresBody.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 17092c4127..d724194d93 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -1308,15 +1308,15 @@ namespace CalamityMod.NPCs.ExoMechs.Ares LeadingConditionRule normalOnly = new LeadingConditionRule(new Conditions.NotExpert()); mainDrops.Add(normalOnly); - bool ThanatosLoot() => npc.type == ModContent.NPCType() || DownedBossSystem.downedThanatos; - bool AresLoot() => npc.type == ModContent.NPCType() || DownedBossSystem.downedAres; - bool ApolloLoot() => npc.type == ModContent.NPCType() || DownedBossSystem.downedArtemisAndApollo; + bool ThanatosLoot(DropAttemptInfo info) => info.npc.type == ModContent.NPCType() || DownedBossSystem.downedThanatos; + bool AresLoot(DropAttemptInfo info) => info.npc.type == ModContent.NPCType() || DownedBossSystem.downedAres; + bool ApolloLoot(DropAttemptInfo info) => info.npc.type == ModContent.NPCType() || DownedBossSystem.downedArtemisAndApollo; // Trophies - mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => npc.type == ModContent.NPCType()), ModContent.ItemType())); - mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => npc.type == ModContent.NPCType()), ModContent.ItemType())); - mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => npc.type == ModContent.NPCType()), ModContent.ItemType())); - mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => npc.type == ModContent.NPCType()), ModContent.ItemType())); + mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); + mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); + mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); + mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); // Lore item mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedExoMechs), ModContent.ItemType()));