From bedc061e64a12d9ccd8817ea0b2406e645911b07 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Fri, 2 Jun 2023 05:52:02 +0700 Subject: [PATCH] Renames (*CausticEdge internal name held captive) Big Sightseer -> Sightseer Spitter Small Sightseer -> Sightseer Collider Cultist Assassin -> Renegade Warlock (also renamed banners for the above) Crimulan Slime God -> Crimulan Paladin Ebonian Slime God -> Ebonian Paladin Cold Divinity -> Glacial Embrace Caustic Edge -> Tainted Blade True Caustic Edge -> Caustic Edge Tyrant Yharim's Ultisword -> Blighted Cleaver True Tyrant's Ultisword -> Defiled Greatsword Fixed Atlas Banner tooltip saying "Grants bonus to Atlas Banner" --- ...dDivinityBuff.cs => GlacialEmbraceBuff.cs} | 6 ++-- ...ivinityBuff.png => GlacialEmbraceBuff.png} | Bin CalPlayer/CalamityPlayer.cs | 4 +-- ...ivinityBody.png => GlacialEmbraceBody.png} | Bin ...Layer.cs => GlacialEmbraceOverlayLayer.cs} | 6 ++-- CalamityLists.cs | 30 +++++++++--------- CalamityMod.cs | 16 +++++----- DataStructures/NPCStats.cs | 16 +++++----- Events/BossRushEvent.cs | 2 +- ...ltistAssassin3.png => RenegadeWarlock.png} | Bin ...ltistAssassin.png => RenegadeWarlock2.png} | Bin ...tistAssassin2.png => RenegadeWarlock3.png} | Bin .../SightseerColliderGore0.png} | Bin .../SightseerColliderGore1.png} | Bin .../SightseerColliderGore2.png} | Bin .../SightseerColliderGore3.png} | Bin .../SightseerColliderGore4.png} | Bin .../SightseerSpitterGore0.png} | Bin .../SightseerSpitterGore1.png} | Bin .../SightseerSpitterGore2.png} | Bin .../SightseerSpitterGore3.png} | Bin .../SightseerSpitterGore4.png} | Bin Items/CalamityGlobalItem.cs | 10 +++--- ...ssinBanner.cs => RenegadeWarlockBanner.cs} | 3 +- ...inBanner.png => RenegadeWarlockBanner.png} | Bin ...erBanner.cs => SightseerColliderBanner.cs} | 3 +- ...Banner.png => SightseerColliderBanner.png} | Bin ...eerBanner.cs => SightseerSpitterBanner.cs} | 3 +- ...rBanner.png => SightseerSpitterBanner.png} | Bin Items/TreasureBags/CryogenBag.cs | 2 +- ...YharimsUltisword.cs => BlightedCleaver.cs} | 3 +- ...arimsUltisword.png => BlightedCleaver.png} | Bin ...arimsUltisword.cs => DefiledGreatsword.cs} | 5 +-- ...imsUltisword.png => DefiledGreatsword.png} | Bin .../Melee/{CausticEdge.cs => TaintedBlade.cs} | 3 +- .../{CausticEdge.png => TaintedBlade.png} | Bin Items/Weapons/Melee/TrueCausticEdge.cs | 3 +- .../{ColdDivinity.cs => GlacialEmbrace.cs} | 11 ++++--- .../{ColdDivinity.png => GlacialEmbrace.png} | Bin .../en-US/Mods.CalamityMod.Buffs.hjson | 4 +-- .../Mods.CalamityMod.Items.Placeables.hjson | 20 ++++++------ ...Mods.CalamityMod.Items.Weapons.Melee.hjson | 14 ++++---- ...ods.CalamityMod.Items.Weapons.Summon.hjson | 4 +-- .../en-US/Mods.CalamityMod.NPCs.hjson | 14 ++++---- .../Mods.CalamityMod.Projectiles.Summon.hjson | 2 +- ModSupport/WeakReferenceSupport.cs | 4 +-- ...SmallSightseer.cs => SightseerCollider.cs} | 8 ++--- ...allSightseer.png => SightseerCollider.png} | Bin ...seerGlow.png => SightseerColliderGlow.png} | Bin .../{BigSightseer.cs => SightseerSpitter.cs} | 10 +++--- ...{BigSightseer.png => SightseerSpitter.png} | Bin ...tseerGlow.png => SightseerSpitterGlow.png} | Bin NPCs/CalamityGlobalAI.cs | 12 +++---- NPCs/CalamityGlobalNPC.cs | 6 ++-- ...{CultistAssassin.cs => RenegadeWarlock.cs} | 10 +++--- ...ultistAssassin.png => RenegadeWarlock.png} | Bin NPCs/Cryogen/Cryogen.cs | 2 +- NPCs/SlimeGod/CorruptSlimeSpawn.cs | 2 +- NPCs/SlimeGod/CrimsonSlimeSpawn.cs | 2 +- NPCs/SlimeGod/CrimsonSlimeSpawn2.cs | 2 +- ...CrimulanSlimeGod.cs => CrimulanPaladin.cs} | 10 +++--- ...imulanSlimeGod.png => CrimulanPaladin.png} | Bin ...Boss.png => CrimulanPaladin_Head_Boss.png} | Bin .../{EbonianSlimeGod.cs => EbonianPaladin.cs} | 10 +++--- ...EbonianSlimeGod.png => EbonianPaladin.png} | Bin ..._Boss.png => EbonianPaladin_Head_Boss.png} | Bin NPCs/SlimeGod/SlimeGodCore.cs | 18 +++++------ ...lanSlimeGod.cs => SplitCrimulanPaladin.cs} | 2 +- ...nSlimeGod.png => SplitCrimulanPaladin.png} | Bin ...png => SplitCrimulanPaladin_Head_Boss.png} | Bin ...nianSlimeGod.cs => SplitEbonianPaladin.cs} | 2 +- ...anSlimeGod.png => SplitEbonianPaladin.png} | Bin ....png => SplitEbonianPaladin_Head_Boss.png} | Bin ...yThing.cs => GlacialEmbracePointyThing.cs} | 8 ++--- ...hing.png => GlacialEmbracePointyThing.png} | Bin UI/BossHealthBarManager.cs | 8 ++--- UI/VanillaBossBars/SlimeGodBossBar.cs | 12 +++---- Utilities/MiscUtils.cs | 6 ++-- Utilities/NPCDebuffs.cs | 14 ++++---- Utilities/NPCUtils.cs | 4 +-- 80 files changed, 172 insertions(+), 164 deletions(-) rename Buffs/Summon/{ColdDivinityBuff.cs => GlacialEmbraceBuff.cs} (83%) rename Buffs/Summon/{ColdDivinityBuff.png => GlacialEmbraceBuff.png} (100%) rename CalPlayer/DrawLayers/{ColdDivinityBody.png => GlacialEmbraceBody.png} (100%) rename CalPlayer/DrawLayers/{ColdDivinityOverlayLayer.cs => GlacialEmbraceOverlayLayer.cs} (89%) rename Gores/CultistAssassinGores/{CultistAssassin3.png => RenegadeWarlock.png} (100%) rename Gores/CultistAssassinGores/{CultistAssassin.png => RenegadeWarlock2.png} (100%) rename Gores/CultistAssassinGores/{CultistAssassin2.png => RenegadeWarlock3.png} (100%) rename Gores/{SmallSightseer/SmallSightseerGore0.png => SightseerCollider/SightseerColliderGore0.png} (100%) rename Gores/{SmallSightseer/SmallSightseerGore1.png => SightseerCollider/SightseerColliderGore1.png} (100%) rename Gores/{SmallSightseer/SmallSightseerGore2.png => SightseerCollider/SightseerColliderGore2.png} (100%) rename Gores/{SmallSightseer/SmallSightseerGore3.png => SightseerCollider/SightseerColliderGore3.png} (100%) rename Gores/{SmallSightseer/SmallSightseerGore4.png => SightseerCollider/SightseerColliderGore4.png} (100%) rename Gores/{BigSightseer/BigSightseerGore0.png => SightseerSpitter/SightseerSpitterGore0.png} (100%) rename Gores/{BigSightseer/BigSightseerGore1.png => SightseerSpitter/SightseerSpitterGore1.png} (100%) rename Gores/{BigSightseer/BigSightseerGore2.png => SightseerSpitter/SightseerSpitterGore2.png} (100%) rename Gores/{BigSightseer/BigSightseerGore3.png => SightseerSpitter/SightseerSpitterGore3.png} (100%) rename Gores/{BigSightseer/BigSightseerGore4.png => SightseerSpitter/SightseerSpitterGore4.png} (100%) rename Items/Placeables/Banners/{CultistAssassinBanner.cs => RenegadeWarlockBanner.cs} (88%) rename Items/Placeables/Banners/{CultistAssassinBanner.png => RenegadeWarlockBanner.png} (100%) rename Items/Placeables/Banners/{SmallSightseerBanner.cs => SightseerColliderBanner.cs} (87%) rename Items/Placeables/Banners/{SmallSightseerBanner.png => SightseerColliderBanner.png} (100%) rename Items/Placeables/Banners/{BigSightseerBanner.cs => SightseerSpitterBanner.cs} (87%) rename Items/Placeables/Banners/{BigSightseerBanner.png => SightseerSpitterBanner.png} (100%) rename Items/Weapons/Melee/{TyrantYharimsUltisword.cs => BlightedCleaver.cs} (95%) rename Items/Weapons/Melee/{TyrantYharimsUltisword.png => BlightedCleaver.png} (100%) rename Items/Weapons/Melee/{TrueTyrantYharimsUltisword.cs => DefiledGreatsword.cs} (94%) rename Items/Weapons/Melee/{TrueTyrantYharimsUltisword.png => DefiledGreatsword.png} (100%) rename Items/Weapons/Melee/{CausticEdge.cs => TaintedBlade.cs} (95%) rename Items/Weapons/Melee/{CausticEdge.png => TaintedBlade.png} (100%) rename Items/Weapons/Summon/{ColdDivinity.cs => GlacialEmbrace.cs} (91%) rename Items/Weapons/Summon/{ColdDivinity.png => GlacialEmbrace.png} (100%) rename NPCs/Astral/{SmallSightseer.cs => SightseerCollider.cs} (95%) rename NPCs/Astral/{SmallSightseer.png => SightseerCollider.png} (100%) rename NPCs/Astral/{SmallSightseerGlow.png => SightseerColliderGlow.png} (100%) rename NPCs/Astral/{BigSightseer.cs => SightseerSpitter.cs} (97%) rename NPCs/Astral/{BigSightseer.png => SightseerSpitter.png} (100%) rename NPCs/Astral/{BigSightseerGlow.png => SightseerSpitterGlow.png} (100%) rename NPCs/Crags/{CultistAssassin.cs => RenegadeWarlock.cs} (92%) rename NPCs/Crags/{CultistAssassin.png => RenegadeWarlock.png} (100%) rename NPCs/SlimeGod/{CrimulanSlimeGod.cs => CrimulanPaladin.cs} (98%) rename NPCs/SlimeGod/{CrimulanSlimeGod.png => CrimulanPaladin.png} (100%) rename NPCs/SlimeGod/{CrimulanSlimeGod_Head_Boss.png => CrimulanPaladin_Head_Boss.png} (100%) rename NPCs/SlimeGod/{EbonianSlimeGod.cs => EbonianPaladin.cs} (98%) rename NPCs/SlimeGod/{EbonianSlimeGod.png => EbonianPaladin.png} (100%) rename NPCs/SlimeGod/{EbonianSlimeGod_Head_Boss.png => EbonianPaladin_Head_Boss.png} (100%) rename NPCs/SlimeGod/{SplitCrimulanSlimeGod.cs => SplitCrimulanPaladin.cs} (99%) rename NPCs/SlimeGod/{SplitCrimulanSlimeGod.png => SplitCrimulanPaladin.png} (100%) rename NPCs/SlimeGod/{SplitCrimulanSlimeGod_Head_Boss.png => SplitCrimulanPaladin_Head_Boss.png} (100%) rename NPCs/SlimeGod/{SplitEbonianSlimeGod.cs => SplitEbonianPaladin.cs} (99%) rename NPCs/SlimeGod/{SplitEbonianSlimeGod.png => SplitEbonianPaladin.png} (100%) rename NPCs/SlimeGod/{SplitEbonianSlimeGod_Head_Boss.png => SplitEbonianPaladin_Head_Boss.png} (100%) rename Projectiles/Summon/{ColdDivinityPointyThing.cs => GlacialEmbracePointyThing.cs} (97%) rename Projectiles/Summon/{ColdDivinityPointyThing.png => GlacialEmbracePointyThing.png} (100%) diff --git a/Buffs/Summon/ColdDivinityBuff.cs b/Buffs/Summon/GlacialEmbraceBuff.cs similarity index 83% rename from Buffs/Summon/ColdDivinityBuff.cs rename to Buffs/Summon/GlacialEmbraceBuff.cs index bbd764a6ae..283c0cb8cb 100644 --- a/Buffs/Summon/ColdDivinityBuff.cs +++ b/Buffs/Summon/GlacialEmbraceBuff.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.Summon { - public class ColdDivinityBuff : ModBuff + public class GlacialEmbraceBuff : ModBuff { public override void SetStaticDefaults() { @@ -16,8 +16,8 @@ namespace CalamityMod.Buffs.Summon public override void Update(Player player, ref int buffIndex) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.coldDivinity = true; - if (!modPlayer.coldDivinity) + modPlayer.GlacialEmbrace = true; + if (!modPlayer.GlacialEmbrace) { player.DelBuff(buffIndex); buffIndex--; diff --git a/Buffs/Summon/ColdDivinityBuff.png b/Buffs/Summon/GlacialEmbraceBuff.png similarity index 100% rename from Buffs/Summon/ColdDivinityBuff.png rename to Buffs/Summon/GlacialEmbraceBuff.png diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index c8bb59fbad..be4dd39b27 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -933,7 +933,7 @@ namespace CalamityMod.CalPlayer public bool saros = false; public bool plaguebringerMK2 = false; public bool igneousExaltation = false; - public bool coldDivinity = false; + public bool GlacialEmbrace = false; public bool voidAura = false; public bool voidAuraDamage = false; public bool voidConcentrationAura = false; @@ -1963,7 +1963,7 @@ namespace CalamityMod.CalPlayer providenceStabber = false; plaguebringerMK2 = false; igneousExaltation = false; - coldDivinity = false; + GlacialEmbrace = false; voidAura = false; voidAuraDamage = false; voidConcentrationAura = false; diff --git a/CalPlayer/DrawLayers/ColdDivinityBody.png b/CalPlayer/DrawLayers/GlacialEmbraceBody.png similarity index 100% rename from CalPlayer/DrawLayers/ColdDivinityBody.png rename to CalPlayer/DrawLayers/GlacialEmbraceBody.png diff --git a/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs b/CalPlayer/DrawLayers/GlacialEmbraceOverlayLayer.cs similarity index 89% rename from CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs rename to CalPlayer/DrawLayers/GlacialEmbraceOverlayLayer.cs index d8199bbd9f..b523e05986 100644 --- a/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs +++ b/CalPlayer/DrawLayers/GlacialEmbraceOverlayLayer.cs @@ -6,7 +6,7 @@ using Terraria.ModLoader; namespace CalamityMod.CalPlayer.DrawLayers { - public class ColdDivinityOverlayLayer : PlayerDrawLayer + public class GlacialEmbraceOverlayLayer : PlayerDrawLayer { public override Position GetDefaultPosition() => new BeforeParent(PlayerDrawLayers.Skin); @@ -14,12 +14,12 @@ namespace CalamityMod.CalPlayer.DrawLayers { Player drawPlayer = drawInfo.drawPlayer; CalamityPlayer modPlayer = drawPlayer.Calamity(); - return drawInfo.shadow == 0f && !drawPlayer.dead && modPlayer.coldDivinity; + return drawInfo.shadow == 0f && !drawPlayer.dead && modPlayer.GlacialEmbrace; } protected override void Draw(ref PlayerDrawSet drawInfo) { - Texture2D texture = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/ColdDivinityBody").Value; + Texture2D texture = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/GlacialEmbraceBody").Value; int drawX = (int)(drawInfo.Center.X - Main.screenPosition.X); int drawY = (int)(drawInfo.Center.Y - Main.screenPosition.Y); Player drawPlayer = drawInfo.drawPlayer; diff --git a/CalamityLists.cs b/CalamityLists.cs index af76f9ac8a..183961ae7b 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -936,10 +936,10 @@ namespace CalamityMod NPCType(), NPCType(), NPCType(), - NPCType(), - NPCType(), - NPCType(), - NPCType(), + NPCType(), + NPCType(), + NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), @@ -993,7 +993,7 @@ namespace CalamityMod NPCType(), NPCType(), NPCType(), - NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), @@ -2091,10 +2091,10 @@ namespace CalamityMod SlimeGodIDs = new List { - NPCType(), - NPCType(), - NPCType(), - NPCType(), + NPCType(), + NPCType(), + NPCType(), + NPCType(), NPCType() }; @@ -2532,8 +2532,8 @@ namespace CalamityMod { NPCID.QueenBee, 9 }, { NPCID.SkeletronHead, 10 }, { NPCType(), 11 }, - { NPCType(), 11 }, - { NPCType(), 11 }, + { NPCType(), 11 }, + { NPCType(), 11 }, { NPCID.WallofFlesh, 12 }, { NPCType(), 13 }, { NPCID.Retinazer, 14 }, @@ -2600,10 +2600,10 @@ namespace CalamityMod NPCType(), NPCType(), NPCID.SkeletronHand, - NPCType(), - NPCType(), - NPCType(), - NPCType(), + NPCType(), + NPCType(), + NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), diff --git a/CalamityMod.cs b/CalamityMod.cs index e51e2ab3dd..ce2c1d1071 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -706,10 +706,10 @@ namespace CalamityMod { ModContent.NPCType(), 7200 }, // 2:00 (120 seconds) { ModContent.NPCType(), 7200 }, // 2:00 (120 seconds) { ModContent.NPCType(), 9000 }, // 2:30 (150 seconds) -- total length of Slime God fight - { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) - { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) - { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) -- split slimes should spawn at 1:15 and die at around 2:30 - { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) + { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) + { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) + { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) -- split slimes should spawn at 1:15 and die at around 2:30 + { ModContent.NPCType(), 4500 }, // 1:15 (75 seconds) { ModContent.NPCType(), 10800 }, // 3:00 (180 seconds) { ModContent.NPCType(), 7200 }, // 2:00 (120 seconds) { ModContent.NPCType(), 7200 }, @@ -814,10 +814,10 @@ namespace CalamityMod { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), velocityScaleMin }, - { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), velocityScaleMin }, + { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), velocityScaleMin }, { ModContent.NPCType(), bitingEnemeyVelocityScale }, diff --git a/DataStructures/NPCStats.cs b/DataStructures/NPCStats.cs index 4ced7e1f7b..de3528332f 100644 --- a/DataStructures/NPCStats.cs +++ b/DataStructures/NPCStats.cs @@ -352,10 +352,10 @@ namespace CalamityMod { NPCID.ChaosBall, new int[] { -1, -1, -1, 40, 60 } }, { ModContent.NPCType(), new int[] { 40, 80, 96, 104, 135 } }, - { ModContent.NPCType(), new int[] { 45, 90, 108, 118, 150 } }, - { ModContent.NPCType(), new int[] { 40, 80, 96, 104, 135 } }, - { ModContent.NPCType(), new int[] { 50, 100, 120, 130, 171 } }, - { ModContent.NPCType(), new int[] { 45, 90, 108, 118, 150 } }, + { ModContent.NPCType(), new int[] { 45, 90, 108, 118, 150 } }, + { ModContent.NPCType(), new int[] { 40, 80, 96, 104, 135 } }, + { ModContent.NPCType(), new int[] { 50, 100, 120, 130, 171 } }, + { ModContent.NPCType(), new int[] { 45, 90, 108, 118, 150 } }, { ModContent.NPCType(), new int[] { 30, 60, 72, 78, 99 } }, { ModContent.NPCType(), new int[] { 20, 40, 48, 52, 66 } }, { ModContent.NPCType(), new int[] { 35, 70, 84, 92, 120 } }, @@ -578,10 +578,10 @@ namespace CalamityMod { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 42, 68, 84, 92, 126 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 84, 114 } }, - { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 42, 68, 84, 92, 126 } }, - { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 84, 114 } }, - { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 84, 114 } }, - { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 34, 52, 68, 74, 102 } }, + { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 42, 68, 84, 92, 126 } }, + { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 84, 114 } }, + { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 38, 60, 76, 84, 114 } }, + { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 34, 52, 68, 74, 102 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 36, 56, 68, 76, 102 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 24, 48, 60, 68, 90 } }, diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index fa9d9cd2f2..7a0b9c401f 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -186,7 +186,7 @@ namespace CalamityMod.Events CalamityUtils.BossAwakenMessage(sans); }, permittedNPCs: NPCID.SkeletronHand), - new Boss(ModContent.NPCType(), TimeChangeContext.Day, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), + new Boss(ModContent.NPCType(), TimeChangeContext.Day, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), new Boss(NPCID.WallofFlesh, spawnContext: type => diff --git a/Gores/CultistAssassinGores/CultistAssassin3.png b/Gores/CultistAssassinGores/RenegadeWarlock.png similarity index 100% rename from Gores/CultistAssassinGores/CultistAssassin3.png rename to Gores/CultistAssassinGores/RenegadeWarlock.png diff --git a/Gores/CultistAssassinGores/CultistAssassin.png b/Gores/CultistAssassinGores/RenegadeWarlock2.png similarity index 100% rename from Gores/CultistAssassinGores/CultistAssassin.png rename to Gores/CultistAssassinGores/RenegadeWarlock2.png diff --git a/Gores/CultistAssassinGores/CultistAssassin2.png b/Gores/CultistAssassinGores/RenegadeWarlock3.png similarity index 100% rename from Gores/CultistAssassinGores/CultistAssassin2.png rename to Gores/CultistAssassinGores/RenegadeWarlock3.png diff --git a/Gores/SmallSightseer/SmallSightseerGore0.png b/Gores/SightseerCollider/SightseerColliderGore0.png similarity index 100% rename from Gores/SmallSightseer/SmallSightseerGore0.png rename to Gores/SightseerCollider/SightseerColliderGore0.png diff --git a/Gores/SmallSightseer/SmallSightseerGore1.png b/Gores/SightseerCollider/SightseerColliderGore1.png similarity index 100% rename from Gores/SmallSightseer/SmallSightseerGore1.png rename to Gores/SightseerCollider/SightseerColliderGore1.png diff --git a/Gores/SmallSightseer/SmallSightseerGore2.png b/Gores/SightseerCollider/SightseerColliderGore2.png similarity index 100% rename from Gores/SmallSightseer/SmallSightseerGore2.png rename to Gores/SightseerCollider/SightseerColliderGore2.png diff --git a/Gores/SmallSightseer/SmallSightseerGore3.png b/Gores/SightseerCollider/SightseerColliderGore3.png similarity index 100% rename from Gores/SmallSightseer/SmallSightseerGore3.png rename to Gores/SightseerCollider/SightseerColliderGore3.png diff --git a/Gores/SmallSightseer/SmallSightseerGore4.png b/Gores/SightseerCollider/SightseerColliderGore4.png similarity index 100% rename from Gores/SmallSightseer/SmallSightseerGore4.png rename to Gores/SightseerCollider/SightseerColliderGore4.png diff --git a/Gores/BigSightseer/BigSightseerGore0.png b/Gores/SightseerSpitter/SightseerSpitterGore0.png similarity index 100% rename from Gores/BigSightseer/BigSightseerGore0.png rename to Gores/SightseerSpitter/SightseerSpitterGore0.png diff --git a/Gores/BigSightseer/BigSightseerGore1.png b/Gores/SightseerSpitter/SightseerSpitterGore1.png similarity index 100% rename from Gores/BigSightseer/BigSightseerGore1.png rename to Gores/SightseerSpitter/SightseerSpitterGore1.png diff --git a/Gores/BigSightseer/BigSightseerGore2.png b/Gores/SightseerSpitter/SightseerSpitterGore2.png similarity index 100% rename from Gores/BigSightseer/BigSightseerGore2.png rename to Gores/SightseerSpitter/SightseerSpitterGore2.png diff --git a/Gores/BigSightseer/BigSightseerGore3.png b/Gores/SightseerSpitter/SightseerSpitterGore3.png similarity index 100% rename from Gores/BigSightseer/BigSightseerGore3.png rename to Gores/SightseerSpitter/SightseerSpitterGore3.png diff --git a/Gores/BigSightseer/BigSightseerGore4.png b/Gores/SightseerSpitter/SightseerSpitterGore4.png similarity index 100% rename from Gores/BigSightseer/BigSightseerGore4.png rename to Gores/SightseerSpitter/SightseerSpitterGore4.png diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 56139256a3..8b2d6fba7b 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -698,13 +698,13 @@ namespace CalamityMod.Items } return false; } - if (player.ActiveItem().type == ModContent.ItemType()) + if (player.ActiveItem().type == ModContent.ItemType()) { bool canContinue = true; int count = 0; for (int i = 0; i < Main.projectile.Length; i++) { - if (Main.projectile[i].active && Main.projectile[i].type == ModContent.ProjectileType() && Main.projectile[i].owner == player.whoAmI) + if (Main.projectile[i].active && Main.projectile[i].type == ModContent.ProjectileType() && Main.projectile[i].owner == player.whoAmI) { if (Main.projectile[i].ai[1] > 1f) { @@ -713,7 +713,7 @@ namespace CalamityMod.Items } else if (Main.projectile[i].ai[1] == 0f) { - if (((ColdDivinityPointyThing)Main.projectile[i].ModProjectile).circlingPlayer) + if (((GlacialEmbracePointyThing)Main.projectile[i].ModProjectile).circlingPlayer) count++; } } @@ -732,8 +732,8 @@ namespace CalamityMod.Items { if (Main.projectile.Length == Main.maxProjectiles) break; - int coldDivinityDamage = (int)player.GetTotalDamage().ApplyTo(80); - int projj = Projectile.NewProjectile(source, Main.MouseWorld, Vector2.Zero, ModContent.ProjectileType(), coldDivinityDamage, 1f, player.whoAmI, angle, 2f); + int GlacialEmbraceDamage = (int)player.GetTotalDamage().ApplyTo(80); + int projj = Projectile.NewProjectile(source, Main.MouseWorld, Vector2.Zero, ModContent.ProjectileType(), GlacialEmbraceDamage, 1f, player.whoAmI, angle, 2f); Main.projectile[projj].originalDamage = 80; angle += angleVariance; diff --git a/Items/Placeables/Banners/CultistAssassinBanner.cs b/Items/Placeables/Banners/RenegadeWarlockBanner.cs similarity index 88% rename from Items/Placeables/Banners/CultistAssassinBanner.cs rename to Items/Placeables/Banners/RenegadeWarlockBanner.cs index 866899d68f..c93e55cf6a 100644 --- a/Items/Placeables/Banners/CultistAssassinBanner.cs +++ b/Items/Placeables/Banners/RenegadeWarlockBanner.cs @@ -5,7 +5,8 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class CultistAssassinBanner : ModItem, ILocalizedModType + [LegacyName("CultistAssassinBanner")] + public class RenegadeWarlockBanner : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Placeables"; public override void SetDefaults() diff --git a/Items/Placeables/Banners/CultistAssassinBanner.png b/Items/Placeables/Banners/RenegadeWarlockBanner.png similarity index 100% rename from Items/Placeables/Banners/CultistAssassinBanner.png rename to Items/Placeables/Banners/RenegadeWarlockBanner.png diff --git a/Items/Placeables/Banners/SmallSightseerBanner.cs b/Items/Placeables/Banners/SightseerColliderBanner.cs similarity index 87% rename from Items/Placeables/Banners/SmallSightseerBanner.cs rename to Items/Placeables/Banners/SightseerColliderBanner.cs index d531a47d14..e90aa91c55 100644 --- a/Items/Placeables/Banners/SmallSightseerBanner.cs +++ b/Items/Placeables/Banners/SightseerColliderBanner.cs @@ -4,7 +4,8 @@ using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Items.Placeables.Banners { - public class SmallSightseerBanner : ModItem, ILocalizedModType + [LegacyName("SmallSightseerBanner")] + public class SightseerColliderBanner : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Placeables"; public override void SetDefaults() diff --git a/Items/Placeables/Banners/SmallSightseerBanner.png b/Items/Placeables/Banners/SightseerColliderBanner.png similarity index 100% rename from Items/Placeables/Banners/SmallSightseerBanner.png rename to Items/Placeables/Banners/SightseerColliderBanner.png diff --git a/Items/Placeables/Banners/BigSightseerBanner.cs b/Items/Placeables/Banners/SightseerSpitterBanner.cs similarity index 87% rename from Items/Placeables/Banners/BigSightseerBanner.cs rename to Items/Placeables/Banners/SightseerSpitterBanner.cs index 10a1bbfb2e..3614e05a51 100644 --- a/Items/Placeables/Banners/BigSightseerBanner.cs +++ b/Items/Placeables/Banners/SightseerSpitterBanner.cs @@ -5,7 +5,8 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class BigSightseerBanner : ModItem, ILocalizedModType + [LegacyName("BigSightseerBanner")] + public class SightseerSpitterBanner : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Placeables"; public override void SetDefaults() diff --git a/Items/Placeables/Banners/BigSightseerBanner.png b/Items/Placeables/Banners/SightseerSpitterBanner.png similarity index 100% rename from Items/Placeables/Banners/BigSightseerBanner.png rename to Items/Placeables/Banners/SightseerSpitterBanner.png diff --git a/Items/TreasureBags/CryogenBag.cs b/Items/TreasureBags/CryogenBag.cs index 26ddb9d8ee..3a1ed69df7 100644 --- a/Items/TreasureBags/CryogenBag.cs +++ b/Items/TreasureBags/CryogenBag.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.TreasureBags ModContent.ItemType(), ModContent.ItemType(), })); - itemLoot.Add(ModContent.ItemType(), 10); + itemLoot.Add(ModContent.ItemType(), 10); // Equipment itemLoot.Add(ModContent.ItemType()); diff --git a/Items/Weapons/Melee/TyrantYharimsUltisword.cs b/Items/Weapons/Melee/BlightedCleaver.cs similarity index 95% rename from Items/Weapons/Melee/TyrantYharimsUltisword.cs rename to Items/Weapons/Melee/BlightedCleaver.cs index 90e60200dc..2e93e8aafa 100644 --- a/Items/Weapons/Melee/TyrantYharimsUltisword.cs +++ b/Items/Weapons/Melee/BlightedCleaver.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class TyrantYharimsUltisword : ModItem, ILocalizedModType + [LegacyName("TyrantYharimsUltisword")] + public class BlightedCleaver : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Weapons.Melee"; public override void SetDefaults() diff --git a/Items/Weapons/Melee/TyrantYharimsUltisword.png b/Items/Weapons/Melee/BlightedCleaver.png similarity index 100% rename from Items/Weapons/Melee/TyrantYharimsUltisword.png rename to Items/Weapons/Melee/BlightedCleaver.png diff --git a/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs b/Items/Weapons/Melee/DefiledGreatsword.cs similarity index 94% rename from Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs rename to Items/Weapons/Melee/DefiledGreatsword.cs index 09ae62f3c7..2e2b7af73c 100644 --- a/Items/Weapons/Melee/TrueTyrantYharimsUltisword.cs +++ b/Items/Weapons/Melee/DefiledGreatsword.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { - public class TrueTyrantYharimsUltisword : ModItem, ILocalizedModType + [LegacyName("TrueTyrantYharimsUltisword")] + public class DefiledGreatsword : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Weapons.Melee"; public override void SetDefaults() @@ -76,7 +77,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(15). AddTile(TileID.DemonAltar). diff --git a/Items/Weapons/Melee/TrueTyrantYharimsUltisword.png b/Items/Weapons/Melee/DefiledGreatsword.png similarity index 100% rename from Items/Weapons/Melee/TrueTyrantYharimsUltisword.png rename to Items/Weapons/Melee/DefiledGreatsword.png diff --git a/Items/Weapons/Melee/CausticEdge.cs b/Items/Weapons/Melee/TaintedBlade.cs similarity index 95% rename from Items/Weapons/Melee/CausticEdge.cs rename to Items/Weapons/Melee/TaintedBlade.cs index a2c326a57f..f4e4154064 100644 --- a/Items/Weapons/Melee/CausticEdge.cs +++ b/Items/Weapons/Melee/TaintedBlade.cs @@ -6,7 +6,8 @@ using CalamityMod.Items.Placeables; namespace CalamityMod.Items.Weapons.Melee { - public class CausticEdge : ModItem, ILocalizedModType + [LegacyName("CausticEdge")] + public class TaintedBlade : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Weapons.Melee"; public override void SetDefaults() diff --git a/Items/Weapons/Melee/CausticEdge.png b/Items/Weapons/Melee/TaintedBlade.png similarity index 100% rename from Items/Weapons/Melee/CausticEdge.png rename to Items/Weapons/Melee/TaintedBlade.png diff --git a/Items/Weapons/Melee/TrueCausticEdge.cs b/Items/Weapons/Melee/TrueCausticEdge.cs index 284458dc44..9ebeb00223 100644 --- a/Items/Weapons/Melee/TrueCausticEdge.cs +++ b/Items/Weapons/Melee/TrueCausticEdge.cs @@ -7,6 +7,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Melee { + // Thanks a lot for naming it Caustic Edge :) public class TrueCausticEdge : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Weapons.Melee"; @@ -54,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddRecipeGroup("AnyEvilFlask", 5). AddIngredient(ItemID.FlaskofPoison, 5). AddIngredient(ItemID.Deathweed, 4). diff --git a/Items/Weapons/Summon/ColdDivinity.cs b/Items/Weapons/Summon/GlacialEmbrace.cs similarity index 91% rename from Items/Weapons/Summon/ColdDivinity.cs rename to Items/Weapons/Summon/GlacialEmbrace.cs index 33d2383336..2aeb46ee35 100644 --- a/Items/Weapons/Summon/ColdDivinity.cs +++ b/Items/Weapons/Summon/GlacialEmbrace.cs @@ -8,7 +8,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Summon { - public class ColdDivinity : ModItem, ILocalizedModType + [LegacyName("ColdDivinity")] + public class GlacialEmbrace : ModItem, ILocalizedModType { public string LocalizationCategory => "Items.Weapons.Summon"; public override void SetDefaults() @@ -23,7 +24,7 @@ namespace CalamityMod.Items.Weapons.Summon Item.knockBack = 4.5f; Item.UseSound = SoundID.Item30; Item.autoReuse = true; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 10f; Item.DamageType = DamageClass.Summon; @@ -43,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Summon } if (player.altFunctionUse != 2 && totalMinionSlots < player.maxMinions) { - player.AddBuff(ModContent.BuffType(), 120, true); + player.AddBuff(ModContent.BuffType(), 120, true); position = Main.MouseWorld; int p = Projectile.NewProjectile(source, position, Vector2.Zero, type, damage, knockback, player.whoAmI); if (Main.projectile.IndexInRange(p)) @@ -53,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Summon { if (Main.projectile[i].active && Main.projectile[i].type == type && Main.projectile[i].owner == player.whoAmI) { - if (!(Main.projectile[i].ModProjectile as ColdDivinityPointyThing).circlingPlayer) + if (!(Main.projectile[i].ModProjectile as GlacialEmbracePointyThing).circlingPlayer) continue; pointyThingCount++; } @@ -64,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Summon { if (Main.projectile[i].active && Main.projectile[i].type == type && Main.projectile[i].owner == player.whoAmI && Main.projectile[i].ai[1] == 0f) { - if (!(Main.projectile[i].ModProjectile as ColdDivinityPointyThing).circlingPlayer) + if (!(Main.projectile[i].ModProjectile as GlacialEmbracePointyThing).circlingPlayer) continue; Main.projectile[i].ai[0] = angle; Main.projectile[i].netUpdate = true; diff --git a/Items/Weapons/Summon/ColdDivinity.png b/Items/Weapons/Summon/GlacialEmbrace.png similarity index 100% rename from Items/Weapons/Summon/ColdDivinity.png rename to Items/Weapons/Summon/GlacialEmbrace.png diff --git a/Localization/en-US/Mods.CalamityMod.Buffs.hjson b/Localization/en-US/Mods.CalamityMod.Buffs.hjson index 52f21e4ed3..32ec24c6a9 100644 --- a/Localization/en-US/Mods.CalamityMod.Buffs.hjson +++ b/Localization/en-US/Mods.CalamityMod.Buffs.hjson @@ -1052,8 +1052,8 @@ CloudyWaifu: { Description: The Cloud Elemental will protect you } -ColdDivinityBuff: { - DisplayName: Cold Divinity +GlacialEmbraceBuff: { + DisplayName: Glacial Embrace Description: The magic of the ancient ice castle will aid you } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index 3712b9f5ad..87a796c0a6 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -167,7 +167,7 @@ AstralSlimeBanner: { AtlasBanner: { DisplayName: Atlas Banner - Tooltip: "{$CommonItemTooltip.BannerBonus}Atlas Banner" + Tooltip: "{$CommonItemTooltip.BannerBonus}Atlas" } BabyFlakCrabBanner: { @@ -185,9 +185,9 @@ BelchingCoralBanner: { Tooltip: "{$CommonItemTooltip.BannerBonus}Belching Coral" } -BigSightseerBanner: { - DisplayName: Big Sightseer Banner - Tooltip: "{$CommonItemTooltip.BannerBonus}Big Sightseer" +SightseerSpitterBanner: { + DisplayName: Sightseer Spitter Banner + Tooltip: "{$CommonItemTooltip.BannerBonus}Sightseer Spitter" } BlindedAnglerBanner: { @@ -280,9 +280,9 @@ CrystalCrawlerBanner: { Tooltip: "{$CommonItemTooltip.BannerBonus}Crystal Crawler" } -CultistAssassinBanner: { - DisplayName: Cultist Assassin Banner - Tooltip: "{$CommonItemTooltip.BannerBonus}Cultist Assassin" +RenegadeWarlockBanner: { + DisplayName: Renegade Warlock Banner + Tooltip: "{$CommonItemTooltip.BannerBonus}Renegade Warlock" } CuttlefishBanner: { @@ -590,9 +590,9 @@ SkyfinBanner: { Tooltip: "{$CommonItemTooltip.BannerBonus}Skyfin" } -SmallSightseerBanner: { - DisplayName: Small Sightseer Banner - Tooltip: "{$CommonItemTooltip.BannerBonus}Small Sightseer" +SightseerColliderBanner: { + DisplayName: Sightseer Collider Banner + Tooltip: "{$CommonItemTooltip.BannerBonus}Sightseer Collider" } SoulSlurperBanner: { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index bfccf82469..e3817cf911 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -214,8 +214,8 @@ CatastropheClaymore: { Tooltip: Fires sparkles which inflict Frostbite, Hellfire, or Ichor } -CausticEdge: { - DisplayName: Caustic Edge +TaintedBlade: { + DisplayName: Tainted Blade Tooltip: Inflicts poison on enemy hits } @@ -1211,7 +1211,7 @@ TrueBiomeBlade: { } TrueCausticEdge: { - DisplayName: True Caustic Edge + DisplayName: Caustic Edge Tooltip: ''' Fires a bouncing caustic beam @@ -1219,8 +1219,8 @@ TrueCausticEdge: { ''' } -TrueTyrantYharimsUltisword: { - DisplayName: True Tyrant's Ultisword +DefiledGreatsword: { + DisplayName: Defiled Greatsword Tooltip: ''' Fires blazing, hyper, and sunlight blades @@ -1239,8 +1239,8 @@ TyphonsGreed: { Tooltip: Summons water spirits while in use } -TyrantYharimsUltisword: { - DisplayName: Tyrant Yharim's Ultisword +BlightedCleaver: { + DisplayName: Blighted Cleaver Tooltip: ''' Fires homing blazing blades diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson index a96cbfbf0d..62efd3668d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson @@ -140,8 +140,8 @@ Cnidarian: { ''' } -ColdDivinity: { - DisplayName: Cold Divinity +GlacialEmbrace: { + DisplayName: Glacial Embrace Tooltip: ''' Summons the power of the ancient ice castle diff --git a/Localization/en-US/Mods.CalamityMod.NPCs.hjson b/Localization/en-US/Mods.CalamityMod.NPCs.hjson index 4d929e2d18..42d8407b72 100644 --- a/Localization/en-US/Mods.CalamityMod.NPCs.hjson +++ b/Localization/en-US/Mods.CalamityMod.NPCs.hjson @@ -57,14 +57,14 @@ AstralProbe.DisplayName: Astral Probe AstralSeekerSpit.DisplayName: Seeker Spit AstralSlime.DisplayName: Astral Slime Atlas.DisplayName: Atlas -BigSightseer.DisplayName: Big Sightseer +SightseerSpitter.DisplayName: Sightseer Spitter FusionFeeder.DisplayName: Fusion Feeder Hadarian.DisplayName: Hadarian HiveEnemy.DisplayName: Hive Hiveling.DisplayName: Hiveling Mantis.DisplayName: Mantis Nova.DisplayName: Nova -SmallSightseer.DisplayName: Small Sightseer +SightseerCollider.DisplayName: Sightseer Collider StellarCulex.DisplayName: Stellar Culex Twinkler.DisplayName: Twinkler AstrumAureus.DisplayName: Astrum Aureus @@ -86,7 +86,7 @@ CrabShroom.DisplayName: Crab Shroom Crabulon.DisplayName: Crabulon CalamityEye.DisplayName: Calamity Eye CharredSlime.DisplayName: Charred Slime -CultistAssassin.DisplayName: Cultist Assassin +RenegadeWarlock.DisplayName: Renegade Warlock DespairStone.DisplayName: Despair Stone HeatSpirit.DisplayName: Heat Spirit Scryllar.DisplayName: Scryllar @@ -245,11 +245,11 @@ CorruptSlimeSpawn.DisplayName: Corrupt Slime Spawn CorruptSlimeSpawn2.DisplayName: Corrupt Slime Spawn CrimsonSlimeSpawn.DisplayName: Crimson Slime Spawn CrimsonSlimeSpawn2.DisplayName: Crimson Slime Spawn -CrimulanSlimeGod.DisplayName: Crimulan Slime God -EbonianSlimeGod.DisplayName: Ebonian Slime God +CrimulanPaladin.DisplayName: Crimulan Paladin +EbonianPaladin.DisplayName: Ebonian Paladin SlimeGodCore.DisplayName: The Slime God -SplitCrimulanSlimeGod.DisplayName: Crimulan Slime God -SplitEbonianSlimeGod.DisplayName: Ebonian Slime God +SplitCrimulanPaladin.DisplayName: Crimulan Paladin +SplitEbonianPaladin.DisplayName: Ebonian Paladin StormWeaverBody.DisplayName: Storm Weaver StormWeaverHead.DisplayName: Storm Weaver StormWeaverTail.DisplayName: Storm Weaver diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Summon.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Summon.hjson index 66bbac7a97..54b20c22dc 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Summon.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Summon.hjson @@ -58,7 +58,7 @@ CinderBlossom.DisplayName: Cinder Blossom CloudElementalMinion.DisplayName: Cloudy Waifu CnidarianJellyfishOnTheString.DisplayName: Cnidarian CnidarianSpark.DisplayName: Spark -ColdDivinityPointyThing.DisplayName: Ice Castle Shard +GlacialEmbracePointyThing.DisplayName: Ice Castle Shard CorroslimeMinion.DisplayName: Corroslime CorruptionSlimeGodMinion.DisplayName: Slime God CosmicBlast.DisplayName: Blast diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 9f17fda261..9cc33e6384 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -454,7 +454,7 @@ namespace CalamityMod // Slime God { BossDifficulty.TryGetValue("SlimeGod", out float order); - List bosses = new List() { NPCType(), NPCType(), NPCType() }; + List bosses = new List() { NPCType(), NPCType(), NPCType() }; int summon = ItemType(); List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}]"; @@ -1132,7 +1132,7 @@ namespace CalamityMod RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); - RegisterSummon(ItemType(), BuffType(), ProjectileType()); + RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); diff --git a/NPCs/Astral/SmallSightseer.cs b/NPCs/Astral/SightseerCollider.cs similarity index 95% rename from NPCs/Astral/SmallSightseer.cs rename to NPCs/Astral/SightseerCollider.cs index 141793f630..28ce36d255 100644 --- a/NPCs/Astral/SmallSightseer.cs +++ b/NPCs/Astral/SightseerCollider.cs @@ -17,7 +17,7 @@ using CalamityMod.Sounds; namespace CalamityMod.NPCs.Astral { - public class SmallSightseer : ModNPC + public class SightseerCollider : ModNPC { private static Texture2D glowmask; @@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.Astral Main.npcFrameCount[NPC.type] = 4; if (!Main.dedServ) - glowmask = ModContent.Request("CalamityMod/NPCs/Astral/SmallSightseerGlow", AssetRequestMode.ImmediateLoad).Value; + glowmask = ModContent.Request("CalamityMod/NPCs/Astral/SightseerColliderGlow", AssetRequestMode.ImmediateLoad).Value; NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { PortraitPositionXOverride = 0 @@ -49,7 +49,7 @@ namespace CalamityMod.NPCs.Astral NPC.value = Item.buyPrice(0, 0, 10, 0); NPC.aiStyle = -1; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); if (DownedBossSystem.downedAstrumAureus) { NPC.damage = 58; @@ -122,7 +122,7 @@ namespace CalamityMod.NPCs.Astral for (int i = 0; i < 5; i++) { float rand = Main.rand.NextFloat(-0.18f, 0.18f); - Gore.NewGore(NPC.GetSource_Death(), NPC.position + new Vector2(Main.rand.NextFloat(0f, NPC.width), Main.rand.NextFloat(0f, NPC.height)), NPC.velocity * rand, Mod.Find("SmallSightseerGore" + i).Type); + Gore.NewGore(NPC.GetSource_Death(), NPC.position + new Vector2(Main.rand.NextFloat(0f, NPC.width), Main.rand.NextFloat(0f, NPC.height)), NPC.velocity * rand, Mod.Find("SightseerColliderGore" + i).Type); } } } diff --git a/NPCs/Astral/SmallSightseer.png b/NPCs/Astral/SightseerCollider.png similarity index 100% rename from NPCs/Astral/SmallSightseer.png rename to NPCs/Astral/SightseerCollider.png diff --git a/NPCs/Astral/SmallSightseerGlow.png b/NPCs/Astral/SightseerColliderGlow.png similarity index 100% rename from NPCs/Astral/SmallSightseerGlow.png rename to NPCs/Astral/SightseerColliderGlow.png diff --git a/NPCs/Astral/BigSightseer.cs b/NPCs/Astral/SightseerSpitter.cs similarity index 97% rename from NPCs/Astral/BigSightseer.cs rename to NPCs/Astral/SightseerSpitter.cs index 5bf44366c0..d751bca757 100644 --- a/NPCs/Astral/BigSightseer.cs +++ b/NPCs/Astral/SightseerSpitter.cs @@ -17,7 +17,7 @@ using CalamityMod.Sounds; namespace CalamityMod.NPCs.Astral { - public class BigSightseer : ModNPC + public class SightseerSpitter : ModNPC { private static Texture2D glowmask; @@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.Astral { Main.npcFrameCount[NPC.type] = 4; if (!Main.dedServ) - glowmask = ModContent.Request("CalamityMod/NPCs/Astral/BigSightseerGlow", AssetRequestMode.ImmediateLoad).Value; + glowmask = ModContent.Request("CalamityMod/NPCs/Astral/SightseerSpitterGlow", AssetRequestMode.ImmediateLoad).Value; NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { Scale = 0.7f, @@ -51,7 +51,7 @@ namespace CalamityMod.NPCs.Astral NPC.value = Item.buyPrice(0, 0, 20, 0); NPC.aiStyle = -1; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); if (DownedBossSystem.downedAstrumAureus) { NPC.damage = 85; @@ -150,7 +150,7 @@ namespace CalamityMod.NPCs.Astral for (int i = 0; i < 5; i++) { float rand = Main.rand.NextFloat(-0.18f, 0.18f); - Gore.NewGore(NPC.GetSource_Death(), NPC.position + new Vector2(Main.rand.NextFloat(0f, NPC.width), Main.rand.NextFloat(0f, NPC.height)), NPC.velocity * rand, Mod.Find("BigSightseerGore" + i).Type); + Gore.NewGore(NPC.GetSource_Death(), NPC.position + new Vector2(Main.rand.NextFloat(0f, NPC.width), Main.rand.NextFloat(0f, NPC.height)), NPC.velocity * rand, Mod.Find("SightseerSpitterGore" + i).Type); } } } @@ -248,7 +248,7 @@ namespace CalamityMod.NPCs.Astral { if (modifiers.GetDamage(NPC.damage, 0f, 0f) > 0) { - if (target.HasNPCBannerBuff(ModContent.NPCType())) + if (target.HasNPCBannerBuff(ModContent.NPCType())) { if (Main.expertMode) modifiers.IncomingDamageMultiplier *= 0.5f; diff --git a/NPCs/Astral/BigSightseer.png b/NPCs/Astral/SightseerSpitter.png similarity index 100% rename from NPCs/Astral/BigSightseer.png rename to NPCs/Astral/SightseerSpitter.png diff --git a/NPCs/Astral/BigSightseerGlow.png b/NPCs/Astral/SightseerSpitterGlow.png similarity index 100% rename from NPCs/Astral/BigSightseerGlow.png rename to NPCs/Astral/SightseerSpitterGlow.png diff --git a/NPCs/CalamityGlobalAI.cs b/NPCs/CalamityGlobalAI.cs index 11766a0462..46431c9411 100644 --- a/NPCs/CalamityGlobalAI.cs +++ b/NPCs/CalamityGlobalAI.cs @@ -1028,7 +1028,7 @@ namespace CalamityMod.NPCs // This variable seems to have a lot of purposes. // I wasn't sure what I could name it that isn't very vague int aiGateValue = 60; - if (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) + if (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) { aiGateValue = 180; if (npc.ai[3] == -30f) @@ -1061,7 +1061,7 @@ namespace CalamityMod.NPCs bool canIncrementAI3 = false; bool reset = true; - if (npcType == NPCID.Yeti || npcType == NPCID.CorruptBunny || npcType == NPCID.Crab || npcType == NPCID.Clown || npcType == NPCID.SkeletonArcher || npcType == NPCID.GoblinArcher || npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() + if (npcType == NPCID.Yeti || npcType == NPCID.CorruptBunny || npcType == NPCID.Crab || npcType == NPCID.Clown || npcType == NPCID.SkeletonArcher || npcType == NPCID.GoblinArcher || npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() || npcType == NPCID.BlackRecluse || npcType == NPCID.WallCreeper || npcType == NPCID.BloodCrawler || npcType == NPCID.CorruptPenguin || npcType == NPCID.LihzahrdCrawler || npcType == NPCID.IcyMerman || npcType == NPCID.PirateDeadeye || npcType == NPCID.PirateCrossbower || npcType == NPCID.PirateCaptain || npcType == NPCID.CochinealBeetle || npcType == NPCID.CyanBeetle || npcType == NPCID.LacBeetle || npcType == NPCID.SeaSnail || npcType == NPCID.FlyingSnake || npcType == NPCID.IceGolem || npcType == NPCID.Eyezor || npcType == NPCID.AnomuraFungus || npcType == NPCID.MushiLadybug || npcType == NPCID.Paladin || npcType == NPCID.SkeletonSniper || npcType == NPCID.TacticalSkeleton @@ -1313,7 +1313,7 @@ namespace CalamityMod.NPCs } } - if (npc.ai[3] < (float)aiGateValue && (Main.eclipse || !Main.dayTime || (double)npc.position.Y > Main.worldSurface * 16.0 || (Main.invasionType == InvasionID.GoblinArmy && (npcType == NPCID.Yeti || npcType == NPCID.ElfArcher)) || (Main.invasionType == InvasionID.GoblinArmy && (npcType == NPCID.GoblinPeon || npcType == NPCID.GoblinThief || npcType == NPCID.GoblinWarrior || npcType == NPCID.GoblinArcher || npcType == NPCID.GoblinSummoner)) || (npcType == NPCID.GoblinScout || (Main.invasionType == InvasionID.PirateInvasion && npcType >= 212 && npcType <= 216)) || (Main.invasionType == InvasionID.MartianMadness && (npcType == NPCID.BrainScrambler || npcType == NPCID.RayGunner || npcType == NPCID.MartianOfficer || npcType == NPCID.GrayGrunt || npcType == NPCID.MartianEngineer || npcType == NPCID.GigaZapper || npcType == NPCID.Scutlix || npcType == NPCID.MartianWalker)) || (npcType == NPCID.AngryBones || npcType == NPCID.AngryBonesBig || npcType == NPCID.AngryBonesBigMuscle || npcType == NPCID.AngryBonesBigHelmet || npcType == NPCID.CorruptBunny || npcType == NPCID.Crab || npcType == NPCID.ArmoredSkeleton || npcType == NPCID.Mummy || npcType == NPCID.DarkMummy || npcType == NPCID.LightMummy || npcType == NPCID.SkeletonArcher || npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() || npcType == NPCID.CorruptPenguin || npcType == NPCID.FaceMonster || npcType == NPCID.SnowFlinx || npcType == NPCID.Lihzahrd || npcType == NPCID.LihzahrdCrawler || npcType == NPCID.IcyMerman || npcType == NPCID.CochinealBeetle || npcType == NPCID.CyanBeetle || npcType == NPCID.LacBeetle || npcType == NPCID.SeaSnail || npcType == NPCID.BloodCrawler || npcType == NPCID.IceGolem || npcType == NPCID.ZombieMushroom || npcType == NPCID.ZombieMushroomHat || npcType == NPCID.AnomuraFungus || npcType == NPCID.MushiLadybug || npcType == NPCID.SkeletonSniper || npcType == NPCID.TacticalSkeleton || npcType == NPCID.SkeletonCommando || npcType == NPCID.CultistArcherBlue || npcType == NPCID.CultistArcherWhite || npcType == NPCID.CrimsonBunny || npcType == NPCID.CrimsonPenguin || npcType == NPCID.NebulaSoldier || (npcType == NPCID.StardustSoldier && (npc.ai[1] >= 180f || npc.ai[1] < 90f))) || (npcType == NPCID.StardustSpiderBig || npcType == NPCID.VortexRifleman || npcType == NPCID.VortexSoldier || npcType == NPCID.VortexHornet || npcType == NPCID.VortexLarva || npcType == NPCID.WalkingAntlion || npcType == NPCID.SolarDrakomire || npcType == NPCID.SolarSolenian || (npcType >= 524 && npcType <= 527)) || npcType == NPCID.DesertLamiaLight || npcType == NPCID.DesertLamiaDark || npcType == NPCID.DesertScorpionWalk || npcType == NPCID.DesertBeast)) + if (npc.ai[3] < (float)aiGateValue && (Main.eclipse || !Main.dayTime || (double)npc.position.Y > Main.worldSurface * 16.0 || (Main.invasionType == InvasionID.GoblinArmy && (npcType == NPCID.Yeti || npcType == NPCID.ElfArcher)) || (Main.invasionType == InvasionID.GoblinArmy && (npcType == NPCID.GoblinPeon || npcType == NPCID.GoblinThief || npcType == NPCID.GoblinWarrior || npcType == NPCID.GoblinArcher || npcType == NPCID.GoblinSummoner)) || (npcType == NPCID.GoblinScout || (Main.invasionType == InvasionID.PirateInvasion && npcType >= 212 && npcType <= 216)) || (Main.invasionType == InvasionID.MartianMadness && (npcType == NPCID.BrainScrambler || npcType == NPCID.RayGunner || npcType == NPCID.MartianOfficer || npcType == NPCID.GrayGrunt || npcType == NPCID.MartianEngineer || npcType == NPCID.GigaZapper || npcType == NPCID.Scutlix || npcType == NPCID.MartianWalker)) || (npcType == NPCID.AngryBones || npcType == NPCID.AngryBonesBig || npcType == NPCID.AngryBonesBigMuscle || npcType == NPCID.AngryBonesBigHelmet || npcType == NPCID.CorruptBunny || npcType == NPCID.Crab || npcType == NPCID.ArmoredSkeleton || npcType == NPCID.Mummy || npcType == NPCID.DarkMummy || npcType == NPCID.LightMummy || npcType == NPCID.SkeletonArcher || npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() || npcType == NPCID.CorruptPenguin || npcType == NPCID.FaceMonster || npcType == NPCID.SnowFlinx || npcType == NPCID.Lihzahrd || npcType == NPCID.LihzahrdCrawler || npcType == NPCID.IcyMerman || npcType == NPCID.CochinealBeetle || npcType == NPCID.CyanBeetle || npcType == NPCID.LacBeetle || npcType == NPCID.SeaSnail || npcType == NPCID.BloodCrawler || npcType == NPCID.IceGolem || npcType == NPCID.ZombieMushroom || npcType == NPCID.ZombieMushroomHat || npcType == NPCID.AnomuraFungus || npcType == NPCID.MushiLadybug || npcType == NPCID.SkeletonSniper || npcType == NPCID.TacticalSkeleton || npcType == NPCID.SkeletonCommando || npcType == NPCID.CultistArcherBlue || npcType == NPCID.CultistArcherWhite || npcType == NPCID.CrimsonBunny || npcType == NPCID.CrimsonPenguin || npcType == NPCID.NebulaSoldier || (npcType == NPCID.StardustSoldier && (npc.ai[1] >= 180f || npc.ai[1] < 90f))) || (npcType == NPCID.StardustSpiderBig || npcType == NPCID.VortexRifleman || npcType == NPCID.VortexSoldier || npcType == NPCID.VortexHornet || npcType == NPCID.VortexLarva || npcType == NPCID.WalkingAntlion || npcType == NPCID.SolarDrakomire || npcType == NPCID.SolarSolenian || (npcType >= 524 && npcType <= 527)) || npcType == NPCID.DesertLamiaLight || npcType == NPCID.DesertLamiaDark || npcType == NPCID.DesertScorpionWalk || npcType == NPCID.DesertBeast)) { if ((npcType == NPCID.Zombie || npcType == NPCID.ZombieXmas || npcType == NPCID.ZombieSweater || npcType == NPCID.Skeleton || (npcType >= NPCID.BoneThrowingSkeleton && npcType <= NPCID.BoneThrowingSkeleton4) || npcType == NPCID.AngryBones || npcType == NPCID.AngryBonesBig || npcType == NPCID.AngryBonesBigHelmet || npcType == NPCID.AngryBonesBigMuscle || npcType == NPCID.ArmoredSkeleton || npcType == NPCID.SkeletonArcher || npcType == NPCID.BaldZombie || npcType == NPCID.UndeadViking || npcType == NPCID.ZombieEskimo || npcType == NPCID.Frankenstein || npcType == NPCID.PincushionZombie || npcType == NPCID.SlimedZombie || npcType == NPCID.SwampZombie || npcType == NPCID.TwiggyZombie || npcType == NPCID.ArmoredViking || npcType == NPCID.FemaleZombie || npcType == NPCID.HeadacheSkeleton || npcType == NPCID.MisassembledSkeleton || npcType == NPCID.PantlessSkeleton || npcType == NPCID.ZombieRaincoat || npcType == NPCID.SkeletonSniper || npcType == NPCID.TacticalSkeleton || npcType == NPCID.SkeletonCommando || npcType == NPCID.ZombieSuperman || npcType == NPCID.ZombiePixie || npcType == NPCID.ZombieDoctor || npcType == NPCID.GreekSkeleton) && Main.rand.NextBool(1000)) { @@ -1447,7 +1447,7 @@ namespace CalamityMod.NPCs { FighterRunningAI(npc, CalamityWorld.death ? 8f : 6f, 0.12f, 0.8f, true, 0.8f); } - else if (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() || npcType == NPCID.SwampThing || npcType == NPCID.PirateCorsair || npcType == NPCID.MushiLadybug || npcType == NPCID.DesertLamiaLight || npcType == NPCID.DesertLamiaDark) + else if (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType() || npcType == NPCID.SwampThing || npcType == NPCID.PirateCorsair || npcType == NPCID.MushiLadybug || npcType == NPCID.DesertLamiaLight || npcType == NPCID.DesertLamiaDark) { FighterRunningAI(npc, CalamityWorld.death ? 6f : 4f, 0.09f, 0.8f, true, 0.8f); } @@ -3426,7 +3426,7 @@ namespace CalamityMod.NPCs npc.velocity.Y = -5f; npc.netUpdate = true; } - if ((npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) && npc.velocity.Y < 0f) + if ((npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) && npc.velocity.Y < 0f) { npc.velocity.Y *= 1.1f; } @@ -3455,7 +3455,7 @@ namespace CalamityMod.NPCs } // Teleport (Chaos elementals) - if (Main.netMode != NetmodeID.MultiplayerClient && (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) && npc.ai[3] >= (float)aiGateValue) + if (Main.netMode != NetmodeID.MultiplayerClient && (npcType == NPCID.ChaosElemental || npcType == ModContent.NPCType()) && npc.ai[3] >= (float)aiGateValue) { int tileCoordsX = (int)Main.player[npc.target].position.X / 16; int tileCoordsY = (int)Main.player[npc.target].position.Y / 16; diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 219449902e..2ebb6677df 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -500,8 +500,8 @@ namespace CalamityMod.NPCs ResetSavedIndex(ref DD2CrystalIndex, NPCID.DD2EterniaCrystal); ResetSavedIndex(ref hiveMind, NPCType()); ResetSavedIndex(ref perfHive, NPCType()); - ResetSavedIndex(ref slimeGodPurple, NPCType(), NPCType()); - ResetSavedIndex(ref slimeGodRed, NPCType(), NPCType()); + ResetSavedIndex(ref slimeGodPurple, NPCType(), NPCType()); + ResetSavedIndex(ref slimeGodRed, NPCType(), NPCType()); ResetSavedIndex(ref slimeGod, NPCType()); ResetSavedIndex(ref laserEye, NPCID.Retinazer); ResetSavedIndex(ref fireEye, NPCID.Spazmatism); @@ -3086,7 +3086,7 @@ namespace CalamityMod.NPCs case NPCAIStyleID.Fighter: if (npc.type == NPCType() || - npc.type == NPCType() || npc.type == NPCType()) + npc.type == NPCType() || npc.type == NPCType()) { return CalamityGlobalAI.BuffedFighterAI(npc, Mod); } diff --git a/NPCs/Crags/CultistAssassin.cs b/NPCs/Crags/RenegadeWarlock.cs similarity index 92% rename from NPCs/Crags/CultistAssassin.cs rename to NPCs/Crags/RenegadeWarlock.cs index 76b3b39eb3..a68a3b13f5 100644 --- a/NPCs/Crags/CultistAssassin.cs +++ b/NPCs/Crags/RenegadeWarlock.cs @@ -10,7 +10,7 @@ using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.NPCs.Crags { - public class CultistAssassin : ModNPC + public class RenegadeWarlock : ModNPC { public override void SetStaticDefaults() { @@ -39,7 +39,7 @@ namespace CalamityMod.NPCs.Crags NPC.lifeMax = 3000; } Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; @@ -85,9 +85,9 @@ namespace CalamityMod.NPCs.Crags int count = CalamityWorld.getFixedBoi ? 20 : 1; // remember that old oversight in the draedon update? for (int g = 0; g < count; g++) { - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("CultistAssassin").Type, NPC.scale); - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("CultistAssassin2").Type, NPC.scale); - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("CultistAssassin3").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("RenegadeWarlock").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("RenegadeWarlock2").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("RenegadeWarlock3").Type, NPC.scale); } } } diff --git a/NPCs/Crags/CultistAssassin.png b/NPCs/Crags/RenegadeWarlock.png similarity index 100% rename from NPCs/Crags/CultistAssassin.png rename to NPCs/Crags/RenegadeWarlock.png diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index ebb15cb963..761412efea 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -1291,7 +1291,7 @@ namespace CalamityMod.NPCs.Cryogen ModContent.ItemType() }; normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); - normalOnly.Add(ModContent.ItemType(), 10); + normalOnly.Add(ModContent.ItemType(), 10); // Vanity normalOnly.Add(ModContent.ItemType(), 7); diff --git a/NPCs/SlimeGod/CorruptSlimeSpawn.cs b/NPCs/SlimeGod/CorruptSlimeSpawn.cs index e2a1e01213..acefa9666d 100644 --- a/NPCs/SlimeGod/CorruptSlimeSpawn.cs +++ b/NPCs/SlimeGod/CorruptSlimeSpawn.cs @@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) { - int associatedNPCType = ModContent.NPCType(); + int associatedNPCType = ModContent.NPCType(); bestiaryEntry.UIInfoProvider = new CommonEnemyUICollectionInfoProvider(ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[associatedNPCType], quickUnlock: true); bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { diff --git a/NPCs/SlimeGod/CrimsonSlimeSpawn.cs b/NPCs/SlimeGod/CrimsonSlimeSpawn.cs index 9a00d2f222..246ea981f0 100644 --- a/NPCs/SlimeGod/CrimsonSlimeSpawn.cs +++ b/NPCs/SlimeGod/CrimsonSlimeSpawn.cs @@ -44,7 +44,7 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) { - int associatedNPCType = ModContent.NPCType(); + int associatedNPCType = ModContent.NPCType(); bestiaryEntry.UIInfoProvider = new CommonEnemyUICollectionInfoProvider(ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[associatedNPCType], quickUnlock: true); bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { diff --git a/NPCs/SlimeGod/CrimsonSlimeSpawn2.cs b/NPCs/SlimeGod/CrimsonSlimeSpawn2.cs index cd3a22a736..5fac925238 100644 --- a/NPCs/SlimeGod/CrimsonSlimeSpawn2.cs +++ b/NPCs/SlimeGod/CrimsonSlimeSpawn2.cs @@ -47,7 +47,7 @@ namespace CalamityMod.NPCs.SlimeGod public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) { - int associatedNPCType = ModContent.NPCType(); + int associatedNPCType = ModContent.NPCType(); bestiaryEntry.UIInfoProvider = new CommonEnemyUICollectionInfoProvider(ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[associatedNPCType], quickUnlock: true); bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { diff --git a/NPCs/SlimeGod/CrimulanSlimeGod.cs b/NPCs/SlimeGod/CrimulanPaladin.cs similarity index 98% rename from NPCs/SlimeGod/CrimulanSlimeGod.cs rename to NPCs/SlimeGod/CrimulanPaladin.cs index 35dc04b137..9449c60c03 100644 --- a/NPCs/SlimeGod/CrimulanSlimeGod.cs +++ b/NPCs/SlimeGod/CrimulanPaladin.cs @@ -13,7 +13,7 @@ using Terraria.Audio; namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] - public class CrimulanSlimeGod : ModNPC + public class CrimulanPaladin : ModNPC { private float bossLife; @@ -133,11 +133,11 @@ namespace CalamityMod.NPCs.SlimeGod SoundEngine.PlaySound(SoundID.NPCDeath1, NPC.Center); Vector2 spawnAt = NPC.Center + new Vector2(0f, NPC.height / 2f); - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X - 30, (int)spawnAt.Y, ModContent.NPCType()); - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X + 30, (int)spawnAt.Y, ModContent.NPCType()); - if (CalamityWorld.getFixedBoi && NPC.CountNPCS(ModContent.NPCType()) < 3) //split into 3 slimes if the other large slime hasn't split yet + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X - 30, (int)spawnAt.Y, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X + 30, (int)spawnAt.Y, ModContent.NPCType()); + if (CalamityWorld.getFixedBoi && NPC.CountNPCS(ModContent.NPCType()) < 3) //split into 3 slimes if the other large slime hasn't split yet { - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X, (int)spawnAt.Y - 30, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X, (int)spawnAt.Y - 30, ModContent.NPCType()); } NPC.life = 0; NPC.HitEffect(); diff --git a/NPCs/SlimeGod/CrimulanSlimeGod.png b/NPCs/SlimeGod/CrimulanPaladin.png similarity index 100% rename from NPCs/SlimeGod/CrimulanSlimeGod.png rename to NPCs/SlimeGod/CrimulanPaladin.png diff --git a/NPCs/SlimeGod/CrimulanSlimeGod_Head_Boss.png b/NPCs/SlimeGod/CrimulanPaladin_Head_Boss.png similarity index 100% rename from NPCs/SlimeGod/CrimulanSlimeGod_Head_Boss.png rename to NPCs/SlimeGod/CrimulanPaladin_Head_Boss.png diff --git a/NPCs/SlimeGod/EbonianSlimeGod.cs b/NPCs/SlimeGod/EbonianPaladin.cs similarity index 98% rename from NPCs/SlimeGod/EbonianSlimeGod.cs rename to NPCs/SlimeGod/EbonianPaladin.cs index 9a03c51d36..7f6484c8c7 100644 --- a/NPCs/SlimeGod/EbonianSlimeGod.cs +++ b/NPCs/SlimeGod/EbonianPaladin.cs @@ -13,7 +13,7 @@ using Terraria.Audio; namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] - public class EbonianSlimeGod : ModNPC + public class EbonianPaladin : ModNPC { private float bossLife; @@ -130,11 +130,11 @@ namespace CalamityMod.NPCs.SlimeGod SoundEngine.PlaySound(SoundID.NPCDeath1, NPC.Center); Vector2 spawnAt = NPC.Center + new Vector2(0f, NPC.height / 2f); - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X - 30, (int)spawnAt.Y, ModContent.NPCType()); - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X + 30, (int)spawnAt.Y, ModContent.NPCType()); - if (CalamityWorld.getFixedBoi && NPC.CountNPCS(ModContent.NPCType()) < 3) // split into 3 slimes if the other large slime hasn't split yet + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X - 30, (int)spawnAt.Y, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X + 30, (int)spawnAt.Y, ModContent.NPCType()); + if (CalamityWorld.getFixedBoi && NPC.CountNPCS(ModContent.NPCType()) < 3) // split into 3 slimes if the other large slime hasn't split yet { - NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X, (int)spawnAt.Y - 30, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)spawnAt.X, (int)spawnAt.Y - 30, ModContent.NPCType()); } NPC.life = 0; NPC.HitEffect(); diff --git a/NPCs/SlimeGod/EbonianSlimeGod.png b/NPCs/SlimeGod/EbonianPaladin.png similarity index 100% rename from NPCs/SlimeGod/EbonianSlimeGod.png rename to NPCs/SlimeGod/EbonianPaladin.png diff --git a/NPCs/SlimeGod/EbonianSlimeGod_Head_Boss.png b/NPCs/SlimeGod/EbonianPaladin_Head_Boss.png similarity index 100% rename from NPCs/SlimeGod/EbonianSlimeGod_Head_Boss.png rename to NPCs/SlimeGod/EbonianPaladin_Head_Boss.png diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index 8b39dcc0d9..5fd5598351 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -132,8 +132,8 @@ namespace CalamityMod.NPCs.SlimeGod if (Main.netMode != NetmodeID.MultiplayerClient && !slimesSpawned) { slimesSpawned = true; - NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType()); - NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType()); + NPC.NewNPC(NPC.GetSource_FromAI(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType()); } // Set damage @@ -184,7 +184,7 @@ namespace CalamityMod.NPCs.SlimeGod // Make sure Opacity is set to 0.8f if it's below that when the vanish phase starts if (NPC.ai[3] == 0f) { - if (!NPC.AnyNPCs(ModContent.NPCType()) && !NPC.AnyNPCs(ModContent.NPCType())) + if (!NPC.AnyNPCs(ModContent.NPCType()) && !NPC.AnyNPCs(ModContent.NPCType())) { NPC.ai[3] = 1f; NPC.Opacity = 0.8f; @@ -285,8 +285,8 @@ namespace CalamityMod.NPCs.SlimeGod { for (int x = 0; x < Main.maxNPCs; x++) { - if (Main.npc[x].type == ModContent.NPCType() || Main.npc[x].type == ModContent.NPCType() || - Main.npc[x].type == ModContent.NPCType() || Main.npc[x].type == ModContent.NPCType()) + if (Main.npc[x].type == ModContent.NPCType() || Main.npc[x].type == ModContent.NPCType() || + Main.npc[x].type == ModContent.NPCType() || Main.npc[x].type == ModContent.NPCType()) { Main.npc[x].active = false; Main.npc[x].netUpdate = true; @@ -477,10 +477,10 @@ namespace CalamityMod.NPCs.SlimeGod // If they are far apart, try to stay towards the closest slime. // If no slimes exist, or they are all extremely far away, try to stay near the target player instead. // TODO -- Consider renaming the big slime god's internal names to be more intuitive? - int crimulanSlimeID = ModContent.NPCType(); - int crimulanSlimeSplitID = ModContent.NPCType(); - int ebonianSlimeID = ModContent.NPCType(); - int ebonianSlimeSplitID = ModContent.NPCType(); + int crimulanSlimeID = ModContent.NPCType(); + int crimulanSlimeSplitID = ModContent.NPCType(); + int ebonianSlimeID = ModContent.NPCType(); + int ebonianSlimeSplitID = ModContent.NPCType(); List largeSlimes = new(); float ignoreGeneralAreaDistanceThreshold = 750f; diff --git a/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs b/NPCs/SlimeGod/SplitCrimulanPaladin.cs similarity index 99% rename from NPCs/SlimeGod/SplitCrimulanSlimeGod.cs rename to NPCs/SlimeGod/SplitCrimulanPaladin.cs index 0dfcfa5cf7..befd1923d0 100644 --- a/NPCs/SlimeGod/SplitCrimulanSlimeGod.cs +++ b/NPCs/SlimeGod/SplitCrimulanPaladin.cs @@ -14,7 +14,7 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] - public class SplitCrimulanSlimeGod : ModNPC + public class SplitCrimulanPaladin : ModNPC { private float bossLife; diff --git a/NPCs/SlimeGod/SplitCrimulanSlimeGod.png b/NPCs/SlimeGod/SplitCrimulanPaladin.png similarity index 100% rename from NPCs/SlimeGod/SplitCrimulanSlimeGod.png rename to NPCs/SlimeGod/SplitCrimulanPaladin.png diff --git a/NPCs/SlimeGod/SplitCrimulanSlimeGod_Head_Boss.png b/NPCs/SlimeGod/SplitCrimulanPaladin_Head_Boss.png similarity index 100% rename from NPCs/SlimeGod/SplitCrimulanSlimeGod_Head_Boss.png rename to NPCs/SlimeGod/SplitCrimulanPaladin_Head_Boss.png diff --git a/NPCs/SlimeGod/SplitEbonianSlimeGod.cs b/NPCs/SlimeGod/SplitEbonianPaladin.cs similarity index 99% rename from NPCs/SlimeGod/SplitEbonianSlimeGod.cs rename to NPCs/SlimeGod/SplitEbonianPaladin.cs index c3fb913455..44ea43863f 100644 --- a/NPCs/SlimeGod/SplitEbonianSlimeGod.cs +++ b/NPCs/SlimeGod/SplitEbonianPaladin.cs @@ -14,7 +14,7 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.SlimeGod { [AutoloadBossHead] - public class SplitEbonianSlimeGod : ModNPC + public class SplitEbonianPaladin : ModNPC { private float bossLife; diff --git a/NPCs/SlimeGod/SplitEbonianSlimeGod.png b/NPCs/SlimeGod/SplitEbonianPaladin.png similarity index 100% rename from NPCs/SlimeGod/SplitEbonianSlimeGod.png rename to NPCs/SlimeGod/SplitEbonianPaladin.png diff --git a/NPCs/SlimeGod/SplitEbonianSlimeGod_Head_Boss.png b/NPCs/SlimeGod/SplitEbonianPaladin_Head_Boss.png similarity index 100% rename from NPCs/SlimeGod/SplitEbonianSlimeGod_Head_Boss.png rename to NPCs/SlimeGod/SplitEbonianPaladin_Head_Boss.png diff --git a/Projectiles/Summon/ColdDivinityPointyThing.cs b/Projectiles/Summon/GlacialEmbracePointyThing.cs similarity index 97% rename from Projectiles/Summon/ColdDivinityPointyThing.cs rename to Projectiles/Summon/GlacialEmbracePointyThing.cs index 5941701028..46ff86412d 100644 --- a/Projectiles/Summon/ColdDivinityPointyThing.cs +++ b/Projectiles/Summon/GlacialEmbracePointyThing.cs @@ -9,7 +9,7 @@ using Terraria.Audio; namespace CalamityMod.Projectiles.Summon { - public class ColdDivinityPointyThing : ModProjectile, ILocalizedModType + public class GlacialEmbracePointyThing : ModProjectile, ILocalizedModType { public string LocalizationCategory => "Projectiles.Summon"; public int recharging = -1; @@ -147,13 +147,13 @@ namespace CalamityMod.Projectiles.Summon CalamityPlayer modPlayer = player.Calamity(); if (player.dead) { - modPlayer.coldDivinity = false; + modPlayer.GlacialEmbrace = false; } if (circlingPlayer) { Projectile.minionSlots = 1f; Projectile.timeLeft = 2; - if (!modPlayer.coldDivinity && recharging > 0) + if (!modPlayer.GlacialEmbrace && recharging > 0) Projectile.Kill(); } @@ -238,7 +238,7 @@ namespace CalamityMod.Projectiles.Summon { if (Main.projectile[i].active && Main.projectile[i].owner == Projectile.owner && Main.projectile[i].type == Projectile.type) { - ColdDivinityPointyThing pointy = (ColdDivinityPointyThing)Main.projectile[i].ModProjectile; + GlacialEmbracePointyThing pointy = (GlacialEmbracePointyThing)Main.projectile[i].ModProjectile; if (Main.projectile[i].ai[1] > 2f) circlers += Main.rand.Next(1, 4); } diff --git a/Projectiles/Summon/ColdDivinityPointyThing.png b/Projectiles/Summon/GlacialEmbracePointyThing.png similarity index 100% rename from Projectiles/Summon/ColdDivinityPointyThing.png rename to Projectiles/Summon/GlacialEmbracePointyThing.png diff --git a/UI/BossHealthBarManager.cs b/UI/BossHealthBarManager.cs index 8de0d225a0..6595afe4a9 100644 --- a/UI/BossHealthBarManager.cs +++ b/UI/BossHealthBarManager.cs @@ -164,10 +164,10 @@ namespace CalamityMod.UI OneToMany[NPCType()] = Rav; OneToMany[NPCType()] = Rav; - int[] SlimeGod = new int[] { NPCType(), NPCType(), - NPCType(), NPCType() }; - OneToMany[NPCType()] = SlimeGod; - OneToMany[NPCType()] = SlimeGod; + int[] SlimeGod = new int[] { NPCType(), NPCType(), + NPCType(), NPCType() }; + OneToMany[NPCType()] = SlimeGod; + OneToMany[NPCType()] = SlimeGod; SetupBossExclusionList(); SetupMinibossHPBarList(); diff --git a/UI/VanillaBossBars/SlimeGodBossBar.cs b/UI/VanillaBossBars/SlimeGodBossBar.cs index fbabc5c273..0d3f8b2cf3 100644 --- a/UI/VanillaBossBars/SlimeGodBossBar.cs +++ b/UI/VanillaBossBars/SlimeGodBossBar.cs @@ -19,10 +19,10 @@ namespace CalamityMod.UI.VanillaBossBars public NPC FalseNPCSegment; public List SlimeGodSlimes = new List { - NPCType(), - NPCType(), - NPCType(), - NPCType() + NPCType(), + NPCType(), + NPCType(), + NPCType() }; public override Asset GetIconTexture(ref Rectangle? iconFrame) => TextureAssets.NpcHeadBoss[NPCID.Sets.BossHeadTextures[NPCType()]]; @@ -38,9 +38,9 @@ namespace CalamityMod.UI.VanillaBossBars // Add max health by feeding the data of false NPCs FalseNPCSegment = new NPC(); - FalseNPCSegment.SetDefaults(NPCType(), target.GetMatchingSpawnParams()); + FalseNPCSegment.SetDefaults(NPCType(), target.GetMatchingSpawnParams()); lifeMax += FalseNPCSegment.lifeMax; - FalseNPCSegment.SetDefaults(NPCType(), target.GetMatchingSpawnParams()); + FalseNPCSegment.SetDefaults(NPCType(), target.GetMatchingSpawnParams()); lifeMax += FalseNPCSegment.lifeMax; // Determine the current health of each slime diff --git a/Utilities/MiscUtils.cs b/Utilities/MiscUtils.cs index ec6abe77be..60a0596e2b 100644 --- a/Utilities/MiscUtils.cs +++ b/Utilities/MiscUtils.cs @@ -467,10 +467,10 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 32: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 33: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 34: npc = ModContent.NPCType(); @@ -638,7 +638,7 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 95: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 96: npc = ModContent.NPCType(); diff --git a/Utilities/NPCDebuffs.cs b/Utilities/NPCDebuffs.cs index 4b44480451..81f8e34277 100644 --- a/Utilities/NPCDebuffs.cs +++ b/Utilities/NPCDebuffs.cs @@ -95,10 +95,10 @@ namespace CalamityMod { NPCID.Deerclops, new Tuple(false, CalamityMod.iceEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, @@ -281,7 +281,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.cragEnemyImmunities) }, @@ -291,14 +291,14 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.astralEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.plagueEnemyImmunities) }, diff --git a/Utilities/NPCUtils.cs b/Utilities/NPCUtils.cs index 7d282ef88c..ebf49c1436 100644 --- a/Utilities/NPCUtils.cs +++ b/Utilities/NPCUtils.cs @@ -168,8 +168,8 @@ namespace CalamityMod return true; if (npc.type == NPCID.EaterofWorldsBody || npc.type == NPCID.EaterofWorldsHead || npc.type == NPCID.EaterofWorldsTail) return true; - return npc.type == NPCType() || npc.type == NPCType() || - npc.type == NPCType() || npc.type == NPCType(); + return npc.type == NPCType() || npc.type == NPCType() || + npc.type == NPCType() || npc.type == NPCType(); } public static bool AnyBossNPCS(bool checkForMechs = false)