From 878dd1ec012d2f44e2ec1f52132c8a0b14e612f2 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 20 Aug 2021 09:48:03 -0500 Subject: [PATCH] Gave Rev+ mini DS' a distinct name --- CalamityLists.cs | 14 +- CalamityMod.cs | 6 +- Events/BossRushEvent.cs | 8 +- Items/SummonItems/DriedSeafood.cs | 8 +- ...urgeTailSmall.cs => DesertNuisanceBody.cs} | 128 +++++++++--------- ...geBodySmall.png => DesertNuisanceBody.png} | Bin ...urgeHeadSmall.cs => DesertNuisanceHead.cs} | 108 ++++++++------- ...geHeadSmall.png => DesertNuisanceHead.png} | Bin ...urgeBodySmall.cs => DesertNuisanceTail.cs} | 124 ++++++++--------- ...geTailSmall.png => DesertNuisanceTail.png} | Bin Utilities/NPCStats.cs | 6 +- World/WorldUpdateMiscEffects.cs | 4 +- 12 files changed, 199 insertions(+), 207 deletions(-) rename NPCs/DesertScourge/{DesertScourgeTailSmall.cs => DesertNuisanceBody.cs} (55%) rename NPCs/DesertScourge/{DesertScourgeBodySmall.png => DesertNuisanceBody.png} (100%) rename NPCs/DesertScourge/{DesertScourgeHeadSmall.cs => DesertNuisanceHead.cs} (81%) rename NPCs/DesertScourge/{DesertScourgeHeadSmall.png => DesertNuisanceHead.png} (100%) rename NPCs/DesertScourge/{DesertScourgeBodySmall.cs => DesertNuisanceTail.cs} (52%) rename NPCs/DesertScourge/{DesertScourgeTailSmall.png => DesertNuisanceTail.png} (100%) diff --git a/CalamityLists.cs b/CalamityLists.cs index 572402216d..0c6e80c255 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -547,9 +547,9 @@ namespace CalamityMod NPCID.DD2OgreT2, NPCID.DD2OgreT3, NPCID.DD2Betsy, - NPCType(), - NPCType(), - NPCType(), + NPCType(), + NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), @@ -2466,7 +2466,7 @@ namespace CalamityMod NPCID.PlanterasTentacle, NPCID.Sharkron, NPCID.Sharkron2, - NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), @@ -2551,9 +2551,9 @@ namespace CalamityMod bossMinionList = new List() { - NPCType(), - NPCType(), - NPCType(), + NPCType(), + NPCType(), + NPCType(), NPCID.SlimeSpiked, NPCID.ServantofCthulhu, NPCType(), diff --git a/CalamityMod.cs b/CalamityMod.cs index 0f9c0659a8..0fd5f1e551 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -628,9 +628,9 @@ namespace CalamityMod { ModContent.NPCType(), bitingEnemeyVelocityScale }, { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), bitingEnemeyVelocityScale }, - { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), bitingEnemeyVelocityScale }, + { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), bitingEnemeyVelocityScale }, { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index 025cc0ac45..8e7f94f3ed 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -159,10 +159,10 @@ namespace CalamityMod.Events new Boss(ModContent.NPCType(), spawnContext: type => { NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, ModContent.NPCType()); - NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, ModContent.NPCType()); - NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, ModContent.NPCType()); - }, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), - ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), + NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, ModContent.NPCType()); + NPC.SpawnOnPlayer(ClosestPlayerToWorldCenter, ModContent.NPCType()); + }, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), + ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), new Boss(NPCID.CultistBoss, spawnContext: type => diff --git a/Items/SummonItems/DriedSeafood.cs b/Items/SummonItems/DriedSeafood.cs index c67656a318..7b7d8f331b 100644 --- a/Items/SummonItems/DriedSeafood.cs +++ b/Items/SummonItems/DriedSeafood.cs @@ -45,14 +45,14 @@ namespace CalamityMod.Items.SummonItems if (CalamityWorld.revenge || CalamityWorld.malice) { if (Main.netMode != NetmodeID.MultiplayerClient) - NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); + NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); else - NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); + NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); if (Main.netMode != NetmodeID.MultiplayerClient) - NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); + NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); else - NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); + NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); } return true; diff --git a/NPCs/DesertScourge/DesertScourgeTailSmall.cs b/NPCs/DesertScourge/DesertNuisanceBody.cs similarity index 55% rename from NPCs/DesertScourge/DesertScourgeTailSmall.cs rename to NPCs/DesertScourge/DesertNuisanceBody.cs index 608dda346d..e84bcc30a8 100644 --- a/NPCs/DesertScourge/DesertScourgeTailSmall.cs +++ b/NPCs/DesertScourge/DesertNuisanceBody.cs @@ -6,41 +6,38 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.DesertScourge { - public class DesertScourgeTailSmall : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Desert Scourge"); - } + public class DesertNuisanceBody : ModNPC + { + public override void SetStaticDefaults() => DisplayName.SetDefault("A Desert Nuisance"); - public override void SetDefaults() - { + public override void SetDefaults() + { npc.GetNPCDamage(); - npc.width = 32; - npc.height = 32; - npc.defense = 7; - npc.lifeMax = BossRushEvent.BossRushActive ? 35000 : 800; - npc.aiStyle = -1; - aiType = -1; - npc.knockBackResist = 0f; - npc.alpha = 255; - npc.behindTiles = true; - npc.noGravity = true; - npc.noTileCollide = true; - npc.canGhostHeal = false; - npc.HitSound = SoundID.NPCHit1; - npc.DeathSound = SoundID.NPCDeath1; - npc.netAlways = true; - npc.dontCountMe = true; - } + npc.width = 40; + npc.height = 40; + npc.defense = 4; + npc.lifeMax = BossRushEvent.BossRushActive ? 35000 : 800; + npc.aiStyle = -1; + aiType = -1; + npc.knockBackResist = 0f; + npc.alpha = 255; + npc.behindTiles = true; + npc.noGravity = true; + npc.noTileCollide = true; + npc.canGhostHeal = false; + npc.HitSound = SoundID.NPCHit1; + npc.DeathSound = SoundID.NPCDeath1; + npc.netAlways = true; + npc.dontCountMe = true; + } - public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) - { - return false; - } + public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) + { + return false; + } - public override void AI() - { + public override void AI() + { if (npc.ai[2] > 0f) npc.realLife = (int)npc.ai[2]; @@ -50,7 +47,7 @@ namespace CalamityMod.NPCs.DesertScourge bool shouldDespawn = true; for (int i = 0; i < Main.maxNPCs; i++) { - if (Main.npc[i].active && Main.npc[i].type == ModContent.NPCType()) + if (Main.npc[i].active && Main.npc[i].type == ModContent.NPCType()) { shouldDespawn = false; break; @@ -119,40 +116,43 @@ namespace CalamityMod.NPCs.DesertScourge } } - public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 3; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (npc.life <= 0) - { - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeTail"), 0.65f); - for (int k = 0; k < 10; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } + public override bool CheckActive() + { + return false; + } - public override bool CheckActive() - { - return false; - } + public override bool PreNPCLoot() + { + return false; + } - public override bool PreNPCLoot() - { - return false; - } + public override void HitEffect(int hitDirection, double damage) + { + for (int k = 0; k < 3; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + if (npc.life <= 0) + { + float randomSpread = (float)(Main.rand.Next(-100, 100) / 100); + Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody"), 0.65f); + Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody2"), 0.65f); + Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody3"), 0.65f); + for (int k = 0; k < 10; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + } + } - public override void ScaleExpertStats(int numPlayers, float bossLifeScale) - { - npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); - } + public override void ScaleExpertStats(int numPlayers, float bossLifeScale) + { + npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); + } - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(BuffID.Bleeding, 30, true); - } - } + public override void OnHitPlayer(Player player, int damage, bool crit) + { + player.AddBuff(BuffID.Bleeding, 60, true); + } + } } diff --git a/NPCs/DesertScourge/DesertScourgeBodySmall.png b/NPCs/DesertScourge/DesertNuisanceBody.png similarity index 100% rename from NPCs/DesertScourge/DesertScourgeBodySmall.png rename to NPCs/DesertScourge/DesertNuisanceBody.png diff --git a/NPCs/DesertScourge/DesertScourgeHeadSmall.cs b/NPCs/DesertScourge/DesertNuisanceHead.cs similarity index 81% rename from NPCs/DesertScourge/DesertScourgeHeadSmall.cs rename to NPCs/DesertScourge/DesertNuisanceHead.cs index 39e742a6b4..dc3663c68f 100644 --- a/NPCs/DesertScourge/DesertScourgeHeadSmall.cs +++ b/NPCs/DesertScourge/DesertNuisanceHead.cs @@ -7,41 +7,39 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.DesertScourge { - public class DesertScourgeHeadSmall : ModNPC - { - public bool flies = false; - public float speed = 0.085f; - public float turnSpeed = 0.125f; - public int maxLength = 13; - bool TailSpawned = false; + public class DesertNuisanceHead : ModNPC + { + public bool flies = false; + public float speed = 0.085f; + public float turnSpeed = 0.125f; + public int maxLength = 13; + bool TailSpawned = false; - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Desert Scourge"); - } - public override void SetDefaults() - { + public override void SetStaticDefaults() => DisplayName.SetDefault("A Desert Nuisance"); + + public override void SetDefaults() + { npc.Calamity().canBreakPlayerDefense = true; npc.GetNPCDamage(); npc.defense = 2; - npc.width = 60; - npc.height = 60; + npc.width = 60; + npc.height = 60; npc.lifeMax = BossRushEvent.BossRushActive ? 35000 : 800; npc.aiStyle = -1; - aiType = -1; - npc.knockBackResist = 0f; - npc.alpha = 255; - npc.behindTiles = true; - npc.noGravity = true; - npc.noTileCollide = true; - npc.HitSound = SoundID.NPCHit1; - npc.DeathSound = SoundID.NPCDeath1; - npc.netAlways = true; - } + aiType = -1; + npc.knockBackResist = 0f; + npc.alpha = 255; + npc.behindTiles = true; + npc.noGravity = true; + npc.noTileCollide = true; + npc.HitSound = SoundID.NPCHit1; + npc.DeathSound = SoundID.NPCDeath1; + npc.netAlways = true; + } - public override void AI() - { + public override void AI() + { if (npc.ai[2] > 0f) npc.realLife = (int)npc.ai[2]; @@ -62,10 +60,10 @@ namespace CalamityMod.NPCs.DesertScourge int num3 = maxLength; for (int j = 0; j <= num3; j++) { - int num4 = ModContent.NPCType(); + int num4 = ModContent.NPCType(); if (j == num3) { - num4 = ModContent.NPCType(); + num4 = ModContent.NPCType(); } int num5 = NPC.NewNPC((int)(npc.position.X + (float)(npc.width / 2)), (int)(npc.position.Y + (float)npc.height), num4, npc.whoAmI, 0f, 0f, 0f, 0f, 255); Main.npc[num5].ai[2] = (float)npc.whoAmI; @@ -163,8 +161,8 @@ namespace CalamityMod.NPCs.DesertScourge { for (int a = 0; a < 200; a++) { - if (Main.npc[a].type == ModContent.NPCType() || Main.npc[a].type == ModContent.NPCType() || - Main.npc[a].type == ModContent.NPCType()) + if (Main.npc[a].type == ModContent.NPCType() || Main.npc[a].type == ModContent.NPCType() || + Main.npc[a].type == ModContent.NPCType()) { Main.npc[a].active = false; } @@ -381,30 +379,30 @@ namespace CalamityMod.NPCs.DesertScourge } public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 3; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (npc.life <= 0) - { - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeHead"), 0.65f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeHead2"), 0.65f); - for (int k = 0; k < 10; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } + { + for (int k = 0; k < 3; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + if (npc.life <= 0) + { + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeHead"), 0.65f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeHead2"), 0.65f); + for (int k = 0; k < 10; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + } + } - public override void ScaleExpertStats(int numPlayers, float bossLifeScale) - { - npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); - } + public override void ScaleExpertStats(int numPlayers, float bossLifeScale) + { + npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); + } - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(BuffID.Bleeding, 180, true); - } - } + public override void OnHitPlayer(Player player, int damage, bool crit) + { + player.AddBuff(BuffID.Bleeding, 180, true); + } + } } diff --git a/NPCs/DesertScourge/DesertScourgeHeadSmall.png b/NPCs/DesertScourge/DesertNuisanceHead.png similarity index 100% rename from NPCs/DesertScourge/DesertScourgeHeadSmall.png rename to NPCs/DesertScourge/DesertNuisanceHead.png diff --git a/NPCs/DesertScourge/DesertScourgeBodySmall.cs b/NPCs/DesertScourge/DesertNuisanceTail.cs similarity index 52% rename from NPCs/DesertScourge/DesertScourgeBodySmall.cs rename to NPCs/DesertScourge/DesertNuisanceTail.cs index 268ac0fb2e..cf6db80a7a 100644 --- a/NPCs/DesertScourge/DesertScourgeBodySmall.cs +++ b/NPCs/DesertScourge/DesertNuisanceTail.cs @@ -6,41 +6,38 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.DesertScourge { - public class DesertScourgeBodySmall : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Desert Scourge"); - } + public class DesertNuisanceTail : ModNPC + { + public override void SetStaticDefaults() => DisplayName.SetDefault("A Desert Nuisance"); - public override void SetDefaults() - { + public override void SetDefaults() + { npc.GetNPCDamage(); - npc.width = 40; - npc.height = 40; - npc.defense = 4; + npc.width = 32; + npc.height = 32; + npc.defense = 7; npc.lifeMax = BossRushEvent.BossRushActive ? 35000 : 800; npc.aiStyle = -1; - aiType = -1; - npc.knockBackResist = 0f; - npc.alpha = 255; - npc.behindTiles = true; - npc.noGravity = true; - npc.noTileCollide = true; - npc.canGhostHeal = false; - npc.HitSound = SoundID.NPCHit1; - npc.DeathSound = SoundID.NPCDeath1; - npc.netAlways = true; - npc.dontCountMe = true; - } + aiType = -1; + npc.knockBackResist = 0f; + npc.alpha = 255; + npc.behindTiles = true; + npc.noGravity = true; + npc.noTileCollide = true; + npc.canGhostHeal = false; + npc.HitSound = SoundID.NPCHit1; + npc.DeathSound = SoundID.NPCDeath1; + npc.netAlways = true; + npc.dontCountMe = true; + } - public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) - { - return false; - } + public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) + { + return false; + } - public override void AI() - { + public override void AI() + { if (npc.ai[2] > 0f) npc.realLife = (int)npc.ai[2]; @@ -50,7 +47,7 @@ namespace CalamityMod.NPCs.DesertScourge bool shouldDespawn = true; for (int i = 0; i < Main.maxNPCs; i++) { - if (Main.npc[i].active && Main.npc[i].type == ModContent.NPCType()) + if (Main.npc[i].active && Main.npc[i].type == ModContent.NPCType()) { shouldDespawn = false; break; @@ -119,43 +116,40 @@ namespace CalamityMod.NPCs.DesertScourge } } - public override bool CheckActive() - { - return false; - } + public override void HitEffect(int hitDirection, double damage) + { + for (int k = 0; k < 3; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + if (npc.life <= 0) + { + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/ScourgeTail"), 0.65f); + for (int k = 0; k < 10; k++) + { + Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); + } + } + } - public override bool PreNPCLoot() - { - return false; - } + public override bool CheckActive() + { + return false; + } - public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 3; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (npc.life <= 0) - { - float randomSpread = (float)(Main.rand.Next(-100, 100) / 100); - Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody"), 0.65f); - Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody2"), 0.65f); - Gore.NewGore(npc.position, npc.velocity * randomSpread * Main.rand.NextFloat(), mod.GetGoreSlot("Gores/ScourgeBody3"), 0.65f); - for (int k = 0; k < 10; k++) - { - Dust.NewDust(npc.position, npc.width, npc.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } + public override bool PreNPCLoot() + { + return false; + } - public override void ScaleExpertStats(int numPlayers, float bossLifeScale) - { - npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); - } + public override void ScaleExpertStats(int numPlayers, float bossLifeScale) + { + npc.lifeMax = (int)(npc.lifeMax * 0.7f * bossLifeScale); + } - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(BuffID.Bleeding, 60, true); - } - } + public override void OnHitPlayer(Player player, int damage, bool crit) + { + player.AddBuff(BuffID.Bleeding, 30, true); + } + } } diff --git a/NPCs/DesertScourge/DesertScourgeTailSmall.png b/NPCs/DesertScourge/DesertNuisanceTail.png similarity index 100% rename from NPCs/DesertScourge/DesertScourgeTailSmall.png rename to NPCs/DesertScourge/DesertNuisanceTail.png diff --git a/Utilities/NPCStats.cs b/Utilities/NPCStats.cs index 8aa32964b6..18cb9766e8 100644 --- a/Utilities/NPCStats.cs +++ b/Utilities/NPCStats.cs @@ -299,9 +299,9 @@ namespace CalamityMod { ModContent.NPCType(), new int[] { 30, 66, 88, 99, 132 } }, { ModContent.NPCType(), new int[] { 16, 32, 40, 44, 60 } }, { ModContent.NPCType(), new int[] { 12, 24, 30, 32, 42 } }, - { ModContent.NPCType(), new int[] { 20, 44, 60, 70, 90 } }, - { ModContent.NPCType(), new int[] { 14, 28, 32, 36, 45 } }, - { ModContent.NPCType(), new int[] { 8, 16, 20, 24, 30 } }, + { ModContent.NPCType(), new int[] { 20, 44, 60, 70, 90 } }, + { ModContent.NPCType(), new int[] { 14, 28, 32, 36, 45 } }, + { ModContent.NPCType(), new int[] { 8, 16, 20, 24, 30 } }, { ModContent.NPCType(), new int[] { 14, 28, 36, 40, 51 } }, { ModContent.NPCType(), new int[] { 8, 16, 20, 24, 30 } }, { ModContent.NPCType(), new int[] { 6, 12, 16, 18, 24 } }, diff --git a/World/WorldUpdateMiscEffects.cs b/World/WorldUpdateMiscEffects.cs index 56cda44b62..12ad63b706 100644 --- a/World/WorldUpdateMiscEffects.cs +++ b/World/WorldUpdateMiscEffects.cs @@ -756,8 +756,8 @@ namespace CalamityMod.World } else if (bossType == ModContent.NPCType()) { - NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); - NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); + NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); + NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); } if (bossType == NPCID.DukeFishron) {