Solar Veils now only drop post-Cal Clone

This commit is contained in:
CongratsIsTrash committed 2024-03-13 14:30:03 -04:00
1 parent 6781d2756d
commit dbfea82daa
2 files changed
+5 -6

No files matched your search

+5 -5
View File
@@ -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<SolarVeil>(), 2, 2, 4);
postCal.Add(ModContent.ItemType<SolarVeil>(), 2, 2, 4);
postDoG.Add(ModContent.ItemType<DarksunFragment>(), 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<SolarVeil>(), 2, 2, 4);
postCal.Add(ModContent.ItemType<SolarVeil>(), 2, 2, 4);
postDoG.Add(ModContent.ItemType<DarksunFragment>(), 2);
break;
-1
View File
@@ -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"));