Add boss bags
This commit is contained in:
@@ -4,6 +4,8 @@ using Terraria.ModLoader;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria.Chat;
|
||||
using Terraria.Localization;
|
||||
using Terraria.GameContent.ItemDropRules;
|
||||
using ForgottenWawiTech.Content.Items.TreasureBags;
|
||||
|
||||
namespace ForgottenWawiTech.Content.NPCs.OriginalNeptune
|
||||
{
|
||||
@@ -132,5 +134,10 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalNeptune
|
||||
// Immediate sync of world flags
|
||||
WorldDefeatedBosses.Sync(ModContent.GetInstance<ForgottenWawiTech>());
|
||||
}
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
npcLoot.Add(ItemDropRule.BossBag(ModContent.ItemType<NeptuneBossBag>()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user