diff --git a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.png b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.png index 3d288c7cdf..97db383bdf 100644 Binary files a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.png and b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.png differ diff --git a/NPCs/PlaguebringerGoliath/PlagueMine.cs b/NPCs/PlaguebringerGoliath/PlagueMine.cs index a118253085..2b5517ccbb 100644 --- a/NPCs/PlaguebringerGoliath/PlagueMine.cs +++ b/NPCs/PlaguebringerGoliath/PlagueMine.cs @@ -15,6 +15,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath public override void SetStaticDefaults() { DisplayName.SetDefault("Plague Mine"); + Main.npcFrameCount[npc.type] = 4; } public override void SetDefaults() @@ -122,7 +123,17 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath } } - public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor) + public override void FindFrame(int frameHeight) + { + npc.frameCounter++; + if (npc.frameCounter % 6 == 5) + npc.frame.Y += frameHeight; + + if (npc.frame.Y / frameHeight >= Main.npcFrameCount[npc.type]) + npc.frame.Y = 0; + } + + public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor) { SpriteEffects spriteEffects = SpriteEffects.None; if (npc.spriteDirection == 1) diff --git a/NPCs/PlaguebringerGoliath/PlagueMine.png b/NPCs/PlaguebringerGoliath/PlagueMine.png index 722fb1b01b..8174e5ae94 100644 Binary files a/NPCs/PlaguebringerGoliath/PlagueMine.png and b/NPCs/PlaguebringerGoliath/PlagueMine.png differ