From 867262d399f34bc61cf68addf186e4fe53e511a4 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 18 Feb 2026 22:49:51 -0500 Subject: [PATCH 1/4] Bloodworm now spoofs its bait power To fix bugs with it hooking immediately and staying hooked for much longer than it should --- Items/SummonItems/BloodwormItem.cs | 18 ++++++++++++++++-- Projectiles/CalamityGlobalProjectile.cs | 1 + 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Items/SummonItems/BloodwormItem.cs b/Items/SummonItems/BloodwormItem.cs index be23362d9c..5bd5f6c758 100644 --- a/Items/SummonItems/BloodwormItem.cs +++ b/Items/SummonItems/BloodwormItem.cs @@ -1,7 +1,10 @@ -using CalamityMod.NPCs.AcidRain; +using System.Collections.Generic; +using System.Linq; +using CalamityMod.NPCs.AcidRain; using CalamityMod.Rarities; using Terraria; using Terraria.ID; +using Terraria.Localization; using Terraria.ModLoader; namespace CalamityMod.Items.SummonItems @@ -9,6 +12,8 @@ namespace CalamityMod.Items.SummonItems public class BloodwormItem : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.SummonItems"; + + private const int SpoofBaitNumber = 4444; public override void SetStaticDefaults() { Item.ResearchUnlockCount = 3; @@ -20,7 +25,10 @@ namespace CalamityMod.Items.SummonItems Item.width = 28; Item.height = 28; Item.maxStack = Item.CommonMaxStack; - Item.bait = 4444; + // Why spoof this in the tooltip? + // To fix bugs related to how bait power affects hooking fish. + // Vanilla gets around this for Truffle Worm with a hundred hardcoded checks but we don't have the full luxury to do that. + Item.bait = 50; Item.useStyle = ItemUseStyleID.Swing; Item.autoReuse = true; Item.useTurn = true; @@ -38,5 +46,11 @@ namespace CalamityMod.Items.SummonItems { itemGroup = ContentSamples.CreativeHelper.ItemGroup.BossItem; } + + public override void ModifyTooltips(List tooltips) + { + TooltipLine bait = tooltips.FirstOrDefault(x => x.Mod == "Terraria" && x.Name == "BaitPower"); + bait?.Text = Language.GetTextValue("GameUI.BaitPower", SpoofBaitNumber); + } } } diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index adab757b67..ee5a3cbc01 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -3333,6 +3333,7 @@ namespace CalamityMod.Projectiles { projectile.ai[0] = 1; projectile.localAI[1] = NPCType() * -1; + baitPower = 4444; // Manually set the power to the displayed value ReelTheBobberChecks(); } else if (baitPower > 75) From 76dc15edf91ac0230f62fe8552f1db72ac6662ba Mon Sep 17 00:00:00 2001 From: sunny-raindrops Date: Wed, 18 Feb 2026 21:18:30 -0800 Subject: [PATCH 2/4] Burning Sky now reforges to Unreal --- Items/Weapons/Melee/TheBurningSky.cs | 3 +++ Prefixes/ReforgeChange.cs | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Items/Weapons/Melee/TheBurningSky.cs b/Items/Weapons/Melee/TheBurningSky.cs index 161909dfc0..4147065fcb 100644 --- a/Items/Weapons/Melee/TheBurningSky.cs +++ b/Items/Weapons/Melee/TheBurningSky.cs @@ -6,6 +6,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.Audio; using Terraria.DataStructures; +using Terraria.GameContent.Prefixes; using Terraria.ID; using Terraria.ModLoader; @@ -44,6 +45,8 @@ namespace CalamityMod.Items.Weapons.Melee Item.value = CalamityGlobalItem.RarityVioletBuyPrice; Item.rare = ModContent.RarityType(); } + public override bool RangedPrefix() => true; //class identity is fake + public override bool MeleePrefix() => false; public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { diff --git a/Prefixes/ReforgeChange.cs b/Prefixes/ReforgeChange.cs index 7334129f63..5a42927f66 100644 --- a/Prefixes/ReforgeChange.cs +++ b/Prefixes/ReforgeChange.cs @@ -1,5 +1,6 @@ using System; using System.Linq; +using CalamityMod.Items.Weapons.Melee; using CalamityMod.NPCs.TownNPCs; using CalamityMod.Packets; using CalamityMod.World; @@ -193,7 +194,7 @@ namespace CalamityMod.Prefixes // MELEE (includes tools and whips) // Melee-ranged hybrid weapons prioritize Legendary if available, otherwise go for Unreal - if ((item.CountsAsClass() || item.CountsAsClass()) && !(item.CountsAsClass() && !supportsLegendary)) + if ((item.CountsAsClass() || item.CountsAsClass()) && !(item.CountsAsClass() && !supportsLegendary) && !(item.type == ItemType())) { // Terrarian (has its own special "Legendary" for marketing reasons) // Other items that want to use Legendary2 are also compatible @@ -218,8 +219,8 @@ namespace CalamityMod.Prefixes } } - // RANGED - else if (item.CountsAsClass()) + // RANGED (and also Burning Sky) + else if (item.CountsAsClass() || item.type == ItemType()) { prefix = IteratePrefix(rand, RangedPrefixTiers, currentPrefix); } From b33c0bc4f16fca89bf3b08d73f46029d65e95539 Mon Sep 17 00:00:00 2001 From: apotofkoolaid Date: Thu, 19 Feb 2026 08:55:59 -0600 Subject: [PATCH 3/4] Terminus resprite + minor tooltip revision - Gave Terminus' glow mask a subtle animation similar to Xeroc's eye, or Fallen Stars on the ground. - Revised Terminus' tooltip to make it read easier. I didn't add any lore flairs, since I figure someone else wants to do that later. --- Items/SummonItems/Terminus.cs | 77 +++++++++++++++--- Items/SummonItems/Terminus.png | Bin 1466 -> 1056 bytes Items/SummonItems/TerminusGlow.png | Bin 0 -> 673 bytes .../Mods.CalamityMod.Items.SummonItems.hjson | 2 +- Projectiles/Typeless/TerminusHoldout.cs | 39 +++++++-- 5 files changed, 99 insertions(+), 19 deletions(-) create mode 100644 Items/SummonItems/TerminusGlow.png diff --git a/Items/SummonItems/Terminus.cs b/Items/SummonItems/Terminus.cs index 71f0b167e4..c1432c9c8b 100644 --- a/Items/SummonItems/Terminus.cs +++ b/Items/SummonItems/Terminus.cs @@ -13,8 +13,8 @@ namespace CalamityMod.Items.SummonItems public new string LocalizationCategory => "Items.SummonItems"; public override void SetDefaults() { - Item.width = Main.zenithWorld ? 54 : 28; - Item.height = Main.zenithWorld ? 78 : 28; + Item.width = Main.zenithWorld ? 54 : 70; + Item.height = Main.zenithWorld ? 78 : 80; Item.rare = ItemRarityID.Blue; Item.useAnimation = 45; Item.useTime = 45; @@ -31,17 +31,67 @@ namespace CalamityMod.Items.SummonItems Item.SetNameOverride(this.GetLocalizedValue("GFBName")); } - public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frameI, Color drawColor, Color itemColor, Vector2 origin, float scale) + public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) { + // The wiki classifies Boss Rush as an event + itemGroup = ContentSamples.CreativeHelper.ItemGroup.EventItem; + } + + #region Sprite Drawing + public static void DrawTerminusGlow(SpriteBatch spriteBatch, Vector2 baseDrawPosition, Rectangle frame, float rotation, float baseScale) + { + Texture2D glowTexture = ModContent.Request("CalamityMod/Items/SummonItems/TerminusGlow").Value; + Vector2 origin = frame.Size() * 0.5f; + + float pulseRate = Main.GlobalTimeWrappedHourly % 5f; + float slowingRate = Main.GlobalTimeWrappedHourly * 0.4f; + float orbitRadius = baseScale != 1f ? 4f : 7f; + float glowCount = 3f; + + pulseRate /= 2.5f; + if (pulseRate >= 1f) + pulseRate = 2f - pulseRate; + pulseRate *= 0.6f; + + for (int i = 0; i < glowCount; i++) + { + float progress = i / glowCount; + float pulseRotation = (progress + slowingRate) * MathHelper.TwoPi; + + Vector2 offset = Vector2.UnitY * orbitRadius; + offset = offset.RotatedBy(pulseRotation) * pulseRate; + + spriteBatch.Draw(glowTexture, baseDrawPosition + offset, frame, new Color(56, 12, 115, 33), rotation, origin, baseScale, 0, 0); + } + + spriteBatch.Draw(glowTexture, baseDrawPosition, frame, Color.White, rotation, origin, baseScale, 0, 0); + } + + public static void DrawGlowInWorld(SpriteBatch spriteBatch, Vector2 baseDrawPosition, float rotation, float baseScale) + { + Texture2D glowTexture = ModContent.Request("CalamityMod/Items/SummonItems/TerminusGlow").Value; + Rectangle frame = glowTexture.Bounds; + DrawTerminusGlow(spriteBatch, baseDrawPosition + new Vector2(0, -1), frame, rotation, baseScale); + } + + public override bool PreDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale) + { + Texture2D texture; + float invScale = scale * 1.4f; + if (Main.zenithWorld) { - Texture2D texture = ModContent.Request("CalamityMod/Items/SummonItems/Terminus_GFB").Value; - Color overlay = Color.White; - spriteBatch.Draw(texture, position, null, overlay, 0f, origin, scale, 0, 0); - return false; + texture = ModContent.Request("CalamityMod/Items/SummonItems/Terminus_GFB").Value; + spriteBatch.Draw(texture, position - new Vector2(-4, -1), null, Color.White, 0f, origin, invScale - 0.04f, 0, 0); } else - return true; + { + texture = ModContent.Request("CalamityMod/Items/SummonItems/Terminus").Value; + spriteBatch.Draw(texture, position, null, Color.White, 0f, origin, invScale, 0, 0); + DrawTerminusGlow(spriteBatch, position, frame, 0f, invScale); + } + + return false; } public override bool PreDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, ref float rotation, ref float scale, int whoAmI) @@ -49,17 +99,20 @@ namespace CalamityMod.Items.SummonItems if (Main.zenithWorld) { Texture2D texture = ModContent.Request("CalamityMod/Items/SummonItems/Terminus_GFB").Value; - spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, 0f, Vector2.Zero, 1f, 0, 0); + spriteBatch.Draw(texture, Item.position - Main.screenPosition, null, lightColor, rotation, Vector2.Zero, scale, 0, 0); return false; } else return true; } - public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup) + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - // The wiki classifies Boss Rush as an event - itemGroup = ContentSamples.CreativeHelper.ItemGroup.EventItem; + if (!Main.zenithWorld) + { + DrawGlowInWorld(spriteBatch, Item.Center - Main.screenPosition, rotation, scale); + } } + #endregion } } diff --git a/Items/SummonItems/Terminus.png b/Items/SummonItems/Terminus.png index 9693d24bb8b1e3cecf617e38f835c640a42881db..b94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YR=oB7L_$bkbrVU1B(^RD^=!y*<-o5(qFxfRRrOX(J25h1 z0&LuJuhP$ptoTu>1$o(IB$8_YEG}AA#*nB_rMwqV$QG=!R<|ai!>-lAlfR7u4q35L z$yyT3wrR0VQApIUlGS~Ms7UI(dL-mRHYA#g(zajMFImYeePk~o(NvW7cTl{@>Xm|I zyG}$Q(IqPF@4e^*a&q#l9bd6YYbDwyDmJUHwt3xWxe5%?6@O1mZ1(vzYXQhEC^jKs z{?uDmuEtpVV`nd2FGUSNp+4YEc= UZBHo7E&u=k07*qoM6N<$f(J{-uK)l5 diff --git a/Items/SummonItems/TerminusGlow.png b/Items/SummonItems/TerminusGlow.png new file mode 100644 index 0000000000000000000000000000000000000000..67ce074418b0dae3459ca155d307359d965f896b GIT binary patch literal 673 zcmeAS@N?(olHy`uVBq!ia0vp^Za^Hs!3-oP*MBwuQjEnx?oJHr&dIz4a#+$GeH|GX zHuiJ>Nn{1`g#vs+T#wB7|73sV|L1y7`W62F{|^*CE~fecNU@a!`2_<-fMT2XFWCrK(-+x6N4a-jsoJ$b{4RB z4v-B3pUM~+UI2XwqtR_;U;s)^U}se&Heg%;F&AVf>jH>b(|~LcU;>)V1XdYj zX#r$Gbr~9ff{!8QZQ?J^7pryyLsHh$#W5tp{p~bIp~DIsuF5xl$M1BOTwP~SsF?RC zdI{S@U&D(hzg9lkWso$}bLPo|4No(UEol)veX-}}a>YX(Pv=TKn={j}>&+#Br+@BT z=Bh82E zUlh*zHLKG}rRwU8{hr~OTrb;m4(w9x44Ndk`P`Hh=Q#dGZ?TlS-?N?oQ to start or end the Boss Rush } YharonEgg: { diff --git a/Projectiles/Typeless/TerminusHoldout.cs b/Projectiles/Typeless/TerminusHoldout.cs index c444e4d74e..52a48fc9ba 100644 --- a/Projectiles/Typeless/TerminusHoldout.cs +++ b/Projectiles/Typeless/TerminusHoldout.cs @@ -28,8 +28,8 @@ namespace CalamityMod.Projectiles.Typeless public override void SetDefaults() { - Projectile.width = 50; - Projectile.height = 50; + Projectile.width = 70; + Projectile.height = 80; Projectile.aiStyle = -1; Projectile.ignoreWater = true; Projectile.tileCollide = false; @@ -130,6 +130,8 @@ namespace CalamityMod.Projectiles.Typeless int dustCount = (int)Math.Round(MathHelper.SmoothStep(1f, 5f, Time / Lifetime)); float outwardness = MathHelper.SmoothStep(40f, 150f, Time / Lifetime); float dustScale = MathHelper.Lerp(1.15f, 1.725f, Time / Lifetime); + float colorTime = Time / Lifetime * Main.rand.NextFloat(0.65f, 1f); + for (int i = 0; i < dustCount; i++) { Vector2 spawnPosition = Projectile.Center + Main.rand.NextVector2Unit() * outwardness * Main.rand.NextFloat(0.75f, 1.1f); @@ -138,7 +140,7 @@ namespace CalamityMod.Projectiles.Typeless Dust paleMagic = Dust.NewDustPerfect(spawnPosition, DustID.PortalBoltTrail); paleMagic.velocity = dustVelocity; paleMagic.scale = dustScale * Main.rand.NextFloat(0.75f, 1.15f); - paleMagic.color = Color.Lerp(Color.LightCoral, Color.White, Time / Lifetime * Main.rand.NextFloat(0.65f, 1f)); + paleMagic.color = Main.zenithWorld ? Color.Lerp(Color.LightCoral, Color.White, colorTime) : Color.Lerp(Color.Violet, Color.Goldenrod, colorTime); paleMagic.noGravity = true; paleMagic.noLight = true; } @@ -169,8 +171,8 @@ namespace CalamityMod.Projectiles.Typeless SpriteEffects direction = Projectile.spriteDirection == 1 ? SpriteEffects.None : SpriteEffects.FlipHorizontally; if (Time >= 150f) { - float outwardness = MathHelper.SmoothStep(1f, 15f, Utils.GetLerpValue(150f, Lifetime - 30f, Time, true)); - Color afterimageColor = Color.Lerp(baseColor, Color.LightCoral, Utils.GetLerpValue(150f, 195f, Time, true)) * 0.225f; + float outwardness = MathHelper.SmoothStep(0f, 12f, Utils.GetLerpValue(150f, Lifetime - 30f, Time, true)); + Color afterimageColor = Color.Lerp(baseColor, Color.PaleGoldenrod, Utils.GetLerpValue(150f, 195f, Time, true)) * 0.225f; afterimageColor.A = 0; for (int i = 0; i < 10; i++) @@ -179,9 +181,34 @@ namespace CalamityMod.Projectiles.Typeless Main.EntitySpriteDraw(texture, baseDrawPosition + drawOffset, null, afterimageColor, 0f, origin, Projectile.scale, direction, 0); } } - Main.EntitySpriteDraw(texture, baseDrawPosition, null, baseColor, 0f, origin, Projectile.scale, direction, 0); + Main.EntitySpriteDraw(texture, baseDrawPosition, null, baseColor, 0f, origin, Projectile.scale, direction, 0); return false; } + + public override void PostDraw(Color lightColor) + { + if (Main.zenithWorld) + return; + + Texture2D texture = ModContent.Request("CalamityMod/Items/SummonItems/TerminusGlow").Value; + Vector2 baseDrawPosition = Projectile.Center - Main.screenPosition; + Vector2 origin = texture.Size() * 0.5f; + SpriteEffects direction = Projectile.spriteDirection == 1 ? SpriteEffects.None : SpriteEffects.FlipHorizontally; + + if (Time >= 75f) + { + float outwardness = MathHelper.SmoothStep(0f, 4f, Utils.GetLerpValue(75f, Lifetime - 30f, Time, true)); + + for (int i = 0; i < 3; i++) + { + Vector2 drawOffset = (MathHelper.TwoPi * i / 4f + Main.GlobalTimeWrappedHourly * 4.4f).ToRotationVector2() * outwardness; + + Main.EntitySpriteDraw(texture, baseDrawPosition + drawOffset, null, new Color(56, 12, 115, 0), 0f, origin, Projectile.scale, direction, 0); + } + } + + Main.EntitySpriteDraw(texture, baseDrawPosition, null, Color.White, 0f, origin, Projectile.scale, direction, 0); + } } } From 684a8e19409e3f03140dc43632a31bdbca1e486d Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Thu, 19 Feb 2026 12:14:38 -0500 Subject: [PATCH 4/4] Fixed shields taking damage even if the hit was cancelled Affects: Lunatic Cultist's ice mists, Daedalus armor's melee set bonus reflect, Ancient Fossil's falling block immunity, Archaic Powder's dart trap immunity --- CalPlayer/CalamityPlayerHitHurt.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index df6c24e6df..1d6aa74b99 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -1693,6 +1693,10 @@ namespace CalamityMod.CalPlayer private void ModifyHurtInfo_Calamity(ref Player.HurtInfo info) { + // Don't run any of this code if the hit was cancelled. + if (info.Cancelled) + return; + // Boss Rush's damage floor is implemented as a dirty modifier // TODO -- implementing this correctly would require fully reimplementing all of DR and ADR if (BossRushEvent.BossRushActive)