Fixed Deerclops ascension bug.
This commit is contained in:
1 parent
0ebb13f6e3
commit
307ebe6bb5
1 file changed
+1
-1
@@ -871,7 +871,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
{
|
||||
npc.velocity.Y = MathHelper.Clamp(npc.velocity.Y + yVelocityIncrease, yVelocityMin, 0f);
|
||||
}
|
||||
else if (npc.velocity.Y == 0f && moveUp)
|
||||
else if (npc.velocity.Y == 0f && moveUp && npc.localAI[0] == 0f)
|
||||
{
|
||||
npc.velocity.Y = yVelocity;
|
||||
npc.localAI[0] = 1f;
|
||||
|
||||
Reference in new issue
Block a user