Small boomer tornado changes and birb fix

This commit is contained in:
DominicKarma42 committed 2020-03-31 20:34:18 -05:00
1 parent a43af6a30a
commit 3fcaab960a
2 files changed
+9 -3

No files matched your search

+8 -2
View File
@@ -3736,7 +3736,10 @@ namespace CalamityMod.NPCs
if (calamityGlobalNPC.newAI[1] == newPhaseTimer - 60f)
{
SoundEffectInstance sound = Main.PlaySound(SoundID.DD2_BetsyScream, (int)npc.position.X, (int)npc.position.Y);
sound.Pitch = 0.25f;
if (sound != null)
{
sound.Pitch = 0.25f;
}
}
if (calamityGlobalNPC.newAI[1] >= newPhaseTimer)
@@ -3757,7 +3760,10 @@ namespace CalamityMod.NPCs
if (calamityGlobalNPC.newAI[0] == newPhaseTimer - 60f)
{
SoundEffectInstance sound = Main.PlaySound(SoundID.DD2_BetsyScream, (int)npc.position.X, (int)npc.position.Y);
sound.Pitch = 0.25f;
if (sound != null)
{
sound.Pitch = 0.25f;
}
}
if (calamityGlobalNPC.newAI[0] >= newPhaseTimer)
@@ -211,7 +211,7 @@ namespace CalamityMod.Projectiles.Boss
if (dist4 < minDist)
minDist = dist4;
return minDist <= 210f * projectile.scale;
return minDist <= 240f * projectile.scale;
}
public override void OnHitPlayer(Player target, int damage, bool crit)