From dbfea82daa18989b7406e3acb4ac230fc511f1cd Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 13 Mar 2024 14:30:03 -0400 Subject: [PATCH] Solar Veils now only drop post-Cal Clone --- NPCs/CalamityGlobalNPCLoot.cs | 10 +++++----- Utilities/DropHelper.cs | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 5265b28b0f..dd1195ff83 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -80,7 +80,7 @@ namespace CalamityMod.NPCs // Progression shortcuts LeadingConditionRule postEoC = npcLoot.DefineConditionalDropSet(DropHelper.PostEoC()); LeadingConditionRule hardmode = npcLoot.DefineConditionalDropSet(DropHelper.Hardmode()); - LeadingConditionRule postCalPlant = npcLoot.DefineConditionalDropSet(DropHelper.PostCalPlant()); + LeadingConditionRule postCal = npcLoot.DefineConditionalDropSet(DropHelper.PostCal()); LeadingConditionRule postLevi = npcLoot.DefineConditionalDropSet(DropHelper.PostLevi()); LeadingConditionRule postDoG = npcLoot.DefineConditionalDropSet(DropHelper.PostDoG()); @@ -586,24 +586,24 @@ namespace CalamityMod.NPCs break; // Reaper, Psycho - // 2-4 Solar Veil @ 50% IF Clone or Plant dead + // 2-4 Solar Veil @ 50% IF Cal Clone dead // Darksun Fragment @ 50% IF Devourer of Gods dead case NPCID.Reaper: case NPCID.Psycho: - postCalPlant.Add(ModContent.ItemType(), 2, 2, 4); + postCal.Add(ModContent.ItemType(), 2, 2, 4); postDoG.Add(ModContent.ItemType(), 2); break; // Vampire / Vampire Bat (same enemy) // Moon Stone @ 15% INSTEAD OF 2.86% // Bat Hook @ 2.5% Normal, 5% Expert+ - // 2-4 Solar Veil @ 50% IF Clone or Plant dead + // 2-4 Solar Veil @ 50% IF Cal Clone dead // Darksun Fragment @ 50% IF Devourer of Gods dead case NPCID.VampireBat: case NPCID.Vampire: npcLoot.ChangeDropRate(ItemID.MoonStone, 3, 20); npcLoot.Add(ItemDropRule.NormalvsExpert(ItemID.BatHook, 40, 20)); - postCalPlant.Add(ModContent.ItemType(), 2, 2, 4); + postCal.Add(ModContent.ItemType(), 2, 2, 4); postDoG.Add(ModContent.ItemType(), 2); break; diff --git a/Utilities/DropHelper.cs b/Utilities/DropHelper.cs index 454f36258d..5cbc22d183 100644 --- a/Utilities/DropHelper.cs +++ b/Utilities/DropHelper.cs @@ -595,7 +595,6 @@ namespace CalamityMod public static IItemDropRuleCondition Post3Mechs(bool ui = true) => If(() => NPC.downedMechBoss1 && NPC.downedMechBoss2 && NPC.downedMechBoss3, ui, CalamityUtils.GetTextValue("Condition.Drops.Downed3Mechs")); public static IItemDropRuleCondition PostCal(bool ui = true) => If(() => DownedBossSystem.downedCalamitasClone, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedCal")); public static IItemDropRuleCondition PostPlant(bool ui = true) => If(() => NPC.downedPlantBoss, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedPlant")); - public static IItemDropRuleCondition PostCalPlant(bool ui = true) => If(() => DownedBossSystem.downedCalamitasClone || NPC.downedPlantBoss, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedCalPlant")); public static IItemDropRuleCondition PostLevi(bool ui = true) => If(() => DownedBossSystem.downedLeviathan, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedLebi")); public static IItemDropRuleCondition PostAureus(bool ui = true) => If(() => DownedBossSystem.downedAstrumAureus, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedAureus")); public static IItemDropRuleCondition PostGolem(bool ui = true) => If(() => NPC.downedGolemBoss, ui, CalamityUtils.GetTextValue("Condition.Drops.DownedGolem"));