Add boss bags

This commit is contained in:
2025-11-21 14:14:57 +00:00
parent 02177bb173
commit bd2427e102
17 changed files with 269 additions and 9 deletions
+7
View File
@@ -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