From 906ca72c85eb2dfbdb73a8b04fc58085167e4c1b Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 31 Mar 2020 15:33:14 -0400 Subject: [PATCH] updated astral/abyss crate drops --- Items/Fishing/AstralCatches/AstralCrate.cs | 4 +++- Items/Fishing/SulphurCatches/AbyssalCrate.cs | 18 ++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Items/Fishing/AstralCatches/AstralCrate.cs b/Items/Fishing/AstralCatches/AstralCrate.cs index 352c2a6725..6f7119b24d 100644 --- a/Items/Fishing/AstralCatches/AstralCrate.cs +++ b/Items/Fishing/AstralCatches/AstralCrate.cs @@ -1,3 +1,4 @@ +using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; using CalamityMod.Items.Critters; using CalamityMod.Items.Placeables; @@ -68,7 +69,8 @@ namespace CalamityMod.Items.Fishing.AstralCatches ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType()); + ModContent.ItemType(), + ModContent.ItemType()); //Pet DropHelper.DropItemChance(player, ModContent.ItemType(), 10); diff --git a/Items/Fishing/SulphurCatches/AbyssalCrate.cs b/Items/Fishing/SulphurCatches/AbyssalCrate.cs index 5c90e29d98..ee7d0da02a 100644 --- a/Items/Fishing/SulphurCatches/AbyssalCrate.cs +++ b/Items/Fishing/SulphurCatches/AbyssalCrate.cs @@ -44,13 +44,23 @@ namespace CalamityMod.Items.Fishing.SulphurCatches public override void RightClick(Player player) { //Modded materials - DropHelper.DropItem(player, ItemID.Starfish, 2, 3); - DropHelper.DropItem(player, ItemID.Seashell, 2, 3); - DropHelper.DropItem(player, ItemID.Coral, 2, 3); DropHelper.DropItem(player, ModContent.ItemType(), 5, 10); + DropHelper.DropItem(player, ModContent.ItemType(), 5, 10); + DropHelper.DropItem(player, ModContent.ItemType(), 5, 10); + DropHelper.DropItemChance(player, ItemID.Starfish, 0.5f, 2, 3); + DropHelper.DropItemChance(player, ItemID.Seashell, 0.5f, 2, 3); + DropHelper.DropItemChance(player, ItemID.Coral, 0.5f, 2, 3); DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 2, 3); DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 2, 3); - if (NPC.downedPlantBoss || CalamityWorld.downedCalamitas) + if (CalamityWorld.downedEoCAcidRain) + { + DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 5, 10); + } + if (CalamityWorld.downedAquaticScourgeAcidRain) + { + DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 5, 10); + } + if (CalamityWorld.downedCalamitas) { DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 5, 10); DropHelper.DropItemChance(player, ModContent.ItemType(), 0.5f, 5, 10);