From 2b609d488ac84ea02f2ba73b3c261bb7a5d85052 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 17 Apr 2020 13:43:07 -0400 Subject: [PATCH] parenthesis --- NPCs/Signus/Signus.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index 736f404789..c162a24ea9 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -771,7 +771,7 @@ namespace CalamityMod.NPCs.Signus 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 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 + 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);