diff --git a/Items/Armor/Vanity/SlimeGodMask.png b/Items/Armor/Vanity/SlimeGodMask.png index 8e36266e68..6be05da9f2 100644 Binary files a/Items/Armor/Vanity/SlimeGodMask.png and b/Items/Armor/Vanity/SlimeGodMask.png differ diff --git a/Items/Armor/Vanity/SlimeGodMask2.png b/Items/Armor/Vanity/SlimeGodMask2.png index bd1260d848..fa706155f5 100644 Binary files a/Items/Armor/Vanity/SlimeGodMask2.png and b/Items/Armor/Vanity/SlimeGodMask2.png differ diff --git a/Items/Armor/Vanity/SlimeGodMask2_Head.png b/Items/Armor/Vanity/SlimeGodMask2_Head.png index 9b7bd19a50..9a3715c82d 100644 Binary files a/Items/Armor/Vanity/SlimeGodMask2_Head.png and b/Items/Armor/Vanity/SlimeGodMask2_Head.png differ diff --git a/Items/Armor/Vanity/SlimeGodMask_Head.png b/Items/Armor/Vanity/SlimeGodMask_Head.png index b42fe6d491..56ae42bf4b 100644 Binary files a/Items/Armor/Vanity/SlimeGodMask_Head.png and b/Items/Armor/Vanity/SlimeGodMask_Head.png differ diff --git a/Items/Placeables/Furniture/Trophies/SlimeGodTrophy.png b/Items/Placeables/Furniture/Trophies/SlimeGodTrophy.png index dba1f08e0a..801014ff5a 100644 Binary files a/Items/Placeables/Furniture/Trophies/SlimeGodTrophy.png and b/Items/Placeables/Furniture/Trophies/SlimeGodTrophy.png differ diff --git a/Items/Placeables/Furniture/Trophies/SupremeCalamitasTrophy.png b/Items/Placeables/Furniture/Trophies/SupremeCalamitasTrophy.png index 09ea443570..357383d679 100644 Binary files a/Items/Placeables/Furniture/Trophies/SupremeCalamitasTrophy.png and b/Items/Placeables/Furniture/Trophies/SupremeCalamitasTrophy.png differ diff --git a/Items/TreasureBags/SlimeGodBag.png b/Items/TreasureBags/SlimeGodBag.png index 6e8296a5f2..d594f43c25 100644 Binary files a/Items/TreasureBags/SlimeGodBag.png and b/Items/TreasureBags/SlimeGodBag.png differ diff --git a/NPCs/SlimeGod/SlimeGodCore_Head_Boss.png b/NPCs/SlimeGod/SlimeGodCore_Head_Boss.png index cc915bc6c4..b0d59dfb3a 100644 Binary files a/NPCs/SlimeGod/SlimeGodCore_Head_Boss.png and b/NPCs/SlimeGod/SlimeGodCore_Head_Boss.png differ diff --git a/NPCs/SlimeGod/SlimeGodRunSplit_Head_Boss.png b/NPCs/SlimeGod/SlimeGodRunSplit_Head_Boss.png index b7b04074b5..841cb63644 100644 Binary files a/NPCs/SlimeGod/SlimeGodRunSplit_Head_Boss.png and b/NPCs/SlimeGod/SlimeGodRunSplit_Head_Boss.png differ diff --git a/NPCs/SlimeGod/SlimeGodRun_Head_Boss.png b/NPCs/SlimeGod/SlimeGodRun_Head_Boss.png index b7b04074b5..c1fd7bbcbe 100644 Binary files a/NPCs/SlimeGod/SlimeGodRun_Head_Boss.png and b/NPCs/SlimeGod/SlimeGodRun_Head_Boss.png differ diff --git a/NPCs/SlimeGod/SlimeGodSplit_Head_Boss.png b/NPCs/SlimeGod/SlimeGodSplit_Head_Boss.png index a873d6cc02..0b584f4e8b 100644 Binary files a/NPCs/SlimeGod/SlimeGodSplit_Head_Boss.png and b/NPCs/SlimeGod/SlimeGodSplit_Head_Boss.png differ diff --git a/NPCs/SlimeGod/SlimeGod_Head_Boss.png b/NPCs/SlimeGod/SlimeGod_Head_Boss.png index a873d6cc02..03218de4cd 100644 Binary files a/NPCs/SlimeGod/SlimeGod_Head_Boss.png and b/NPCs/SlimeGod/SlimeGod_Head_Boss.png differ diff --git a/NPCs/SlimeGod/SlimeSpawnCrimson2.cs b/NPCs/SlimeGod/SlimeSpawnCrimson2.cs index 41a8fc097d..e91e1cb3fc 100644 --- a/NPCs/SlimeGod/SlimeSpawnCrimson2.cs +++ b/NPCs/SlimeGod/SlimeSpawnCrimson2.cs @@ -15,7 +15,7 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetStaticDefaults() { DisplayName.SetDefault("Crimson Slime Spawn"); - Main.npcFrameCount[npc.type] = 2; + Main.npcFrameCount[npc.type] = 5; } public override void SetDefaults() @@ -31,7 +31,6 @@ namespace CalamityMod.NPCs.SlimeGod npc.lifeMax = 12000; } npc.knockBackResist = 0f; - animationType = NPCID.CorruptSlime; npc.alpha = 55; npc.lavaImmune = false; npc.noGravity = false; @@ -41,6 +40,35 @@ namespace CalamityMod.NPCs.SlimeGod npc.DeathSound = SoundID.NPCDeath1; } + public override void FindFrame(int frameHeight) + { + int frameY = 1; + if (!Main.dedServ) + { + if (!Main.NPCLoaded[npc.type] || Main.npcTexture[npc.type] is null) + return; + frameY = Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type]; + } + int aiState = 0; + if (npc.aiAction == 0) + aiState = npc.velocity.Y >= 0f ? (npc.velocity.Y <= 0f ? (npc.velocity.X == 0f ? 0 : 1) : 3) : 2; + else if (npc.aiAction == 1) + aiState = 4; + + npc.frameCounter++; + if (aiState > 0) + npc.frameCounter++; + if (aiState == 4) + npc.frameCounter++; + if (npc.frameCounter >= 8f) + { + npc.frame.Y += frameY; + npc.frameCounter = 0f; + } + if (npc.frame.Y >= frameY * Main.npcFrameCount[npc.type]) + npc.frame.Y = 0; + } + public override void AI() { if (spikeTimer > 0f) diff --git a/NPCs/SlimeGod/SlimeSpawnCrimson2.png b/NPCs/SlimeGod/SlimeSpawnCrimson2.png index 4bab57d4f3..b00fd3d34b 100644 Binary files a/NPCs/SlimeGod/SlimeSpawnCrimson2.png and b/NPCs/SlimeGod/SlimeSpawnCrimson2.png differ diff --git a/Projectiles/Boss/AbyssBallVolley.png b/Projectiles/Boss/AbyssBallVolley.png index fb4efb0594..c76fe467ce 100644 Binary files a/Projectiles/Boss/AbyssBallVolley.png and b/Projectiles/Boss/AbyssBallVolley.png differ diff --git a/Projectiles/Boss/AbyssBallVolley2.png b/Projectiles/Boss/AbyssBallVolley2.png index cd627fab02..cd00ad56fe 100644 Binary files a/Projectiles/Boss/AbyssBallVolley2.png and b/Projectiles/Boss/AbyssBallVolley2.png differ diff --git a/Projectiles/Enemy/CrimsonSpike.png b/Projectiles/Enemy/CrimsonSpike.png index 78d3df37b2..9f3435b4b9 100644 Binary files a/Projectiles/Enemy/CrimsonSpike.png and b/Projectiles/Enemy/CrimsonSpike.png differ diff --git a/Tiles/Furniture/BossTrophy.png b/Tiles/Furniture/BossTrophy.png index 9eda024abc..9e6ddb9cd5 100644 Binary files a/Tiles/Furniture/BossTrophy.png and b/Tiles/Furniture/BossTrophy.png differ