Add boss bags
This commit is contained in:
@@ -2,6 +2,8 @@ using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using ForgottenWawiTech.Content.Items.TreasureBags;
|
||||
|
||||
namespace ForgottenWawiTech.Content.NPCs.OriginalLexy
|
||||
{
|
||||
@@ -36,6 +38,11 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalLexy
|
||||
NPC.checkDead();
|
||||
}
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<LexyBossBag>()));
|
||||
}
|
||||
|
||||
public override void OnKill()
|
||||
{
|
||||
/* // Spawn LexyNPC when killed
|
||||
|
||||
Reference in New Issue
Block a user