diff --git a/NPCs/CalamityAIs/CalamityBossAIs/OldDukeAI.cs b/NPCs/CalamityAIs/CalamityBossAIs/OldDukeAI.cs index b9a3ed55e1..c1077af955 100644 --- a/NPCs/CalamityAIs/CalamityBossAIs/OldDukeAI.cs +++ b/NPCs/CalamityAIs/CalamityBossAIs/OldDukeAI.cs @@ -1034,6 +1034,7 @@ namespace CalamityMod.NPCs.CalamityAIs.CalamityBossAIs { modNPC.RoarSoundSlot = SoundEngine.PlaySound(OldDuke.OldDuke.RoarSound, npc.Center); + SoundEngine.PlaySound(OldDuke.OldDuke.VortexSpawnSound, npc.Center); int type = ModContent.ProjectileType(); int damage = npc.GetProjectileDamage(type); Vector2 vortexSpawn = npc.Center + npc.velocity.RotatedBy(MathHelper.PiOver2 * -npc.direction) * spinTime / MathHelper.TwoPi; @@ -1564,6 +1565,7 @@ namespace CalamityMod.NPCs.CalamityAIs.CalamityBossAIs { modNPC.RoarSoundSlot = SoundEngine.PlaySound(OldDuke.OldDuke.RoarSound, npc.Center); + SoundEngine.PlaySound(OldDuke.OldDuke.VortexSpawnSound, npc.Center); int type = ModContent.ProjectileType(); int damage = npc.GetProjectileDamage(type); Vector2 vortexSpawn = npc.Center + npc.velocity.RotatedBy(MathHelper.PiOver2 * -npc.direction) * spinTime / MathHelper.TwoPi; @@ -1646,7 +1648,7 @@ namespace CalamityMod.NPCs.CalamityAIs.CalamityBossAIs static void DoChargeBurst(NPC npc, int phase) { - SoundEngine.PlaySound(OldDuke.OldDuke.DashSound, npc.Center); + SoundEngine.PlaySound(phase > 1 ? OldDuke.OldDuke.DashSoundP3 : OldDuke.OldDuke.DashSound, npc.Center); if (phase > 1) { diff --git a/NPCs/OldDuke/OldDuke.cs b/NPCs/OldDuke/OldDuke.cs index 2cb4a1f44e..2ef403096f 100644 --- a/NPCs/OldDuke/OldDuke.cs +++ b/NPCs/OldDuke/OldDuke.cs @@ -47,6 +47,9 @@ namespace CalamityMod.NPCs.OldDuke public static readonly SoundStyle HuffSound = new("CalamityMod/Sounds/Custom/OldDukeHuff"); public static readonly SoundStyle RoarSound = new("CalamityMod/Sounds/Custom/OldDukeRoar"); public static readonly SoundStyle VomitSound = new("CalamityMod/Sounds/Custom/OldDukeVomit"); + public static readonly SoundStyle VortexSpawnSound = new("CalamityMod/Sounds/Custom/OldDukeVortexSpawn"); + public static readonly SoundStyle DashSound = new("CalamityMod/Sounds/Custom/OldDukeDash"); + public static readonly SoundStyle DashSoundP3 = new("CalamityMod/Sounds/Custom/OldDukeDashP3"); public SlotId RoarSoundSlot; diff --git a/Projectiles/Boss/OldDukeGore.cs b/Projectiles/Boss/OldDukeGore.cs index fb1110f055..34f853d9bb 100644 --- a/Projectiles/Boss/OldDukeGore.cs +++ b/Projectiles/Boss/OldDukeGore.cs @@ -1,8 +1,11 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Dusts; +using CalamityMod.NPCs.OldDuke; +using CalamityMod.Particles; using Microsoft.Xna.Framework; using Terraria; using Terraria.Audio; +using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; @@ -57,6 +60,10 @@ namespace CalamityMod.Projectiles.Boss Main.dust[acid].velocity *= 0f; } + public override void OnSpawn(IEntitySource source) + { + } + public override void OnKill(int timeLeft) { SoundEngine.PlaySound(SoundID.NPCDeath12, Projectile.Center); diff --git a/Sounds/Custom/OldDukeDash.ogg b/Sounds/Custom/OldDukeDash.ogg new file mode 100644 index 0000000000..8ed052153b Binary files /dev/null and b/Sounds/Custom/OldDukeDash.ogg differ diff --git a/Sounds/Custom/OldDukeDashP3.ogg b/Sounds/Custom/OldDukeDashP3.ogg new file mode 100644 index 0000000000..eda6b95524 Binary files /dev/null and b/Sounds/Custom/OldDukeDashP3.ogg differ diff --git a/Sounds/Custom/OldDukeVortexSpawn.ogg b/Sounds/Custom/OldDukeVortexSpawn.ogg new file mode 100644 index 0000000000..c11112ea24 Binary files /dev/null and b/Sounds/Custom/OldDukeVortexSpawn.ogg differ