From 4b9f2811c2f5d6a67d13383bc56dc3aab0d1af4d Mon Sep 17 00:00:00 2001 From: GinYuH Date: Sun, 7 Aug 2022 09:03:10 -0700 Subject: [PATCH] bullet hell sound tweaks --- NPCs/Yharon/Yharon.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index a3e360eb8c..8f90695570 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -988,7 +988,10 @@ namespace CalamityMod.NPCs.Yharon else if (NPC.ai[0] == 8f) { if (NPC.ai[2] == 0f) + { RoarSoundSlot = SoundEngine.PlaySound(RoarSound, NPC.position); + SoundEngine.PlaySound(OrbSound, NPC.position); + } NPC.ai[2] += 1f; @@ -1338,7 +1341,10 @@ namespace CalamityMod.NPCs.Yharon else if (NPC.ai[0] == 15f) { if (NPC.ai[2] == 0f) + { RoarSoundSlot = SoundEngine.PlaySound(RoarSound, NPC.position); + SoundEngine.PlaySound(OrbSound, NPC.position); + } NPC.ai[2] += 1f; if (NPC.ai[2] % flareDustSpawnDivisor3 == 0f) @@ -2192,7 +2198,10 @@ namespace CalamityMod.NPCs.Yharon else if (NPC.ai[0] == 5f) { if (NPC.ai[1] == 1f) + { RoarSoundSlot = SoundEngine.PlaySound(RoarSound, NPC.position); + SoundEngine.PlaySound(OrbSound, NPC.position); + } NPC.ai[1] += 1f; if (Main.netMode != NetmodeID.MultiplayerClient) @@ -2477,7 +2486,7 @@ namespace CalamityMod.NPCs.Yharon #region Flare Dust Bullet Hell private void DoFlareDustBulletHell(int attackType, int timer, int projectileDamage, int totalProjectiles, float projectileVelocity, float radialOffset, bool phase2) { - SoundEngine.PlaySound(OrbSound, NPC.Center); + SoundEngine.PlaySound(SoundID.Item20, NPC.Center); float aiVariableUsed = phase2 ? NPC.ai[1] : NPC.ai[2]; switch (attackType) {