From d25165e86b2b32f955b484b8acbfc5672dc29bbf Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 17 Apr 2020 13:28:16 -0400 Subject: [PATCH] guidelight of oblivion drop fix --- NPCs/Signus/Signus.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index d4c7ba9bea..736f404789 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -770,8 +770,8 @@ namespace CalamityMod.NPCs.Signus // Weapons DropHelper.DropItemChance(npc, ModContent.ItemType(), Main.expertMode ? 3 : 4); float f = Main.rand.NextFloat(); - bool replaceWithRare = f <= DropHelper.RareVariantDropRateFloat; // 1/40 chance overall of getting Lantern of the Soul - if (Main.rand.NextBool(Main.expertMode ? 3 : 4)) // 1/3 (1/4 in normal) chance of getting Cosmilamp OR Lantern of the Soul replacing it + bool replaceWithRare = f <= DropHelper.RareVariantDropRateFloat; // 1/40 chance overall of getting Guidelight of Oblivion + if (f <= Main.expertMode ? 0.3333f : 0.25f) // 1/3 (1/4 in normal) chance of getting Cosmilamp OR Guidelight of Oblivion replacing it { DropHelper.DropItemCondition(npc, ModContent.ItemType(), !replaceWithRare); DropHelper.DropItemCondition(npc, ModContent.ItemType(), replaceWithRare);