diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index e9aaf2aac9..ea9ce614c8 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -7485,7 +7485,7 @@ namespace CalamityMod.CalPlayer } if (ZoneAstral) { - fishList.Add(ModContent.ItemType()); + fishList.Add(ModContent.ItemType()); } if (ZoneSunkenSea) { @@ -7532,6 +7532,20 @@ namespace CalamityMod.CalPlayer if (chanceForRareItems < 6) chanceForRareItems = 6; + if (lava) + { + if (Main.rand.Next(100) < chanceForCrates) + { + if (Main.rand.NextBool(chanceForRareItems) && enchantedPearl && fishingStation && player.cratePotion) + { + if (ZoneCalamity) + { + caughtType = ModContent.ItemType(); + } + } + } + } + if (water) { if (Main.rand.Next(100) < chanceForCrates) @@ -7625,10 +7639,6 @@ namespace CalamityMod.CalPlayer { biomeCrateList.Add(ModContent.ItemType()); } - if (ZoneCalamity) - { - biomeCrateList.Add(ModContent.ItemType()); - } if (player.ZoneCorrupt) { biomeCrateList.Add(ItemID.CorruptFishingCrate); @@ -7704,19 +7714,23 @@ namespace CalamityMod.CalPlayer { caughtType = ItemID.ZephyrFish; } - else if (astralFish >= 75) //25% + else if (astralFish >= 85) //15% { caughtType = ModContent.ItemType(); } - else if (astralFish <= 74 && astralFish >= 60) //15% + else if (astralFish <= 84 && astralFish >= 70) //15% { caughtType = ModContent.ItemType(); } - else if (player.cratePotion && astralFish <= 9 && astralFish >= 28) //20% + else if (astralFish <= 69 && astralFish >= 55) //15% + { + caughtType = ModContent.ItemType(); + } + else if (player.cratePotion && astralFish <= 28 && astralFish >= 9) //20% { caughtType = ModContent.ItemType(); } - else if (!player.cratePotion && astralFish <= 9 && astralFish >= 18) //10% + else if (!player.cratePotion && astralFish <= 18 && astralFish >= 9) //10% { caughtType = ModContent.ItemType(); } @@ -7732,7 +7746,7 @@ namespace CalamityMod.CalPlayer { caughtType = ModContent.ItemType(); } - else //41% w/o crate pot, 31% w/ crate pot + else //31% w/o crate pot, 21% w/ crate pot { caughtType = ModContent.ItemType(); } diff --git a/Items/Fishing/AstralCatches/AldebaranAlewife.cs b/Items/Fishing/AstralCatches/AldebaranAlewife.cs new file mode 100644 index 0000000000..3d3828dc51 --- /dev/null +++ b/Items/Fishing/AstralCatches/AldebaranAlewife.cs @@ -0,0 +1,23 @@ +using Terraria; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Fishing.AstralCatches +{ + public class AldebaranAlewife : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Aldebaran Alewife"); + Tooltip.SetDefault("A star-struck entity in the form of a fish"); + } + + public override void SetDefaults() + { + item.width = 38; + item.height = 36; + item.maxStack = 999; + item.value = Item.sellPrice(silver: 8); + item.rare = 1; + } + } +} diff --git a/Items/Fishing/AstralCatches/AldebaranAlewife.png b/Items/Fishing/AstralCatches/AldebaranAlewife.png new file mode 100644 index 0000000000..c40ffec7f7 Binary files /dev/null and b/Items/Fishing/AstralCatches/AldebaranAlewife.png differ diff --git a/Items/Placeables/AstralSand.cs b/Items/Placeables/AstralSand.cs index 836173a8f4..15ef6d1f59 100644 --- a/Items/Placeables/AstralSand.cs +++ b/Items/Placeables/AstralSand.cs @@ -1,4 +1,5 @@ using CalamityMod.Projectiles.Ranged; +using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables { @@ -11,19 +12,21 @@ namespace CalamityMod.Items.Placeables public override void SetDefaults() { - item.createTile = ModContent.TileType(); - item.useStyle = 1; - item.useTurn = true; - item.useAnimation = 15; - item.useTime = 10; - item.autoReuse = true; - item.consumable = true; item.width = 16; item.height = 16; item.maxStack = 999; - item.shoot = ModContent.ProjectileType(); - item.shootSpeed = 15f; - item.ammo = 169; + //item.ammo = AmmoID.Sand; + //item.shoot = ModContent.ProjectileType(); + //item.notAmmo = true; + //item.shootSpeed = 15f; + item.useStyle = 1; + item.useTurn = true; + item.useAnimation = 15; + item.useTime = 10; + item.autoReuse = true; + item.consumable = true; + item.createTile = ModContent.TileType(); + item.noMelee = true; } } } diff --git a/Items/Potions/GravityNormalizerPotion.cs b/Items/Potions/GravityNormalizerPotion.cs index 93f4fed544..47fe871041 100644 --- a/Items/Potions/GravityNormalizerPotion.cs +++ b/Items/Potions/GravityNormalizerPotion.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Potions ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ItemID.GravitationPotion); recipe.AddIngredient(ModContent.ItemType()); - recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(TileID.AlchemyTable); recipe.SetResult(this); recipe.AddRecipe();