From a2935f61ce9a877bf73688c342b944da7c185148 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Mon, 20 Jul 2020 16:16:28 -0400 Subject: [PATCH] Added Soul of Spite to underworld drops with 20% chance (36% expert) after Plantera --- Content/Items/Misc/Souls/SoulofSpite.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content/Items/Misc/Souls/SoulofSpite.cs b/Content/Items/Misc/Souls/SoulofSpite.cs index 543838a..341ccc6 100644 --- a/Content/Items/Misc/Souls/SoulofSpite.cs +++ b/Content/Items/Misc/Souls/SoulofSpite.cs @@ -31,7 +31,7 @@ namespace Decimation.Content.Items.Misc.Souls { public override void NPCLoot(NPC npc) { - if (Main.LocalPlayer.ZoneUnderworldHeight && + if (NPC.downedPlantBoss && Main.LocalPlayer.ZoneUnderworldHeight && (!Main.expertMode && Main.rand.NextBool(5) || Main.expertMode && Main.rand.NextBool(9, 26))) Item.NewItem((int) npc.position.X, (int) npc.position.Y, npc.width, npc.height, ModContent.ItemType());