Yharon roars before charging out of bullet hells
This commit is contained in:
1 parent
04d19e4c1f
commit
9482b27433
1 file changed
+8
@@ -845,6 +845,10 @@ namespace CalamityMod.NPCs.Yharon
|
||||
NPC.spriteDirection = -NPC.direction;
|
||||
}
|
||||
|
||||
// Play a roar sound before charging out of bullet hell
|
||||
if (NPC.ai[2] == -45f)
|
||||
RoarSoundSlot = SoundEngine.PlaySound(ShortRoarSound, NPC.Center);
|
||||
|
||||
NPC.ai[2] += 1f;
|
||||
if (NPC.ai[2] >= phaseSwitchTimer || slowChargeAfterBulletHell)
|
||||
{
|
||||
@@ -1211,6 +1215,10 @@ namespace CalamityMod.NPCs.Yharon
|
||||
NPC.spriteDirection = -NPC.direction;
|
||||
}
|
||||
|
||||
// Play a roar sound before charging out of bullet hell
|
||||
if (NPC.ai[2] == -45f)
|
||||
RoarSoundSlot = SoundEngine.PlaySound(ShortRoarSound, NPC.Center);
|
||||
|
||||
NPC.ai[2] += 1f;
|
||||
if (NPC.ai[2] >= phaseSwitchTimer || slowChargeAfterBulletHell)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user