PBG bees use the correct death sound

This commit is contained in:
DominicKarma authored and Cameron Ewell committed 2021-11-07 03:12:40 -05:00
1 parent 60f62a185c
commit cacf858100
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,6 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
npc.knockBackResist = BossRushEvent.BossRushActive ? 0f : 0.9f;
animationType = NPCID.Bee;
npc.HitSound = SoundID.NPCHit4;
npc.DeathSound = SoundID.NPCDeath14;
npc.noGravity = true;
npc.noTileCollide = true;
npc.canGhostHeal = false;
@@ -264,6 +263,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
}
if (npc.life <= 0)
{
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/PlagueSounds/PlagueBoom" + Main.rand.Next(1, 5)), npc.Center);
for (int k = 0; k < 10; k++)
{
Dust.NewDust(npc.position, npc.width, npc.height, (int)CalamityDusts.Plague, hitDirection, -1f, 0, default, 1f);
+1 -1
View File
@@ -34,7 +34,6 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
aiType = -1;
npc.knockBackResist = BossRushEvent.BossRushActive ? 0f : 0.95f;
npc.HitSound = SoundID.NPCHit4;
npc.DeathSound = SoundID.NPCDeath14;
npc.noGravity = true;
npc.noTileCollide = true;
npc.canGhostHeal = false;
@@ -157,6 +156,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
}
if (npc.life <= 0)
{
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/PlagueSounds/PlagueBoom" + Main.rand.Next(1, 5)), npc.Center);
for (int k = 0; k < 10; k++)
{
Dust.NewDust(npc.position, npc.width, npc.height, (int)CalamityDusts.Plague, hitDirection, -1f, 0, default, 1f);