using Decimation.Content.Items.Accessories; using Decimation.Content.Items.Weapons.Arachnus; using Decimation.Lib.Items; using Terraria; using Terraria.ModLoader; namespace Decimation.Content.Items.Boss.Arachnus { internal class ArachnusTreasureBag : DecimationTreasureBag { public override int BossBagNPC => ModContent.NPCType(); public override void OpenBossBag(Player player) { switch (Main.rand.Next(3)) { case 0: player.QuickSpawnItem(ModContent.ItemType()); break; case 1: player.QuickSpawnItem(ModContent.ItemType()); break; case 2: player.QuickSpawnItem(ModContent.ItemType()); break; } player.QuickSpawnItem(ModContent.ItemType()); } } }