From 097eb7139c3929a19a17365e3c3ff21c018cdf65 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sat, 27 Dec 2025 11:58:46 -0500 Subject: [PATCH 1/3] Fixed Ares' health not scaling in difficulties Also put it on Primordial Wyrm too --- NPCs/ExoMechs/Ares/AresBody.cs | 1 + NPCs/ExoMechs/Ares/AresGaussNuke.cs | 1 + NPCs/ExoMechs/Ares/AresLaserCannon.cs | 1 + NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs | 1 + NPCs/ExoMechs/Ares/AresTeslaCannon.cs | 1 + NPCs/PrimordialWyrm/PrimordialWyrmBody.cs | 1 + NPCs/PrimordialWyrm/PrimordialWyrmBodyAlt.cs | 1 + NPCs/PrimordialWyrm/PrimordialWyrmTail.cs | 1 + 8 files changed, 8 insertions(+) diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 3f534839d7..a254f33078 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -186,6 +186,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares { NPCID.Sets.TrailingMode[Type] = 3; NPCID.Sets.TrailCacheLength[Type] = NPC.oldPos.Length; + NPCID.Sets.NeedsExpertScaling[Type] = true; NPCID.Sets.BossBestiaryPriority.Add(Type); NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers() { diff --git a/NPCs/ExoMechs/Ares/AresGaussNuke.cs b/NPCs/ExoMechs/Ares/AresGaussNuke.cs index 9b2d5e241c..876ab64252 100644 --- a/NPCs/ExoMechs/Ares/AresGaussNuke.cs +++ b/NPCs/ExoMechs/Ares/AresGaussNuke.cs @@ -79,6 +79,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares this.HideFromBestiary(); NPCID.Sets.TrailingMode[Type] = 3; NPCID.Sets.TrailCacheLength[Type] = NPC.oldPos.Length; + NPCID.Sets.NeedsExpertScaling[Type] = true; if (!Main.dedServ) { GlowTexture = ModContent.Request(Texture + "Glow", AssetRequestMode.AsyncLoad); diff --git a/NPCs/ExoMechs/Ares/AresLaserCannon.cs b/NPCs/ExoMechs/Ares/AresLaserCannon.cs index 0da93c21a7..dadb2b924d 100644 --- a/NPCs/ExoMechs/Ares/AresLaserCannon.cs +++ b/NPCs/ExoMechs/Ares/AresLaserCannon.cs @@ -81,6 +81,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares this.HideFromBestiary(); NPCID.Sets.TrailingMode[Type] = 3; NPCID.Sets.TrailCacheLength[Type] = NPC.oldPos.Length; + NPCID.Sets.NeedsExpertScaling[Type] = true; if (!Main.dedServ) { GlowTexture = ModContent.Request(Texture + "Glow", AssetRequestMode.AsyncLoad); diff --git a/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs b/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs index ba9bd2cea5..7a94a62176 100644 --- a/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs +++ b/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs @@ -75,6 +75,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares this.HideFromBestiary(); NPCID.Sets.TrailingMode[Type] = 3; NPCID.Sets.TrailCacheLength[Type] = NPC.oldPos.Length; + NPCID.Sets.NeedsExpertScaling[Type] = true; if (!Main.dedServ) { GlowTexture = ModContent.Request(Texture + "Glow", AssetRequestMode.AsyncLoad); diff --git a/NPCs/ExoMechs/Ares/AresTeslaCannon.cs b/NPCs/ExoMechs/Ares/AresTeslaCannon.cs index ad113bad6e..222bc247ac 100644 --- a/NPCs/ExoMechs/Ares/AresTeslaCannon.cs +++ b/NPCs/ExoMechs/Ares/AresTeslaCannon.cs @@ -77,6 +77,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares this.HideFromBestiary(); NPCID.Sets.TrailingMode[Type] = 3; NPCID.Sets.TrailCacheLength[Type] = NPC.oldPos.Length; + NPCID.Sets.NeedsExpertScaling[Type] = true; if (!Main.dedServ) { GlowTexture = ModContent.Request(Texture + "Glow", AssetRequestMode.AsyncLoad); diff --git a/NPCs/PrimordialWyrm/PrimordialWyrmBody.cs b/NPCs/PrimordialWyrm/PrimordialWyrmBody.cs index cc76aefa20..3a77d83eb0 100644 --- a/NPCs/PrimordialWyrm/PrimordialWyrmBody.cs +++ b/NPCs/PrimordialWyrm/PrimordialWyrmBody.cs @@ -21,6 +21,7 @@ namespace CalamityMod.NPCs.PrimordialWyrm public override void SetStaticDefaults() { + NPCID.Sets.NeedsExpertScaling[Type] = true; this.HideFromBestiary(); if (!Main.dedServ) { diff --git a/NPCs/PrimordialWyrm/PrimordialWyrmBodyAlt.cs b/NPCs/PrimordialWyrm/PrimordialWyrmBodyAlt.cs index 5a8d2566a7..755a0974c7 100644 --- a/NPCs/PrimordialWyrm/PrimordialWyrmBodyAlt.cs +++ b/NPCs/PrimordialWyrm/PrimordialWyrmBodyAlt.cs @@ -20,6 +20,7 @@ namespace CalamityMod.NPCs.PrimordialWyrm public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.PrimordialWyrmHead.DisplayName"); public override void SetStaticDefaults() { + NPCID.Sets.NeedsExpertScaling[Type] = true; this.HideFromBestiary(); if (!Main.dedServ) { diff --git a/NPCs/PrimordialWyrm/PrimordialWyrmTail.cs b/NPCs/PrimordialWyrm/PrimordialWyrmTail.cs index 1796a73b70..f1f0da9544 100644 --- a/NPCs/PrimordialWyrm/PrimordialWyrmTail.cs +++ b/NPCs/PrimordialWyrm/PrimordialWyrmTail.cs @@ -19,6 +19,7 @@ namespace CalamityMod.NPCs.PrimordialWyrm public override LocalizedText DisplayName => CalamityUtils.GetText("NPCs.PrimordialWyrmHead.DisplayName"); public override void SetStaticDefaults() { + NPCID.Sets.NeedsExpertScaling[Type] = true; this.HideFromBestiary(); if (!Main.dedServ) { From d773e26b403690724ee203140f7fac2c7ede4773 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sat, 27 Dec 2025 12:09:15 -0500 Subject: [PATCH 2/3] Cal Clone no longer has distance away from the player during attacks randomized in Death Mode --- NPCs/CalClone/CalamitasClone.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index 5fbdc3097a..b0c44f9306 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -165,7 +165,6 @@ namespace CalamityMod.NPCs.CalClone writer.Write(NPC.localAI[0]); writer.Write(NPC.localAI[1]); writer.Write(NPC.localAI[2]); - writer.Write(NPC.localAI[3]); for (int i = 0; i < 4; i++) writer.Write(NPC.Calamity().newAI[i]); } @@ -176,7 +175,6 @@ namespace CalamityMod.NPCs.CalClone NPC.localAI[0] = reader.ReadSingle(); NPC.localAI[1] = reader.ReadSingle(); NPC.localAI[2] = reader.ReadSingle(); - NPC.localAI[3] = reader.ReadSingle(); for (int i = 0; i < 4; i++) NPC.Calamity().newAI[i] = reader.ReadSingle(); } @@ -499,16 +497,17 @@ namespace CalamityMod.NPCs.CalClone if (NPC.localAI[0] == 1f) { NPC.localAI[0] = 0f; - NPC.localAI[2] = Main.rand.Next(-50, 51); - NPC.localAI[3] = Main.rand.Next(-300, 301); + NPC.localAI[2] = Main.rand.Next(-300, 301); NPC.netUpdate = true; } // Add a bit of randomness to the destination if (death) { - destination.X += NPC.ai[1] == 0f ? NPC.localAI[3] : NPC.localAI[2]; - destination.Y += NPC.ai[1] == 0f ? NPC.localAI[2] : NPC.localAI[3]; + if (NPC.ai[1] == 0f) + destination.X += NPC.localAI[2]; + else + destination.Y += NPC.localAI[2]; } // How far Cal Clone is from where she's supposed to be From ddc787d40d4b4ab2cdc9824fda153ff56f53915b Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:55:30 -0800 Subject: [PATCH 3/3] remove shift tooltip from Vega --- Items/Weapons/Rogue/Vega.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Items/Weapons/Rogue/Vega.cs b/Items/Weapons/Rogue/Vega.cs index 7b5832a40d..3adbc2e852 100644 --- a/Items/Weapons/Rogue/Vega.cs +++ b/Items/Weapons/Rogue/Vega.cs @@ -12,7 +12,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Rogue { [LegacyName("NightsGaze")] - public class Vega : RogueWeapon, IHoldShiftTooltipItem + public class Vega : RogueWeapon { public static int StarburstCost = 20; public override void SetDefaults()