hive mind anim sped up

This commit is contained in:
Amber Sienna committed 2020-03-20 17:51:00 +00:00
1 parent aebe6104f9
commit d702f28a7f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.HiveMind
public override void FindFrame(int frameHeight)
{
npc.frameCounter += 0.15f;
npc.frameCounter += 1f / 6f;
npc.frameCounter %= Main.npcFrameCount[npc.type];
int frame = (int)npc.frameCounter;
npc.frame.Y = frame * frameHeight;
+1 -1
View File
@@ -176,7 +176,7 @@ namespace CalamityMod.NPCs.HiveMind
npc.frame.Width = width;
npc.frame.Height = height;
npc.frameCounter++;
if (npc.frameCounter > 6)
if (npc.frameCounter >= 6)
{
npc.frame.X = counter >= 8 ? width + 3 : 0;
if (counter == 8)