From 0d1c8c35c3eabad26617fedc19be50e42d134d4f Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Tue, 1 Aug 2023 20:26:07 -0400 Subject: [PATCH] waffles% considerations --- Items/SummonItems/EyeofDesolation.cs | 13 +++++++------ NPCs/NormalNPCs/Eidolist.cs | 4 +++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Items/SummonItems/EyeofDesolation.cs b/Items/SummonItems/EyeofDesolation.cs index 59b1b5f195..96e352eb89 100644 --- a/Items/SummonItems/EyeofDesolation.cs +++ b/Items/SummonItems/EyeofDesolation.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.SummonItems public int spawnYAdd = 0; public override void SetStaticDefaults() { - ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Pirate Map + ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Pirate Map } public override void SetDefaults() @@ -40,10 +40,10 @@ namespace CalamityMod.Items.SummonItems Item.consumable = false; } - public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) - { - itemGroup = ContentSamples.CreativeHelper.ItemGroup.BossItem; - } + public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) + { + itemGroup = ContentSamples.CreativeHelper.ItemGroup.BossItem; + } public override bool CanUseItem(Player player) { @@ -105,7 +105,8 @@ namespace CalamityMod.Items.SummonItems { CreateRecipe(). AddIngredient(ItemID.HellstoneBar, 10). - AddIngredient(7). + // waffles% stipulation: you can only get 5 essences of havoc from the music box, not 7, and cal clone must be accessible + AddIngredient(5). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/NPCs/NormalNPCs/Eidolist.cs b/NPCs/NormalNPCs/Eidolist.cs index b3759948fb..abaa9716bd 100644 --- a/NPCs/NormalNPCs/Eidolist.cs +++ b/NPCs/NormalNPCs/Eidolist.cs @@ -314,7 +314,9 @@ namespace CalamityMod.NPCs.NormalNPCs public override float SpawnChance(NPCSpawnInfo spawnInfo) { - if (!Main.hardMode || NPC.AnyNPCs(ModContent.NPCType())) + // waffles% stipulation: eidolists are accessible by beating cal clone, even without beating WoF + bool hardmodeOrCalClone = Main.hardMode || DownedBossSystem.downedCalamitasClone; + if (!hardmodeOrCalClone || NPC.AnyNPCs(ModContent.NPCType())) { return 0f; }