diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index 4be2550402..88dbb7255f 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -145,6 +145,9 @@ namespace CalamityMod.NPCs.DevourerofGods // Sounds public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/DevourerSpawn"); public static readonly SoundStyle AttackSound = new("CalamityMod/Sounds/Custom/DevourerAttack"); + public static readonly SoundStyle DeathAnimationSound = new("CalamityMod/Sounds/NPCKilled/DevourerDeath"); + public static readonly SoundStyle DeathExplosionSound = new("CalamityMod/Sounds/NPCKilled/DevourerDeathImpact"); + public static readonly SoundStyle DeathSegmentSound = new("CalamityMod/Sounds/NPCKilled/DevourerSegmentBreak", 4); public float extrapitch = 0; public override void SetStaticDefaults() @@ -2175,7 +2178,7 @@ namespace CalamityMod.NPCs.DevourerofGods // Play a sound at the start. if (DeathAnimationTimer == 1f) { - SoundEngine.PlaySound(AttackSound with { Volume = AttackSound.Volume * 1.6f, Pitch = AttackSound.Pitch + extrapitch}, NPC.Center); + SoundEngine.PlaySound(DeathExplosionSound, NPC.Center); } // Close the health bar, fade in, and stop doing contact damage. @@ -2187,7 +2190,7 @@ namespace CalamityMod.NPCs.DevourerofGods void destroySegment(int index, ref int destroyedSegments) { if (Main.rand.NextBool(5)) - SoundEngine.PlaySound(SoundID.Item94, NPC.Center); + SoundEngine.PlaySound(DeathSegmentSound, NPC.Center); List segments = new List() { @@ -2241,11 +2244,11 @@ namespace CalamityMod.NPCs.DevourerofGods if (Main.netMode != NetmodeID.Server) { - SoundEngine.PlaySound(AttackSound with { Volume = AttackSound.Volume * 1.6f, Pitch = AttackSound.Volume + extrapitch}, NPC.Center); + SoundEngine.PlaySound(DeathAnimationSound, NPC.Center); for (int i = 0; i < 3; i++) { - SoundEngine.PlaySound(TeslaCannon.FireSound with { Volume = TeslaCannon.FireSound.Volume * 1.4f, Pitch = TeslaCannon.FireSound.Pitch -MathHelper.Lerp(0.1f, 0.4f, i / 3f) }, NPC.Center); + SoundEngine.PlaySound(DeathExplosionSound, NPC.Center); } } } diff --git a/Sounds/NPCKilled/DevourerDeath.ogg b/Sounds/NPCKilled/DevourerDeath.ogg new file mode 100644 index 0000000000..4e50feb3f4 Binary files /dev/null and b/Sounds/NPCKilled/DevourerDeath.ogg differ diff --git a/Sounds/NPCKilled/DevourerDeathImpact.ogg b/Sounds/NPCKilled/DevourerDeathImpact.ogg new file mode 100644 index 0000000000..d17f046845 Binary files /dev/null and b/Sounds/NPCKilled/DevourerDeathImpact.ogg differ diff --git a/Sounds/NPCKilled/DevourerSegmentBreak1.ogg b/Sounds/NPCKilled/DevourerSegmentBreak1.ogg new file mode 100644 index 0000000000..20c7becee0 Binary files /dev/null and b/Sounds/NPCKilled/DevourerSegmentBreak1.ogg differ diff --git a/Sounds/NPCKilled/DevourerSegmentBreak2.ogg b/Sounds/NPCKilled/DevourerSegmentBreak2.ogg new file mode 100644 index 0000000000..42f262bfec Binary files /dev/null and b/Sounds/NPCKilled/DevourerSegmentBreak2.ogg differ diff --git a/Sounds/NPCKilled/DevourerSegmentBreak3.ogg b/Sounds/NPCKilled/DevourerSegmentBreak3.ogg new file mode 100644 index 0000000000..4e15239f8c Binary files /dev/null and b/Sounds/NPCKilled/DevourerSegmentBreak3.ogg differ diff --git a/Sounds/NPCKilled/DevourerSegmentBreak4.ogg b/Sounds/NPCKilled/DevourerSegmentBreak4.ogg new file mode 100644 index 0000000000..40e358f526 Binary files /dev/null and b/Sounds/NPCKilled/DevourerSegmentBreak4.ogg differ