Added Soul of Spite to underworld drops with 20% chance (36% expert) after Plantera
This commit is contained in:
parent
2fb91f2390
commit
a2935f61ce
@ -31,7 +31,7 @@ namespace Decimation.Content.Items.Misc.Souls
|
|||||||
{
|
{
|
||||||
public override void NPCLoot(NPC npc)
|
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)))
|
(!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,
|
Item.NewItem((int) npc.position.X, (int) npc.position.Y, npc.width, npc.height,
|
||||||
ModContent.ItemType<SoulofSpite>());
|
ModContent.ItemType<SoulofSpite>());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user