diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index e7b5fc9ee5..ca999946af 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -2387,8 +2387,6 @@ namespace CalamityMod.CalPlayer if (!mediumcoreDeath) { - if (player.name == "Aleksh" || player.name == "Shark Lad") - items.Add(createItem(ModContent.ItemType())); items.Add(createItem(ModContent.ItemType())); items.Add(createItem(ModContent.ItemType())); items.Add(createItem(ModContent.ItemType())); diff --git a/Items/TreasureBags/StarterBag.cs b/Items/TreasureBags/StarterBag.cs index 73156c9ba8..aaa86fe5ac 100644 --- a/Items/TreasureBags/StarterBag.cs +++ b/Items/TreasureBags/StarterBag.cs @@ -1,4 +1,4 @@ - +using CalamityMod.Items.Pets; using CalamityMod.Items.DifficultyItems; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.Weapons.Summon; @@ -24,10 +24,7 @@ namespace CalamityMod.Items.TreasureBags item.rare = 1; } - public override bool CanRightClick() - { - return true; - } + public override bool CanRightClick() => true; public override void RightClick(Player player) { @@ -54,13 +51,16 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(player, ItemID.Torch, 25); DropHelper.DropItem(player, ItemID.Chest, 3); - // Difficulty items - DropHelper.DropItem(player, ModContent.ItemType()); - DropHelper.DropItem(player, ModContent.ItemType()); + // Difficulty items (doesn't drop in Normal) + DropHelper.DropItemCondition(player, ModContent.ItemType(), Main.expertMode); + DropHelper.DropItemCondition(player, ModContent.ItemType(), Main.expertMode); // Speedrun King Slime DropHelper.DropItem(player, ItemID.SlimeCrown); + // The Lad + DropHelper.DropItemCondition(player, ModContent.ItemType(), player.name == "Aleksh" || player.name == "Shark Lad"); + // Music box (if music mod installed) Mod musicMod = ModLoader.GetMod("CalamityModMusic"); if (musicMod != null)