diff --git a/DataStructures/NPCStats.cs b/DataStructures/NPCStats.cs index 040ca16dfd..8929768f31 100644 --- a/DataStructures/NPCStats.cs +++ b/DataStructures/NPCStats.cs @@ -785,7 +785,7 @@ namespace CalamityMod { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 476, 484, 500, 726 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 476, 696 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 476, 484, 500, 726 } }, - { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 476, 696 } }, + { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 476, 696 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 476, 696 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 280, 476, 484, 500, 726 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 250, 440, 464, 476, 696 } }, diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index 3d915b7115..a28443b206 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -297,7 +297,7 @@ namespace CalamityMod.Events } SoundEngine.PlaySound(SupremeCalamitas.SpawnSound, Main.player[ClosestPlayerToWorldCenter].Center); CalamityUtils.SpawnBossBetter(Main.player[ClosestPlayerToWorldCenter].Top - new Vector2(42f, 84f), type); - }, dimnessFactor: 0.6f, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), + }, dimnessFactor: 0.6f, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), new Boss(ModContent.NPCType(), TimeChangeContext.Day), diff --git a/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs b/NPCs/SupremeCalamitas/SepulcherBodyEnergyBall.cs similarity index 98% rename from NPCs/SupremeCalamitas/SCalWormBodyWeak.cs rename to NPCs/SupremeCalamitas/SepulcherBodyEnergyBall.cs index d4355d7a87..8ade54b344 100644 --- a/NPCs/SupremeCalamitas/SCalWormBodyWeak.cs +++ b/NPCs/SupremeCalamitas/SepulcherBodyEnergyBall.cs @@ -11,7 +11,7 @@ using Terraria.Audio; namespace CalamityMod.NPCs.SupremeCalamitas { - public class SCalWormBodyWeak : ModNPC + public class SepulcherBodyEnergyBall : ModNPC { private bool setAlpha = false; public NPC AheadSegment => Main.npc[(int)NPC.ai[1]]; @@ -21,7 +21,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas public override void SetStaticDefaults() { this.HideFromBestiary(); - DisplayName.SetDefault("Brimstone Heart"); + DisplayName.SetDefault("Sepulcher"); Main.npcFrameCount[NPC.type] = 5; } diff --git a/NPCs/SupremeCalamitas/SCalWormBodyWeak.png b/NPCs/SupremeCalamitas/SepulcherBodyEnergyBall.png similarity index 100% rename from NPCs/SupremeCalamitas/SCalWormBodyWeak.png rename to NPCs/SupremeCalamitas/SepulcherBodyEnergyBall.png diff --git a/NPCs/SupremeCalamitas/SepulcherHead.cs b/NPCs/SupremeCalamitas/SepulcherHead.cs index 6c26efa1a2..716f931137 100644 --- a/NPCs/SupremeCalamitas/SepulcherHead.cs +++ b/NPCs/SupremeCalamitas/SepulcherHead.cs @@ -121,7 +121,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas int lol; if (i >= 0 && i < minLength && i % 2 == 1) { - lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.position.X + (NPC.width / 2), (int)NPC.position.Y + (NPC.height / 2), ModContent.NPCType(), NPC.whoAmI); + lol = NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.position.X + (NPC.width / 2), (int)NPC.position.Y + (NPC.height / 2), ModContent.NPCType(), NPC.whoAmI); Main.npc[lol].localAI[0] += passedVar; passedVar += 36f; } diff --git a/Projectiles/Summon/ProfanedSoulCrystalProjectiles.cs b/Projectiles/Summon/ProfanedSoulCrystalProjectiles.cs index cf1c2b0043..8b930c76c6 100644 --- a/Projectiles/Summon/ProfanedSoulCrystalProjectiles.cs +++ b/Projectiles/Summon/ProfanedSoulCrystalProjectiles.cs @@ -324,7 +324,7 @@ namespace CalamityMod.Projectiles.Summon public override bool? CanHitNPC(NPC target) { - bool instakill = target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType(); + bool instakill = target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType(); if (!instakill && this.target != null && target != this.target) { if (Projectile.getRect().Intersects(target.getRect())) @@ -723,7 +723,7 @@ namespace CalamityMod.Projectiles.Summon public override bool? CanHitNPC(NPC target) { - bool instakill = target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType(); + bool instakill = target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType() || target.type == ModContent.NPCType(); if (!instakill && this.target != null && target != this.target) return false; return null; diff --git a/Utilities/NPCDebuffs.cs b/Utilities/NPCDebuffs.cs index 7bc5205f51..326949cae5 100644 --- a/Utilities/NPCDebuffs.cs +++ b/Utilities/NPCDebuffs.cs @@ -192,7 +192,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, { ModContent.NPCType(), new Tuple(true, Array.Empty()) }, { ModContent.NPCType(), new Tuple(true, Array.Empty()) }, - { ModContent.NPCType(), new Tuple(true, Array.Empty()) }, + { ModContent.NPCType(), new Tuple(true, Array.Empty()) }, { ModContent.NPCType(), new Tuple(true, Array.Empty()) }, { ModContent.NPCType(), new Tuple(true, Array.Empty()) },