& removed Brimmy dropping Crags Pylon in favor of NPCs selling it regardless of Happiness

This commit is contained in:
pixlgray committed 2022-08-09 23:46:03 -04:00
1 parent b3ebb8dbd9
commit 6ad2c81d96
1 file changed
-7
@@ -172,9 +172,6 @@ namespace CalamityMod.NPCs.BrimstoneElemental
public override void ModifyNPCLoot(NPCLoot npcLoot)
{
// Conditional for changing the drop rate for Crags Pylons depending on if Brimmy is defeated or not.
var guaranteeCragsPylon = npcLoot.DefineConditionalDropSet(() => !DownedBossSystem.downedBrimstoneElemental);
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<BrimstoneWaifuBag>()));
// Normal drops: Everything that would otherwise be in the bag
@@ -212,10 +209,6 @@ namespace CalamityMod.NPCs.BrimstoneElemental
// Lore
npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedBrimstoneElemental, ModContent.ItemType<KnowledgeBrimstoneElemental>());
// Crags Pylon
guaranteeCragsPylon.Add(ModContent.ItemType<CragsPylon>()); // guaranteed on first kill
npcLoot.AddIf(() => DownedBossSystem.downedBrimstoneElemental, ModContent.ItemType<CragsPylon>(), 4); // 25% chance on subsequent kills
}
public override void OnKill()