diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 7337982d55..c9a316eb48 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -5568,7 +5568,9 @@ namespace CalamityMod.CalPlayer int damageToDefense = (int)(newDamage * defenseStatDamageMult); defenseDamage += damageToDefense; - string text = (-damageToDefense).ToString(); + Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/DefenseDamage"), (int)player.position.X, (int)player.position.Y); + + string text = (-damageToDefense).ToString(); Color messageColor = Color.LightGray; Rectangle location = new Rectangle((int)player.position.X, (int)player.position.Y - 16, player.width, player.height); CombatText.NewText(location, messageColor, Language.GetTextValue(text)); @@ -6001,7 +6003,9 @@ namespace CalamityMod.CalPlayer int damageToDefense = (int)(newDamage * defenseStatDamageMult); defenseDamage += damageToDefense; - string text = (-damageToDefense).ToString(); + Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/DefenseDamage"), (int)player.position.X, (int)player.position.Y); + + string text = (-damageToDefense).ToString(); Color messageColor = Color.LightGray; // Light Gray text because it's visible and defense icon is gray in the UI Rectangle location = new Rectangle((int)player.position.X, (int)player.position.Y - 16, player.width, player.height); CombatText.NewText(location, messageColor, Language.GetTextValue(text)); diff --git a/Gores/ScavengerGores/RockPillar.png b/Gores/ScavengerGores/RockPillar.png new file mode 100644 index 0000000000..bbf0da6e64 Binary files /dev/null and b/Gores/ScavengerGores/RockPillar.png differ diff --git a/Gores/ScavengerGores/RockPillar2.png b/Gores/ScavengerGores/RockPillar2.png new file mode 100644 index 0000000000..905c0ac945 Binary files /dev/null and b/Gores/ScavengerGores/RockPillar2.png differ diff --git a/Gores/ScavengerGores/RockPillar3.png b/Gores/ScavengerGores/RockPillar3.png new file mode 100644 index 0000000000..ebe0818179 Binary files /dev/null and b/Gores/ScavengerGores/RockPillar3.png differ diff --git a/Gores/ScavengerGores/RockPillar4.png b/Gores/ScavengerGores/RockPillar4.png new file mode 100644 index 0000000000..57225e9625 Binary files /dev/null and b/Gores/ScavengerGores/RockPillar4.png differ diff --git a/Gores/ScavengerGores/RockPillar5.png b/Gores/ScavengerGores/RockPillar5.png new file mode 100644 index 0000000000..e494388c5c Binary files /dev/null and b/Gores/ScavengerGores/RockPillar5.png differ diff --git a/Gores/ScavengerGores/RockPillar6.png b/Gores/ScavengerGores/RockPillar6.png new file mode 100644 index 0000000000..afba339990 Binary files /dev/null and b/Gores/ScavengerGores/RockPillar6.png differ diff --git a/ILEditing/ILChanges.cs b/ILEditing/ILChanges.cs index 0853769ca1..2dc1711929 100644 --- a/ILEditing/ILChanges.cs +++ b/ILEditing/ILChanges.cs @@ -86,6 +86,31 @@ namespace CalamityMod.ILEditing }; } + private static void IncreaseaChlorophyteSpreadChance() + { + // Change the Chlorophyte spawn rate. + IL.Terraria.WorldGen.hardUpdateWorld += (il) => + { + var cursor = new ILCursor(il); + cursor.GotoNext(MoveType.Before, i => i.MatchLdcI4(300)); // 1 in 300 genRand call used to generate Chlorophyte in mud tiles near jungle grass. + cursor.Remove(); + cursor.Emit(OpCodes.Ldc_I4, 150); // Increase the chance to 1 in 150. + }; + + // Change the Chlorophyte spawn limits. + IL.Terraria.WorldGen.Chlorophyte += (il) => + { + var cursor = new ILCursor(il); + cursor.GotoNext(MoveType.Before, i => i.MatchLdcI4(40)); // Find the 40 Chlorophyte tile limit. This limit is checked within a 71x71-tile square, with the reference tile as the center. + cursor.Remove(); + cursor.Emit(OpCodes.Ldc_I4, 60); // Increase the limit to 60. + + cursor.GotoNext(MoveType.Before, i => i.MatchLdcI4(130)); // Find the 130 Chlorophyte tile limit. This limit is checked within a 171x171-tile square, with the reference tile as the center. + cursor.Remove(); + cursor.Emit(OpCodes.Ldc_I4, 200); // Increase the limit to 200. + }; + } + private static void RemoveRNGFromBlackBelt() { // Change the random chance of the Black Belt to 100%, but don't let it work if Calamity's cooldown is active. diff --git a/Items/Ammo/TerraArrow.cs b/Items/Ammo/TerraArrow.cs index 175d8fa197..8d50387403 100644 --- a/Items/Ammo/TerraArrow.cs +++ b/Items/Ammo/TerraArrow.cs @@ -16,7 +16,7 @@ namespace CalamityMod.Items.Ammo public override void SetDefaults() { - item.damage = 9; + item.damage = 14; item.ranged = true; item.width = 22; item.height = 36; diff --git a/Items/Ammo/VanquisherArrow.cs b/Items/Ammo/VanquisherArrow.cs index 184ee637bb..58d4089bae 100644 --- a/Items/Ammo/VanquisherArrow.cs +++ b/Items/Ammo/VanquisherArrow.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo public override void SetDefaults() { - item.damage = 33; + item.damage = 22; item.ranged = true; item.width = 22; item.height = 46; diff --git a/Items/SummonItems/CharredIdol.cs b/Items/SummonItems/CharredIdol.cs index 9401466f39..7b36a235e4 100644 --- a/Items/SummonItems/CharredIdol.cs +++ b/Items/SummonItems/CharredIdol.cs @@ -50,9 +50,10 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddIngredient(ItemID.SoulofNight, 5); + recipe.AddIngredient(ItemID.SoulofNight, 3); recipe.AddIngredient(ModContent.ItemType(), 5); - recipe.AddTile(TileID.MythrilAnvil); + recipe.AddIngredient(ModContent.ItemType()); + recipe.AddTile(TileID.AdamantiteForge); recipe.SetResult(this); recipe.AddRecipe(); } diff --git a/Items/SummonItems/CryoKey.cs b/Items/SummonItems/CryoKey.cs index cd099e3f07..5a99c6849e 100644 --- a/Items/SummonItems/CryoKey.cs +++ b/Items/SummonItems/CryoKey.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddRecipeGroup("AnyIceBlock", 50); + recipe.AddRecipeGroup("AnyIceBlock", 25); recipe.AddIngredient(ItemID.SoulofNight, 3); recipe.AddIngredient(ItemID.SoulofLight, 3); recipe.AddIngredient(ModContent.ItemType(), 5); diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 9d05f5f836..a90441954d 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -1038,6 +1038,7 @@ namespace CalamityMod.NPCs npc.ai[1] = 4f; npc.ai[2] = 0f; npc.ai[3] = 0f; + npc.localAI[0] = 0f; npc.netUpdate = true; } } diff --git a/NPCs/CalamityGlobalAI.cs b/NPCs/CalamityGlobalAI.cs index 4f569c3ab1..38dbb8e25a 100644 --- a/NPCs/CalamityGlobalAI.cs +++ b/NPCs/CalamityGlobalAI.cs @@ -5279,6 +5279,7 @@ namespace CalamityMod.NPCs // Reduce acceleration if target is holding a true melee weapon if (targetSelectedItem.melee && (targetSelectedItem.shoot == ProjectileID.None || CalamityLists.trueMeleeProjectileList.Contains(targetSelectedItem.shoot))) { + num421 *= 0.75f; num422 *= 0.5f; } Vector2 vector39 = new Vector2(npc.position.X + npc.width * 0.5f, npc.position.Y + npc.height * 0.5f); @@ -5389,6 +5390,7 @@ namespace CalamityMod.NPCs // Reduce acceleration if target is holding a true melee weapon if (targetSelectedItem.melee && (targetSelectedItem.shoot == ProjectileID.None || CalamityLists.trueMeleeProjectileList.Contains(targetSelectedItem.shoot))) { + num430 *= 0.75f; num431 *= 0.5f; } Vector2 vector40 = new Vector2(npc.position.X + npc.width * 0.5f, npc.position.Y + npc.height * 0.5f); @@ -5848,6 +5850,7 @@ namespace CalamityMod.NPCs Item targetSelectedItem = Main.player[npc.target].inventory[Main.player[npc.target].selectedItem]; if (targetSelectedItem.melee && (targetSelectedItem.shoot == ProjectileID.None || CalamityLists.trueMeleeProjectileList.Contains(targetSelectedItem.shoot))) { + num399 *= 0.75f; num400 *= 0.5f; } @@ -5963,6 +5966,7 @@ namespace CalamityMod.NPCs Item targetSelectedItem = Main.player[npc.target].inventory[Main.player[npc.target].selectedItem]; if (targetSelectedItem.melee && (targetSelectedItem.shoot == ProjectileID.None || CalamityLists.trueMeleeProjectileList.Contains(targetSelectedItem.shoot))) { + num409 *= 0.75f; num410 *= 0.5f; } @@ -7283,7 +7287,14 @@ namespace CalamityMod.NPCs acceleration += 0.025f; } - if (npc.position.Y > Main.player[npc.target].position.Y - 350f) + // Reduce acceleration if target is holding a true melee weapon + Item targetSelectedItem = Main.player[npc.target].inventory[Main.player[npc.target].selectedItem]; + if (targetSelectedItem.melee && (targetSelectedItem.shoot == ProjectileID.None || CalamityLists.trueMeleeProjectileList.Contains(targetSelectedItem.shoot))) + { + acceleration *= 0.5f; + } + + if (npc.position.Y > Main.player[npc.target].position.Y - 350f) { if (npc.velocity.Y > 0f) npc.velocity.Y *= 0.98f; diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 33f88bfa1c..afa58b6d71 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -3448,6 +3448,10 @@ namespace CalamityMod.NPCs // 25% resist to Wave Pounder else if (projectile.type == ProjectileType()) damage = (int)(damage * 0.75); + + // 15% resist to Dark Spark + else if (projectile.type == ProjectileType()) + damage = (int)(damage * 0.85); } else if (CosmicGuardianIDs.Contains(npc.type) || DarkEnergyIDs.Contains(npc.type)) { diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index e96817c40d..ed144c8cdc 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -155,6 +155,7 @@ namespace CalamityMod.NPCs } else if (npc.type == NPCID.SkeletronHead) { + DropHelper.DropItemSpray(npc, ItemID.Bone, 70, 100, 5); DropHelper.DropItemCondition(npc, ModContent.ItemType(), !Main.expertMode, DropHelper.RareVariantDropRateInt, 1, 1); DropHelper.DropItemCondition(npc, ModContent.ItemType(), true, !NPC.downedBoss3); diff --git a/NPCs/Polterghast/PolterPhantom.cs b/NPCs/Polterghast/PolterPhantom.cs index b5ee693b00..eeb9973b2b 100644 --- a/NPCs/Polterghast/PolterPhantom.cs +++ b/NPCs/Polterghast/PolterPhantom.cs @@ -17,8 +17,9 @@ namespace CalamityMod.NPCs.Polterghast public class PolterPhantom : ModNPC { private int despawnTimer = 600; + private bool reachedChargingPoint = false; - public override void SetStaticDefaults() + public override void SetStaticDefaults() { DisplayName.SetDefault("Polterghast"); Main.npcFrameCount[npc.type] = 4; @@ -50,6 +51,7 @@ namespace CalamityMod.NPCs.Polterghast public override void SendExtraAI(BinaryWriter writer) { writer.Write(despawnTimer); + writer.Write(reachedChargingPoint); CalamityGlobalNPC cgn = npc.Calamity(); writer.Write(cgn.newAI[0]); writer.Write(cgn.newAI[1]); @@ -60,6 +62,7 @@ namespace CalamityMod.NPCs.Polterghast public override void ReceiveExtraAI(BinaryReader reader) { despawnTimer = reader.ReadInt32(); + reachedChargingPoint = reader.ReadBoolean(); CalamityGlobalNPC cgn = npc.Calamity(); cgn.newAI[0] = reader.ReadSingle(); cgn.newAI[1] = reader.ReadSingle(); @@ -252,6 +255,8 @@ namespace CalamityMod.NPCs.Polterghast // Charge if (npc.Calamity().newAI[3] == 1f) { + reachedChargingPoint = false; + npc.Opacity += 0.06f; if (npc.Opacity > 0.8f) npc.Opacity = 0.8f; @@ -313,6 +318,13 @@ namespace CalamityMod.NPCs.Polterghast // Do not deal damage during movement to avoid cheap bullshit hits npc.damage = 0; + // Greatly increase velocity and acceleration in order to stick to a position once one is found + if (reachedChargingPoint) + { + chargeAcceleration *= 4f; + chargeVelocity *= 2f; + } + // Charge location Vector2 chargeVector = new Vector2(npc.Calamity().newAI[1], npc.Calamity().newAI[2]); Vector2 chargeLocationVelocity = Vector2.Normalize(chargeVector - vector) * chargeVelocity; @@ -334,7 +346,11 @@ namespace CalamityMod.NPCs.Polterghast } if (Vector2.Distance(vector, chargeVector) <= chargeDistanceGateValue) - npc.velocity *= 0.8f; + { + reachedChargingPoint = true; + + npc.velocity *= 0.25f; + } else { if (Vector2.Distance(vector, chargeVector) > 1200f) diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index b7a9ccb88d..acd6086102 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -29,6 +29,8 @@ namespace CalamityMod.NPCs.Polterghast public class Polterghast : ModNPC { private int despawnTimer = 600; + private int chargeTelegraphTimer = 15; + private bool reachedChargingPoint = false; public override void SetStaticDefaults() { @@ -87,6 +89,8 @@ namespace CalamityMod.NPCs.Polterghast public override void SendExtraAI(BinaryWriter writer) { writer.Write(despawnTimer); + writer.Write(chargeTelegraphTimer); + writer.Write(reachedChargingPoint); CalamityGlobalNPC cgn = npc.Calamity(); writer.Write(cgn.newAI[0]); writer.Write(cgn.newAI[1]); @@ -97,6 +101,8 @@ namespace CalamityMod.NPCs.Polterghast public override void ReceiveExtraAI(BinaryReader reader) { despawnTimer = reader.ReadInt32(); + chargeTelegraphTimer = reader.ReadInt32(); + reachedChargingPoint = reader.ReadBoolean(); CalamityGlobalNPC cgn = npc.Calamity(); cgn.newAI[0] = reader.ReadSingle(); cgn.newAI[1] = reader.ReadSingle(); @@ -441,6 +447,8 @@ namespace CalamityMod.NPCs.Polterghast // Charge if (calamityGlobalNPC.newAI[3] == 1f) { + reachedChargingPoint = false; + if (calamityGlobalNPC.newAI[1] == 0f) { npc.velocity = Vector2.Normalize(player.Center - vector) * chargeVelocity; @@ -459,6 +467,7 @@ namespace CalamityMod.NPCs.Polterghast // Reset and either go back to normal or charge again if (calamityGlobalNPC.newAI[2] >= totalChargeTime) { + chargeTelegraphTimer = 15; calamityGlobalNPC.newAI[1] = 0f; calamityGlobalNPC.newAI[2] = 0f; calamityGlobalNPC.newAI[3] = 0f; @@ -493,6 +502,13 @@ namespace CalamityMod.NPCs.Polterghast else calamityGlobalNPC.newAI[2] = player.Center.Y - chargeDistance; + // Greatly increase velocity and acceleration in order to stick to a position once one is found + if (reachedChargingPoint) + { + chargeAcceleration *= 4f; + chargeVelocity *= 2f; + } + // Line up a charge Vector2 chargeVector = new Vector2(calamityGlobalNPC.newAI[1], calamityGlobalNPC.newAI[2]); Vector2 chargeLocationVelocity = Vector2.Normalize(chargeVector - vector) * chargeVelocity; @@ -504,10 +520,19 @@ namespace CalamityMod.NPCs.Polterghast if (Vector2.Distance(vector, chargeVector) <= chargeDistanceGateValue) { - npc.velocity *= 0.8f; + reachedChargingPoint = true; + + npc.velocity *= 0.25f; if (clonePositionCheck) { + // Pause before actually charging + if (chargeTelegraphTimer > 0) + { + chargeTelegraphTimer--; + return; + } + npc.velocity = Vector2.Zero; calamityGlobalNPC.newAI[1] = 0f; calamityGlobalNPC.newAI[2] = 0f; diff --git a/NPCs/Ravager/RockPillar.cs b/NPCs/Ravager/RockPillar.cs index 0d6cd6cb56..94d91d7402 100644 --- a/NPCs/Ravager/RockPillar.cs +++ b/NPCs/Ravager/RockPillar.cs @@ -161,7 +161,20 @@ namespace CalamityMod.NPCs.Ravager num624 = Dust.NewDust(new Vector2(npc.position.X, npc.position.Y), npc.width, npc.height, DustID.Iron, 0f, 0f, 100, default, 2f); Main.dust[num624].velocity *= 2f; } - } + + float y = npc.height / 6f; + float randomVelocityScale = 0.25f; + for (int i = 0; i < 2; i++) + { + Vector2 randomVelocity = npc.velocity * Main.rand.NextFloat() * randomVelocityScale; + Gore.NewGore(npc.position, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar"), 1f); + Gore.NewGore(npc.position + Vector2.UnitY * y, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar2"), 1f); + Gore.NewGore(npc.position + Vector2.UnitY * y * 2f, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar3"), 1f); + Gore.NewGore(npc.position + Vector2.UnitY * y * 3f, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar4"), 1f); + Gore.NewGore(npc.position + Vector2.UnitY * y * 4f, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar5"), 1f); + Gore.NewGore(npc.position + Vector2.UnitY * y * 5f, npc.velocity + randomVelocity, mod.GetGoreSlot("Gores/ScavengerGores/RockPillar6"), 1f); + } + } else { for (int num621 = 0; num621 < 2; num621++) diff --git a/Projectiles/Ranged/ElysianArrowProj.cs b/Projectiles/Ranged/ElysianArrowProj.cs index e6043ec7ae..96bf30968f 100644 --- a/Projectiles/Ranged/ElysianArrowProj.cs +++ b/Projectiles/Ranged/ElysianArrowProj.cs @@ -48,15 +48,9 @@ namespace CalamityMod.Projectiles.Ranged { projectile.position = projectile.Center; projectile.width = projectile.height = 32; - projectile.position.X = projectile.position.X - (float)(projectile.width / 2); - projectile.position.Y = projectile.position.Y - (float)(projectile.height / 2); + projectile.position.X = projectile.position.X - (projectile.width / 2); + projectile.position.Y = projectile.position.Y - (projectile.height / 2); Main.PlaySound(SoundID.Item14, (int)projectile.position.X, (int)projectile.position.Y); - projectile.maxPenetrate = -1; - projectile.penetrate = -1; - projectile.usesLocalNPCImmunity = true; - projectile.localNPCHitCooldown = 10; - projectile.damage /= 2; - projectile.Damage(); for (int num621 = 0; num621 < 2; num621++) { int num622 = Dust.NewDust(projectile.position, projectile.width, projectile.height, 244, 0f, 0f, 100, default, 2f); @@ -64,7 +58,7 @@ namespace CalamityMod.Projectiles.Ranged if (Main.rand.NextBool(2)) { Main.dust[num622].scale = 0.5f; - Main.dust[num622].fadeIn = 1f + (float)Main.rand.Next(10) * 0.1f; + Main.dust[num622].fadeIn = 1f + Main.rand.Next(10) * 0.1f; } } for (int num623 = 0; num623 < 6; num623++) @@ -76,15 +70,15 @@ namespace CalamityMod.Projectiles.Ranged Main.dust[num624].velocity *= 2f; } CalamityUtils.ExplosionGores(projectile.Center, 3); - float x = projectile.position.X + (float)Main.rand.Next(-400, 400); - float y = projectile.position.Y - (float)Main.rand.Next(500, 800); + float x = projectile.position.X + Main.rand.Next(-400, 400); + float y = projectile.position.Y - Main.rand.Next(500, 800); Vector2 vector = new Vector2(x, y); - float num15 = projectile.position.X + (float)(projectile.width / 2) - vector.X; - float num16 = projectile.position.Y + (float)(projectile.height / 2) - vector.Y; - num15 += (float)Main.rand.Next(-100, 101); + float num15 = projectile.position.X + (projectile.width / 2) - vector.X; + float num16 = projectile.position.Y + (projectile.height / 2) - vector.Y; + num15 += Main.rand.Next(-100, 101); int num17 = 25; - float num18 = (float)Math.Sqrt((double)(num15 * num15 + num16 * num16)); - num18 = (float)num17 / num18; + float num18 = (float)Math.Sqrt(num15 * num15 + num16 * num16); + num18 = num17 / num18; num15 *= num18; num16 *= num18; if (projectile.owner == Main.myPlayer) diff --git a/Projectiles/Ranged/VanquisherArrowMain.cs b/Projectiles/Ranged/VanquisherArrowMain.cs index ec951091bb..a87ebaa381 100644 --- a/Projectiles/Ranged/VanquisherArrowMain.cs +++ b/Projectiles/Ranged/VanquisherArrowMain.cs @@ -32,10 +32,10 @@ namespace CalamityMod.Projectiles.Ranged public override void AI() { projectile.rotation = projectile.velocity.ToRotation() - MathHelper.PiOver2; - if (projectile.timeLeft % 60 == 0) + if (projectile.timeLeft % 45 == 0) { - if (projectile.owner == Main.myPlayer) - Projectile.NewProjectile(projectile.Center, projectile.velocity * 0.25f, ModContent.ProjectileType(), projectile.damage, projectile.knockBack, projectile.owner); + if (projectile.owner == Main.myPlayer && Main.player[projectile.owner].ownedProjectileCounts[ModContent.ProjectileType()] < 20) + Projectile.NewProjectile(projectile.Center, projectile.velocity * 0.25f, ModContent.ProjectileType(), projectile.damage / 2, projectile.knockBack, projectile.owner); } } diff --git a/Sounds/Custom/DefenseDamage.cs b/Sounds/Custom/DefenseDamage.cs new file mode 100644 index 0000000000..ab5f7a07b7 --- /dev/null +++ b/Sounds/Custom/DefenseDamage.cs @@ -0,0 +1,18 @@ +using Microsoft.Xna.Framework.Audio; +using Terraria; +using Terraria.ModLoader; + +namespace CalamityMod.Sounds.Custom +{ + public class DefenseDamage : ModSound + { + public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type) + { + soundInstance = sound.CreateInstance(); + soundInstance.Volume = volume * 1f; + soundInstance.Pan = pan; + Main.PlaySoundInstance(soundInstance); + return soundInstance; + } + } +} diff --git a/Sounds/Custom/DefenseDamage.ogg b/Sounds/Custom/DefenseDamage.ogg new file mode 100644 index 0000000000..c41a3f48f5 Binary files /dev/null and b/Sounds/Custom/DefenseDamage.ogg differ diff --git a/Tiles/Ores/CharredOre.cs b/Tiles/Ores/CharredOre.cs index 8663bbedd4..a413f1f556 100644 --- a/Tiles/Ores/CharredOre.cs +++ b/Tiles/Ores/CharredOre.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Tiles.Ores name.SetDefault("Charred Ore"); AddMapEntry(new Color(17, 16, 26), name); mineResist = 6f; - minPick = 180; + minPick = 150; soundType = SoundID.Tink; dustType = 235; Main.tileSpelunker[Type] = true;