From 5891ebc071d15e02ddaffae7f83d55e4204ddc4f Mon Sep 17 00:00:00 2001 From: IbanPlay <56191483+IbanPlay@users.noreply.github.com> Date: Tue, 24 May 2022 19:09:14 +0200 Subject: [PATCH] fixes --- NPCs/Providence/Providence.cs | 2 +- Projectiles/Ranged/PlanarRipperBolt.cs | 2 +- Projectiles/Rogue/SludgeSplotchProj1.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index c29511302b..582080b40b 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1026,7 +1026,7 @@ namespace CalamityMod.NPCs.Providence if (!player2.dead && player2.active && Vector2.Distance(player2.Center, vector) < 2800f && !inLiquid) { - SoundEngine.PlaySound(SoundID.Item202, player.position); + SoundEngine.PlaySound(SoundID.Item20, player2.position); player2.AddBuff(ModContent.BuffType(), 3000, true); for (int num621 = 0; num621 < 40; num621++) diff --git a/Projectiles/Ranged/PlanarRipperBolt.cs b/Projectiles/Ranged/PlanarRipperBolt.cs index edf699b3b4..e495d03eb4 100644 --- a/Projectiles/Ranged/PlanarRipperBolt.cs +++ b/Projectiles/Ranged/PlanarRipperBolt.cs @@ -109,7 +109,7 @@ namespace CalamityMod.Projectiles.Ranged Projectile.localNPCHitCooldown = 10; Projectile.Damage(); - SoundStyle sound = Main.rand.NextBool(2) ? SoundID.Item93 : SoundID.Item92 + SoundStyle sound = Main.rand.NextBool(2) ? SoundID.Item93 : SoundID.Item92; SoundEngine.PlaySound(sound with { Volume = sound.Volume * 0.5f}, Projectile.position); for (int i = 0; i < 5; i++) diff --git a/Projectiles/Rogue/SludgeSplotchProj1.cs b/Projectiles/Rogue/SludgeSplotchProj1.cs index d5d6ee24a6..ad3d4aa7ce 100644 --- a/Projectiles/Rogue/SludgeSplotchProj1.cs +++ b/Projectiles/Rogue/SludgeSplotchProj1.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Rogue Collision.HitTiles(Projectile.position + Projectile.velocity, Projectile.velocity, Projectile.width, Projectile.height); SoundEngine.PlaySound(SoundID.Dig, Projectile.position); - SoundEngine.PlaySound(SoundID.NPCDeath92 with { Volume = SoundID.NPCDeath92.Volume * 0}, Projectile.position); + SoundEngine.PlaySound(SoundID.NPCDeath9 with { Volume = SoundID.NPCDeath92.Volume * 2f }, Projectile.position); Projectile.Kill(); return false; }