crate loot and added potion fish to alluring bait list
This commit is contained in:
1 parent
e14b5da8bd
commit
6d9a58ae8e
3 files changed
+62
No files matched your search
@@ -7307,6 +7307,15 @@ namespace CalamityMod.CalPlayer
|
||||
fishList.Add(ItemID.DoubleCod);
|
||||
}
|
||||
}
|
||||
if (ZoneAstral)
|
||||
{
|
||||
fishList.Add(ModContent.ItemType<TwinklingPollox>());
|
||||
}
|
||||
if (ZoneSunkenSea)
|
||||
{
|
||||
fishList.Add(ModContent.ItemType<CoralskinFoolfish>());
|
||||
fishList.Add(ModContent.ItemType<SunkenSailfish>());
|
||||
}
|
||||
}
|
||||
|
||||
if (fishList.Any())
|
||||
|
||||
@@ -1510,6 +1510,58 @@ namespace CalamityMod.Items
|
||||
#region Boss Bag Changes
|
||||
public override void OpenVanillaBag(string context, Player player, int arg)
|
||||
{
|
||||
if (context == "crate")
|
||||
{
|
||||
switch (arg)
|
||||
{
|
||||
case ItemID.WoodenCrate:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<WulfrumShard>(), 4, 3, 5);
|
||||
break;
|
||||
|
||||
case ItemID.IronCrate:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<WulfrumShard>(), 4, 5, 8);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<AncientBoneDust>(), 4, 5, 8);
|
||||
break;
|
||||
|
||||
case ItemID.CorruptFishingCrate:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<FetidEssence>(), 4, 5, 8);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<EbonianGel>(), 4, 5, 8);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<MurkySludge>(), 5, 1, 3);
|
||||
break;
|
||||
|
||||
case ItemID.CrimsonFishingCrate:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<BloodlettingEssence>(), 4, 5, 8);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<EbonianGel>(), 4, 5, 8);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<MurkySludge>(), 5, 1, 3);
|
||||
break;
|
||||
|
||||
case ItemID.HallowedFishingCrate:
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<UnholyEssence>(), CalamityWorld.downedProvidence, 0.2f, 5, 10);
|
||||
break;
|
||||
|
||||
case ItemID.DungeonFishingCrate:
|
||||
DropHelper.DropItemCondition(player, ItemID.Ectoplasm, NPC.downedPlantBoss, 0.3f, 5, 10);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<Phantoplasm>(), CalamityWorld.downedPolterghast, 0.2f, 5, 10);
|
||||
break;
|
||||
|
||||
case ItemID.JungleFishingCrate:
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<MurkyPaste>(), 5, 1, 3);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<ManeaterBulb>(), 5, 1, 3);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<BeetleJuice>(), Main.hardMode, 0.2f, 1, 3);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<TrapperBulb>(), Main.hardMode, 0.2f, 1, 3);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<DraedonBar>(), NPC.downedPlantBoss, 0.25f, 5, 10);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<PlagueCellCluster>(), NPC.downedGolemBoss, 0.2f, 3, 6);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<UeliaceBar>(), CalamityWorld.downedProvidence, 0.25f, 5, 10);
|
||||
break;
|
||||
|
||||
case ItemID.FloatingIslandFishingCrate:
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<AerialiteBar>(), (CalamityWorld.downedHiveMind || CalamityWorld.downedPerforator), 0.25f, 5, 10);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<EssenceofCinder>(), Main.hardMode, 0.2f, 5, 15);
|
||||
DropHelper.DropItemCondition(player, ModContent.ItemType<GalacticaSingularity>(), NPC.downedMoonlord, 0.1f, 1, 3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (context == "bossBag")
|
||||
{
|
||||
// Give a chance for Laudanum, Stress Pills and Heart of Darkness from every boss bag
|
||||
|
||||
@@ -57,6 +57,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches
|
||||
{
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<AstralOre>(), 0.5f, 10, 20);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<AstralBar>(), 0.25f, 5, 10);
|
||||
DropHelper.DropItemChance(player, ModContent.ItemType<MeldBlob>(), 0.25f, 5, 10);
|
||||
}
|
||||
|
||||
// Weapons
|
||||
|
||||
Reference in new issue
Block a user