1 - Ares Nuke animates its reload during Ares' deathray spiral phase.

This commit is contained in:
Andrew Marheine committed 2021-11-13 01:37:29 -06:00
1 parent 7e0316eca2
commit 8cf256dfb1
1 file changed
+1 -1
+1 -1
View File
@@ -309,7 +309,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
// Variable to disable deathray firing
bool doNotFire = calamityGlobalNPC_Body.newAI[0] == (float)AresBody.Phase.Deathrays || calamityGlobalNPC_Body.newAI[1] == (float)AresBody.SecondaryPhase.PassiveAndImmune;
if (doNotFire)
if (doNotFire && AIState != (float)Phase.Reload)
{
AIState = (float)Phase.Nothing;
calamityGlobalNPC.newAI[1] = 0f;