From 08bd2a212932de71873016d673aaa433a2f5828d Mon Sep 17 00:00:00 2001 From: shade-storm Date: Thu, 19 Jun 2025 18:14:10 -0600 Subject: [PATCH 01/77] Fixed Raider's Talisman & Vampiric Talisman Localisation --- Localization/en-US/Mods.CalamityMod.UI.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index a045b6118c..0400bd6112 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -143,7 +143,7 @@ Cooldowns: { PrismaticLaser: Prismatic Laser Barrage Cooldown ProfanedSoulShieldDurability: Profaned Soul Shield Durability ProfanedSoulShieldRecharge: Profaned Soul Shield Recharge - RaiderBoost: Extra Critical Chance + RaidersBoost: Extra Critical Chance RelicOfResilienceCooldown: Relic of Resilience Cooldown RogueBooster: Rogue Booster Cooldown SandCloak: Sand Cloak Cooldown From d666e985a4fee51b37720cd6ca508ce5bec32e4f Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 20 Jun 2025 00:16:05 -0400 Subject: [PATCH 02/77] Fixed broken localization on Wulfrum wall bulbs --- Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index cf192272c0..81e0d43461 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -4296,12 +4296,12 @@ WulfrumPanelWall: { } ChargedWulfrumWallMountedBulb: { - DisplayName: Mods.CalamityMod.Items.Placeables.ChargedWulfrumWallMountedBulb.DisplayName + DisplayName: Charged Wulfrum Wall Mounted Bulb Tooltip: "" } WulfrumWallMountedBulb: { - DisplayName: Mods.CalamityMod.Items.Placeables.WulfrumWallMountedBulb.DisplayName + DisplayName: Wulfrum Wall Mounted Bulb Tooltip: "" } From 6d4eb61c2e59035efbeecbcf54d1a377385eead7 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 20 Jun 2025 01:05:03 -0400 Subject: [PATCH 03/77] Lacerator balance + fix And made CV take longer to move and not be on crack when moving --- Items/Weapons/Melee/Lacerator.cs | 2 +- NPCs/CeaselessVoid/CeaselessVoid.cs | 4 ++-- Projectiles/Melee/Yoyos/LaceratorYoyo.cs | 19 +++++++------------ 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/Items/Weapons/Melee/Lacerator.cs b/Items/Weapons/Melee/Lacerator.cs index a23c35ba04..187f17e51e 100644 --- a/Items/Weapons/Melee/Lacerator.cs +++ b/Items/Weapons/Melee/Lacerator.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Melee Item.width = 30; Item.height = 26; Item.DamageType = DamageClass.MeleeNoSpeed; - Item.damage = 152; + Item.damage = 115; Item.knockBack = 7f; Item.useTime = 20; Item.useAnimation = 20; diff --git a/NPCs/CeaselessVoid/CeaselessVoid.cs b/NPCs/CeaselessVoid/CeaselessVoid.cs index a9e64b9390..feb32e1d75 100644 --- a/NPCs/CeaselessVoid/CeaselessVoid.cs +++ b/NPCs/CeaselessVoid/CeaselessVoid.cs @@ -225,7 +225,7 @@ namespace CalamityMod.NPCs.CeaselessVoid float projectileFireRateMultiplier = MathHelper.Lerp(0.5f, 1.5f, 1f - ((tileEnrageMult - 1f) / 0.5f)); // Decides whether Ceaseless moves closer to its target or not - float distanceRequiredToMove = CalamityWorld.LegendaryMode ? 300 : 600; + float distanceRequiredToMove = CalamityWorld.LegendaryMode ? 300f : 720f; bool move = Vector2.Distance(NPC.Center, player.Center) > distanceRequiredToMove || !Collision.CanHit(NPC.Center, 1, 1, player.Center, 1, 1); // Succ attack @@ -588,7 +588,7 @@ namespace CalamityMod.NPCs.CeaselessVoid // Movement if (NPC.Distance(destination) > maxDistance || succ || (!CalamityWorld.LegendaryMode && !madeItToLocation)) CalamityUtils.SmoothMovement(NPC, 0f, distanceFromDestination, velocity, acceleration, true); - if (NPC.Distance(destination) < 16) + if (NPC.Distance(destination) < 80) { madeItToLocation = true; } diff --git a/Projectiles/Melee/Yoyos/LaceratorYoyo.cs b/Projectiles/Melee/Yoyos/LaceratorYoyo.cs index 067878f5a1..8e5be19829 100644 --- a/Projectiles/Melee/Yoyos/LaceratorYoyo.cs +++ b/Projectiles/Melee/Yoyos/LaceratorYoyo.cs @@ -2,6 +2,7 @@ using System.Linq; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Weapons.Melee; +using CalamityMod.NPCs; using CalamityMod.Projectiles.Healing; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -13,23 +14,17 @@ using CalamityMod.Particles; namespace CalamityMod.Projectiles.Melee.Yoyos { + // Although normally yoyos are automatically exempted from pierce resist, + // the damage logic for the buzzsaw briefly clobbers aiStyle, necessitating a manual pierce resist exception. + [PierceResistException] public class LaceratorYoyo : ModProjectile { public override LocalizedText DisplayName => CalamityUtils.GetItemName(); public const int MaxUpdates = 3; - private static int CircleRes = 60; - private static int VertRes = 4; - private static int SpikeCount = 8; - - private float circleProgress = 0; - private float verticalProgress = 1; - private bool goingUp = false; public float chargeProgress = 0; - private bool sawHit = false; private bool spawnedBlood = false; - private int sawDir = 0; public override void SetStaticDefaults() @@ -63,6 +58,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos chargeProgress = 1; if (chargeProgress > 0) { + // Handles damage logic for the buzzsaw visual if (Main.player[Projectile.owner].miscCounter % 5 == 0 && Projectile.FinalExtraUpdate() && chargeProgress > 0.05f) { spawnedBlood = false; @@ -71,7 +67,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos Projectile.height = 196; Projectile.Center = Projectile.position; Projectile.originalDamage = Projectile.damage; - Projectile.damage = (int)(Projectile.damage * MathHelper.Lerp(0, 1f, chargeProgress)); + Projectile.damage = (int)(Projectile.damage * MathHelper.Lerp(0, 0.75f, chargeProgress)); sawHit = true; Projectile.usesIDStaticNPCImmunity = true; Projectile.aiStyle = -1; @@ -108,11 +104,10 @@ namespace CalamityMod.Projectiles.Melee.Yoyos { if (sawHit) { - target.AddBuff(ModContent.BuffType(), 60); Vector2 bloodpos = Projectile.Center + Projectile.DirectionTo(target.Center) * 84; if (!spawnedBlood && Main.rand.NextBool() && chargeProgress > 0.2f && target.Hitbox.Contains(bloodpos.ToPoint())) { - Projectile.NewProjectile(Projectile.GetSource_OnHit(target), bloodpos, Projectile.DirectionTo(target.Center).RotatedBy(sawDir * MathHelper.PiOver2 * 0.9f).RotatedByRandom(0.1f) * Main.rand.NextFloat(3f, 5f), ModContent.ProjectileType(), 1, 0f, Projectile.owner); + Projectile.NewProjectile(Projectile.GetSource_OnHit(target), bloodpos, Projectile.DirectionTo(target.Center).RotatedBy(sawDir * MathHelper.PiOver2 * 0.9f).RotatedByRandom(0.1f) * Main.rand.NextFloat(3f, 5f), ModContent.ProjectileType(), 4, 0f, Projectile.owner); spawnedBlood = true; } return; From cb7b338a15d33446d4d9e501fa12b1abe1967f16 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 20 Jun 2025 16:35:54 -0400 Subject: [PATCH 04/77] Remaining Bloodstone balancing --- Items/Weapons/Ranged/BloodBoiler.cs | 2 +- Projectiles/Ranged/BloodBoilerFire.cs | 2 +- Projectiles/Rogue/BloodsoakedCrashax.cs | 14 ++++++-------- Projectiles/Summon/BloodSpit.cs | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Items/Weapons/Ranged/BloodBoiler.cs b/Items/Weapons/Ranged/BloodBoiler.cs index 3067ec1c17..35eabb4e58 100644 --- a/Items/Weapons/Ranged/BloodBoiler.cs +++ b/Items/Weapons/Ranged/BloodBoiler.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Ranged { Item.width = 60; Item.height = 30; - Item.damage = 135; + Item.damage = 120; Item.DamageType = DamageClass.Ranged; Item.useTime = 5; Item.useAnimation = 25; diff --git a/Projectiles/Ranged/BloodBoilerFire.cs b/Projectiles/Ranged/BloodBoilerFire.cs index 5a1869b20e..87e63d5d6e 100644 --- a/Projectiles/Ranged/BloodBoilerFire.cs +++ b/Projectiles/Ranged/BloodBoilerFire.cs @@ -198,7 +198,7 @@ namespace CalamityMod.Projectiles.Ranged { if (improvedHeal) { - BloodstoneHealOrb.Heal(player, 8); + BloodstoneHealOrb.Heal(player, 6); } Projectile.Kill(); diff --git a/Projectiles/Rogue/BloodsoakedCrashax.cs b/Projectiles/Rogue/BloodsoakedCrashax.cs index 090ef8dd38..c9bece2786 100644 --- a/Projectiles/Rogue/BloodsoakedCrashax.cs +++ b/Projectiles/Rogue/BloodsoakedCrashax.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Rogue else { // Gravity - Projectile.velocity.Y += 0.11f; + Projectile.velocity.Y += 0.07f; // Cap velocity. speed = Projectile.velocity.Length(); @@ -104,16 +104,14 @@ namespace CalamityMod.Projectiles.Rogue private void OnHitEffects(int damage) { - grind += 5; //THE GRIND NEVER STOPS - if (grind > 15) - grind = 15; // except when it's too much + grind += 6; //THE GRIND NEVER STOPS + if (grind > 18) + grind = 18; // except when it's too much if (Projectile.Calamity().stealthStrike && Projectile.owner == Main.myPlayer) //stealth strike attack { int projID = ModContent.ProjectileType(); - int bloodDamage = Projectile.damage; - float bloodKB = 1f; - int stealth = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.UnitX.RotatedByRandom(MathHelper.TwoPi)*4f, projID, bloodDamage, bloodKB, Projectile.owner, 1f, 0.85f + Main.rand.NextFloat() * 1.15f); + int stealth = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.UnitX.RotatedByRandom(MathHelper.Pi) * 4f, projID, (int)(Projectile.damage * 0.5f), 1f, Projectile.owner, 1f, 0.85f + Main.rand.NextFloat() * 1.15f); if (stealth.WithinBounds(Main.maxProjectiles)) { Main.projectile[stealth].DamageType = RogueDamageClass.Instance; @@ -127,7 +125,7 @@ namespace CalamityMod.Projectiles.Rogue float spreadAmount = MathHelper.ToRadians(360); for (var i = 0; i < orbAmount; i++) { - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.One.RotatedByRandom(spreadAmount) * 2f * Main.rand.NextFloat(0.75f, 1.25f), ModContent.ProjectileType(), 20, 0f, Projectile.owner); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.One.RotatedByRandom(spreadAmount) * 2f * Main.rand.NextFloat(0.75f, 1.25f), ModContent.ProjectileType(), 10, 0f, Projectile.owner); } } diff --git a/Projectiles/Summon/BloodSpit.cs b/Projectiles/Summon/BloodSpit.cs index 89167493d4..d3784b56ab 100644 --- a/Projectiles/Summon/BloodSpit.cs +++ b/Projectiles/Summon/BloodSpit.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Summon Projectile.usesLocalNPCImmunity = true; Projectile.localNPCHitCooldown = 6; Projectile.DamageType = DamageClass.Summon; - Projectile.Calamity().BloodstoneOrbValue = 20; //Bloodstone Orb lifesteal. May want to go back to regular lifesteal. + Projectile.Calamity().BloodstoneOrbValue = 12; //Bloodstone Orb lifesteal. May want to go back to regular lifesteal. } public override void AI() From 74ebcaba34165d85ecbdfc2e207edf587765ce5e Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 20 Jun 2025 17:16:13 -0400 Subject: [PATCH 05/77] Glacial State can no longer be inflicted on the player --- Buffs/StatDebuffs/GlacialState.cs | 20 ------------------- CalPlayer/CalamityPlayer.cs | 3 --- CalPlayer/CalamityPlayerDrawEffects.cs | 9 --------- CalPlayer/CalamityPlayerMiscEffects.cs | 16 +++------------ Items/Armor/Fearmonger/FearmongerGreathelm.cs | 1 - .../EskimoArmorSetChange.cs | 1 - Items/Weapons/Melee/AbsoluteZero.cs | 1 - .../Mods.CalamityMod.Vanilla.Armor.hjson | 2 +- .../en-US/Mods.CalamityMod.Vanilla.hjson | 2 +- Projectiles/Boss/IceBomb.cs | 3 --- Projectiles/Boss/PermafrostColdheartIcicle.cs | 2 +- Projectiles/Melee/TerratomereHoldoutProj.cs | 1 - Projectiles/Rogue/FrostyFlareProj.cs | 1 - Projectiles/Rogue/FrostyFlareStealth.cs | 1 - Projectiles/Rogue/HypothermiaChunk.cs | 1 - Projectiles/Rogue/IcebreakerHammer.cs | 13 ------------ Projectiles/Rogue/ValariBoomerang.cs | 2 -- Projectiles/Turret/IceShot.cs | 2 +- Projectiles/Typeless/CryonicShield.cs | 3 --- 19 files changed, 7 insertions(+), 77 deletions(-) diff --git a/Buffs/StatDebuffs/GlacialState.cs b/Buffs/StatDebuffs/GlacialState.cs index ffbb2a810b..f87ac9805c 100644 --- a/Buffs/StatDebuffs/GlacialState.cs +++ b/Buffs/StatDebuffs/GlacialState.cs @@ -18,11 +18,6 @@ namespace CalamityMod.Buffs.StatDebuffs BuffID.Sets.LongerExpertDebuff[Type] = true; } - public override void Update(Player player, ref int buffIndex) - { - player.Calamity().gState = true; - } - public override void Update(NPC npc, ref int buffIndex) { if (npc.Calamity().gState < npc.buffTime[buffIndex]) @@ -32,20 +27,5 @@ namespace CalamityMod.Buffs.StatDebuffs npc.DelBuff(buffIndex); buffIndex--; } - - internal static void DrawEffects(PlayerDrawSet drawInfo) - { - Player Player = drawInfo.drawPlayer; - - if (Main.rand.NextBool(4)) - { - Dust d = Dust.NewDustDirect(Player.Center - 10 * Vector2.One, 20, 20, DustID.IcyMerman); - d.noGravity = Main.rand.NextBool(); - d.noLight = false; - d.velocity *= 0.2f; - d.velocity.Y -= Main.rand.NextFloat(0.4f, 0.6f); - d.scale = Main.rand.NextFloat(0.4f, 0.7f); - } - } } } diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 2b27f394ac..6608310e63 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -1263,7 +1263,6 @@ namespace CalamityMod.CalPlayer public bool pFlames = false; public bool hFlames = false; public bool hInferno = false; - public bool gState = false; public bool bBlood = false; public bool brainRot = false; public bool heavybleeding = false; @@ -2480,7 +2479,6 @@ namespace CalamityMod.CalPlayer pFlames = false; hFlames = false; hInferno = false; - gState = false; bBlood = false; brainRot = false; heavybleeding = false; @@ -2948,7 +2946,6 @@ namespace CalamityMod.CalPlayer pFlames = false; hFlames = false; hInferno = false; - gState = false; bBlood = false; brainRot = false; heavybleeding = false; diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index b5470a17e4..636e5136a1 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -230,15 +230,6 @@ namespace CalamityMod.CalPlayer if (calamityPlayer.eutrophication && drawInfo.shadow == 0f) Eutrophication.DrawEffects(drawInfo); - if (calamityPlayer.gState && drawInfo.shadow == 0f) - { - // These lines cannot be moved to Glacial State's own file - r *= 0.13f; - g *= 0.66f; - - GlacialState.DrawEffects(drawInfo); - } - if (calamityPlayer.gsInferno && drawInfo.shadow == 0f) GodSlayerInferno.DrawEffects(drawInfo); diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 2b1a533517..e27fff5009 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2012,7 +2012,7 @@ namespace CalamityMod.CalPlayer SyncCooldownRemoval(Main.dedServ, expiredCooldowns); // Grant the player 5 seconds of immunity to immobilizing debuffs after an immobilizing debuff wears off. - if (Player.stoned || Player.frozen || Player.webbed || gState) + if (Player.stoned || Player.frozen || Player.webbed) { ImmobilityDebuffImmunityTimer = ImmobilityDebuffImmunityTimerMax; } @@ -2022,7 +2022,6 @@ namespace CalamityMod.CalPlayer Player.buffImmune[BuffID.Stoned] = true; Player.buffImmune[BuffID.Frozen] = true; Player.buffImmune[BuffID.Webbed] = true; - Player.buffImmune[ModContent.BuffType()] = true; } if (arsenalCooldown > 0) @@ -2623,7 +2622,6 @@ namespace CalamityMod.CalPlayer Player.buffImmune[BuffID.Frozen] = true; Player.buffImmune[BuffID.Chilled] = true; - Player.buffImmune[ModContent.BuffType()] = true; } // Cosmic Discharge Cosmic Freeze buff, gives surrounding enemies the Glacial State debuff @@ -3319,12 +3317,12 @@ namespace CalamityMod.CalPlayer if (AdamantiteSet) Player.statDefense += AdamantiteSetDefenseBoost; - // Warmth makes Chilled, Frozen, and Glacial State tick down 3x as fast + // Warmth makes Chilled and Frozen tick down 3x as fast if (Player.HasBuff(BuffID.Warmth)) { for (int b = 0; b < Player.MaxBuffs; b++) { - if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen || Player.buffType[b] == ModContent.BuffType()) + if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen) { if (Player.buffTime[b] > 3) { @@ -3717,14 +3715,6 @@ namespace CalamityMod.CalPlayer Player.statDefense -= RemsRevenge.WitherDefenseReduction; } - if (gState) - { - Player.velocity.X *= 0.5f; - Player.velocity.Y += 0.05f; - if (Player.velocity.Y > 15f) - Player.velocity.Y = 15f; - } - if (eutrophication && !purity) Player.velocity = Vector2.Zero; diff --git a/Items/Armor/Fearmonger/FearmongerGreathelm.cs b/Items/Armor/Fearmonger/FearmongerGreathelm.cs index 27838ccc22..d384cb6fb5 100644 --- a/Items/Armor/Fearmonger/FearmongerGreathelm.cs +++ b/Items/Armor/Fearmonger/FearmongerGreathelm.cs @@ -67,7 +67,6 @@ namespace CalamityMod.Items.Armor.Fearmonger ModContent.BuffType(), BuffID.Chilled, BuffID.Frozen, - ModContent.BuffType(), }; for (var i = 0; i < immuneDebuffs.Length; ++i) player.buffImmune[immuneDebuffs[i]] = true; diff --git a/Items/VanillaArmorChanges/EskimoArmorSetChange.cs b/Items/VanillaArmorChanges/EskimoArmorSetChange.cs index 94f7ed96f4..57fb279073 100644 --- a/Items/VanillaArmorChanges/EskimoArmorSetChange.cs +++ b/Items/VanillaArmorChanges/EskimoArmorSetChange.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Items.VanillaArmorChanges player.Calamity().eskimoSet = true; player.buffImmune[BuffID.Frostburn] = true; - player.buffImmune[ModContent.BuffType()] = true; } } } diff --git a/Items/Weapons/Melee/AbsoluteZero.cs b/Items/Weapons/Melee/AbsoluteZero.cs index de9f7969e6..1b9615ad9c 100644 --- a/Items/Weapons/Melee/AbsoluteZero.cs +++ b/Items/Weapons/Melee/AbsoluteZero.cs @@ -42,7 +42,6 @@ namespace CalamityMod.Items.Weapons.Melee public override void OnHitPvp(Player player, Player target, Player.HurtInfo hurtInfo) { target.AddBuff(BuffID.Frostburn2, 300); - target.AddBuff(ModContent.BuffType(), 60); var source = player.GetSource_ItemUse(Item); int p = Projectile.NewProjectile(source, target.Center, Vector2.Zero, ModContent.ProjectileType(), Item.damage, 12f, player.whoAmI); Main.projectile[p].Kill(); diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.Armor.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.Armor.hjson index 718270c4af..f0b52b16a2 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.Armor.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.Armor.hjson @@ -39,7 +39,7 @@ SetBonus: { ''' Multiplies all cold-based debuff damage by 1.25x Cold enemies will deal reduced contact damage to the player - Provides immunity to the Chilled, Frozen, Frostburn and Glacial State debuffs + Provides immunity to the Chilled, Frozen, and Frostburn debuffs ''' Rain: ''' diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 1424ef5b75..b0f80de5e0 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -27,7 +27,7 @@ AddedTooltip: { This grants +1.5 HP/s life regen and accelerates natural life regen Life drain stacks based on the number of enemies being hit ''' - WarmthPotion: Greatly reduces the duration of Chilled, Frozen, and Glacial State + WarmthPotion: Greatly reduces the duration of Chilled and Frozen HandWarmer: Provides a regeneration boost while wearing the Snow armor GoldenFishingRod: Its fishing line will never break // Step Stool diff --git a/Projectiles/Boss/IceBomb.cs b/Projectiles/Boss/IceBomb.cs index ce60e05cb7..4dc005054e 100644 --- a/Projectiles/Boss/IceBomb.cs +++ b/Projectiles/Boss/IceBomb.cs @@ -101,9 +101,6 @@ namespace CalamityMod.Projectiles.Boss { target.AddBuff(BuffID.Frostburn, 180, true); target.AddBuff(BuffID.Chilled, 90, true); - - if (!target.Calamity().gState) - target.AddBuff(ModContent.BuffType(), 60); } } } diff --git a/Projectiles/Boss/PermafrostColdheartIcicle.cs b/Projectiles/Boss/PermafrostColdheartIcicle.cs index f58b5d3119..808004ddb1 100644 --- a/Projectiles/Boss/PermafrostColdheartIcicle.cs +++ b/Projectiles/Boss/PermafrostColdheartIcicle.cs @@ -163,6 +163,6 @@ namespace CalamityMod.Projectiles.Boss // Prevent the crystals from utilizing velocity. Their movement is entirely dependant on Center setting. public override bool ShouldUpdatePosition() => false; - public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType(), 300); + public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(BuffID.Frozen, 300); } } diff --git a/Projectiles/Melee/TerratomereHoldoutProj.cs b/Projectiles/Melee/TerratomereHoldoutProj.cs index 4be39fcdda..5cba182be3 100644 --- a/Projectiles/Melee/TerratomereHoldoutProj.cs +++ b/Projectiles/Melee/TerratomereHoldoutProj.cs @@ -315,7 +315,6 @@ namespace CalamityMod.Projectiles.Melee public override void OnHitPlayer(Player target, Player.HurtInfo info) { - target.AddBuff(ModContent.BuffType(), Terratomere.TrueMeleeGlacialStateTime); OnHitHealEffect(info.Damage); } #endregion Hit Effects and Collision diff --git a/Projectiles/Rogue/FrostyFlareProj.cs b/Projectiles/Rogue/FrostyFlareProj.cs index a405ddaa85..76c782b4e5 100644 --- a/Projectiles/Rogue/FrostyFlareProj.cs +++ b/Projectiles/Rogue/FrostyFlareProj.cs @@ -121,7 +121,6 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitPlayer(Player target, Player.HurtInfo info) { target.AddBuff(BuffID.Frostburn2, 180); - target.AddBuff(ModContent.BuffType(), 30); } public override bool? CanDamage() => Projectile.ai[0] == 0f ? null : false; diff --git a/Projectiles/Rogue/FrostyFlareStealth.cs b/Projectiles/Rogue/FrostyFlareStealth.cs index 33bc7eb8a3..5c4e1ebc5a 100644 --- a/Projectiles/Rogue/FrostyFlareStealth.cs +++ b/Projectiles/Rogue/FrostyFlareStealth.cs @@ -130,7 +130,6 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitPlayer(Player target, Player.HurtInfo info) { target.AddBuff(BuffID.Frostburn2, 180); - target.AddBuff(ModContent.BuffType(), 30); } public override bool? CanDamage() => Projectile.ai[0] == 0f ? null : false; diff --git a/Projectiles/Rogue/HypothermiaChunk.cs b/Projectiles/Rogue/HypothermiaChunk.cs index bdedfa919b..e1ee953a4b 100644 --- a/Projectiles/Rogue/HypothermiaChunk.cs +++ b/Projectiles/Rogue/HypothermiaChunk.cs @@ -82,7 +82,6 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitPlayer(Player target, Player.HurtInfo info) { target.AddBuff(ModContent.BuffType(), 300); - target.AddBuff(ModContent.BuffType(), 150); } public override bool PreDraw(ref Color lightColor) diff --git a/Projectiles/Rogue/IcebreakerHammer.cs b/Projectiles/Rogue/IcebreakerHammer.cs index 3ab30014a9..e079d036ad 100644 --- a/Projectiles/Rogue/IcebreakerHammer.cs +++ b/Projectiles/Rogue/IcebreakerHammer.cs @@ -90,19 +90,6 @@ namespace CalamityMod.Projectiles.Rogue int ice = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * 1.5), Projectile.knockBack, Projectile.owner, 0f, 0.85f + Main.rand.NextFloat() * 1.15f, 1f); if (ice.WithinBounds(Main.maxProjectiles)) Main.projectile[ice].DamageType = RogueDamageClass.Instance; - - int buffType = ModContent.BuffType(); - float radius = 112f; // 7 blocks - - foreach (Player player in Main.ActivePlayers) - { - Player owner = Main.player[Projectile.owner]; - if ((owner.team != player.team || player.team == 0) && player.hostile && owner.hostile && !player.dead && !player.buffImmune[buffType] && Vector2.Distance(Projectile.Center, player.Center) <= radius) - { - if (player.FindBuffIndex(buffType) == -1) - player.AddBuff(buffType, 60, false); - } - } } } } diff --git a/Projectiles/Rogue/ValariBoomerang.cs b/Projectiles/Rogue/ValariBoomerang.cs index 9db3525406..3107b69692 100644 --- a/Projectiles/Rogue/ValariBoomerang.cs +++ b/Projectiles/Rogue/ValariBoomerang.cs @@ -198,8 +198,6 @@ namespace CalamityMod.Projectiles.Rogue { OnHitEffects(target); target.AddBuff(BuffID.Frostburn2, 120); - if (Projectile.Calamity().stealthStrike) - target.AddBuff(ModContent.BuffType(), 45); } public override bool OnTileCollide(Vector2 oldVelocity) diff --git a/Projectiles/Turret/IceShot.cs b/Projectiles/Turret/IceShot.cs index bef1dc5cb2..8f970f9d8e 100644 --- a/Projectiles/Turret/IceShot.cs +++ b/Projectiles/Turret/IceShot.cs @@ -57,7 +57,7 @@ namespace CalamityMod.Projectiles.Turret } public override void OnHitPlayer(Player target, Player.HurtInfo info) { - target.AddBuff(ModContent.BuffType(), 30); + target.AddBuff(BuffID.Frozen, 30); target.AddBuff(BuffID.Frostburn, 180); if (Projectile.hostile && Main.netMode == NetmodeID.MultiplayerClient) //hostile version pierces through players in multiplayer return; diff --git a/Projectiles/Typeless/CryonicShield.cs b/Projectiles/Typeless/CryonicShield.cs index e3e6320565..78a369f2b2 100644 --- a/Projectiles/Typeless/CryonicShield.cs +++ b/Projectiles/Typeless/CryonicShield.cs @@ -83,10 +83,7 @@ namespace CalamityMod.Projectiles.Typeless Player player = Main.player[Projectile.owner]; CalamityPlayer modPlayer = player.Calamity(); if (!modPlayer.CryoStoneVanity) - { target.AddBuff(BuffID.Frostburn2, 180); - target.AddBuff(ModContent.BuffType(), 30); - } } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, Projectile.Size.Length() * 0.5f, targetHitbox); From 0d6c28e9db3bdccaa3ecce98b658429b49536cbb Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Fri, 20 Jun 2025 19:13:14 -0400 Subject: [PATCH 06/77] Reduced EoW and Creeper true melee resists --- Balancing/BalancingChangesManager.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 1e5a5fe8b1..0b603d9b1e 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -97,23 +97,23 @@ namespace CalamityMod.Balancing NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), ResistTrueMelee(0.8f))); #endregion - #region Brain of Cthulhu: Creepers - // 50% resist to true melee. - NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.5f)))); - - // 50% resist to Demon Scythe. - NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe)))); - #endregion - #region Eater of Worlds - // 50% resist to true melee. - NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.5f)))); - // 50% resist to Demon Scythe. NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe)))); // 40% resist to Sky Glaze. NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.6f, ProjectileType())))); + + // 25% resist to true melee. + NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.75f)))); + #endregion + + #region Brain of Cthulhu: Creepers + // 50% resist to Demon Scythe. + NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe)))); + + // 25% resist to true melee. + NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.75f)))); #endregion #region The Perforators From 788cd107304f065dbcbc2d12c9ca1c7950ab385e Mon Sep 17 00:00:00 2001 From: Xyk Date: Sat, 21 Jun 2025 01:25:02 -0700 Subject: [PATCH 07/77] Calamari and Extorter homing proj fix Also made bird easter egg rarer Probably want to re-test these summons on DoG --- Projectiles/Summon/CalamarisLamentMinion.cs | 6 +++--- Projectiles/Summon/CalamarisLamentProjectile.cs | 5 ++++- Projectiles/Summon/GhostFire.cs | 5 ++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Projectiles/Summon/CalamarisLamentMinion.cs b/Projectiles/Summon/CalamarisLamentMinion.cs index dd9d517abe..057b2ccb67 100644 --- a/Projectiles/Summon/CalamarisLamentMinion.cs +++ b/Projectiles/Summon/CalamarisLamentMinion.cs @@ -54,13 +54,13 @@ namespace CalamityMod.Projectiles.Summon } else { - if (Main.rand.NextBool(600)) + if (Main.rand.NextBool(800)) { SoundStyle glubNoise = Main.rand.NextBool() ? SoundID.Zombie35 : SoundID.Zombie34; SoundStyle trollBirdChirpingSound = SoundID.Zombie16; - // 1/200th chance to do a bird chirping sound. - SoundEngine.PlaySound(Main.rand.NextBool(200) ? trollBirdChirpingSound : glubNoise, Projectile.Center); + // 1/2000th chance to do a bird chirping sound. + SoundEngine.PlaySound(Main.rand.NextBool(2000) ? trollBirdChirpingSound : glubNoise, Projectile.Center); } } diff --git a/Projectiles/Summon/CalamarisLamentProjectile.cs b/Projectiles/Summon/CalamarisLamentProjectile.cs index 56f317b73b..c4ad77518b 100644 --- a/Projectiles/Summon/CalamarisLamentProjectile.cs +++ b/Projectiles/Summon/CalamarisLamentProjectile.cs @@ -38,7 +38,10 @@ namespace CalamityMod.Projectiles.Summon Projectile.ignoreWater = true; Projectile.usesLocalNPCImmunity = true; } - + public override bool? CanHitNPC(NPC target) + { + return target.CanBeChasedBy() ? null : false; + } public override void AI() { if (TargetShot is not null && TargetShot.active) diff --git a/Projectiles/Summon/GhostFire.cs b/Projectiles/Summon/GhostFire.cs index d4f5d8136a..5517dc5ad6 100644 --- a/Projectiles/Summon/GhostFire.cs +++ b/Projectiles/Summon/GhostFire.cs @@ -36,7 +36,10 @@ namespace CalamityMod.Projectiles.Summon Projectile.DamageType = DamageClass.Summon; } public override bool? CanDamage() => ableToHit ? (bool?)null : false; - + public override bool? CanHitNPC(NPC target) + { + return target.CanBeChasedBy() ? null : false; + } public override void AI() { Player player = Main.player[Projectile.owner]; From fa70d72365c5eb0503dbfeedfc50fc9883a04085 Mon Sep 17 00:00:00 2001 From: Doze-Zoze Date: Sat, 21 Jun 2025 12:49:49 -0500 Subject: [PATCH 08/77] AOTC slight changes --- Items/Weapons/Melee/ArkoftheCosmos.cs | 4 ++-- .../en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson | 5 +++-- Projectiles/Melee/ArkOfTheCosmos_ParryHoldout.cs | 3 ++- Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs | 11 +++++++++++ 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/Items/Weapons/Melee/ArkoftheCosmos.cs b/Items/Weapons/Melee/ArkoftheCosmos.cs index 127c76be64..695c21e84c 100644 --- a/Items/Weapons/Melee/ArkoftheCosmos.cs +++ b/Items/Weapons/Melee/ArkoftheCosmos.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Melee public static float MaxThrowReach = 760; public static float SnapDamageMultiplier = 1.2f; //Extra damage from making the scissors snap - public static float MaxCharge = 15f; // Maximum charge value AKA how much charge you get from a parry + public static float MaxCharge = 16f; // Maximum charge value AKA how much charge you get from a parry public static float chargeDamageMultiplier = 1.35f; //Extra damage from charge public static float chainDamageMultiplier = 0.1f; public static float SnapBoltsDamageMultiplier = 0.1f; @@ -235,7 +235,7 @@ namespace CalamityMod.Items.Weapons.Melee var barBG = Request("CalamityMod/UI/MiscTextures/GenericBarBack").Value; var barFG = Request("CalamityMod/UI/MiscTextures/GenericBarFront").Value; - float barScale = 3f; + float barScale = 4f; Vector2 barOrigin = barBG.Size() * 0.5f; float yOffset = 50f; Vector2 drawPos = position + Vector2.UnitY * scale * (frame.Height - yOffset); diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index b32afde3ba..e7cbecc7b4 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -77,14 +77,15 @@ ArkoftheCosmos: { ''' to perform a 5-swing combo that ends by throwing the blade The thrown blade will follow your cursor - Releasing while the blade is out will cause an exploding snap + Releasing or pressing while the blade is out will cause an exploding snap + Pressing to cause the snap will empower your next swings if you have an avaliable parry ''' ParryInfo: ''' to snip out the scissor blades in front of you Hitting an enemy with it will parry them, granting you brief invulnerability You can also parry projectiles to make them deal 160 less damage for a short period - Parrying will empower the next 15 swings of the sword + Parrying will empower the next 16 swings of the sword ''' BlastInfo: Double with charges available to cause a Big Rip in spacetime and consume all charges } diff --git a/Projectiles/Melee/ArkOfTheCosmos_ParryHoldout.cs b/Projectiles/Melee/ArkOfTheCosmos_ParryHoldout.cs index cf2aace6b5..ed61618cec 100644 --- a/Projectiles/Melee/ArkOfTheCosmos_ParryHoldout.cs +++ b/Projectiles/Melee/ArkOfTheCosmos_ParryHoldout.cs @@ -41,6 +41,7 @@ namespace CalamityMod.Projectiles.Melee Projectile.noEnchantmentVisuals = true; Projectile.usesIDStaticNPCImmunity = true; Projectile.idStaticNPCHitCooldown = 10; + Projectile.timeLeft = (int)MaxTime; } public override bool? CanDamage() => Timer <= ParryTime && AlreadyParried == 0f; @@ -108,7 +109,7 @@ namespace CalamityMod.Projectiles.Melee { if (!initialized) //Initialization { - Projectile.timeLeft = (int)MaxTime; + //Projectile.timeLeft = (int)MaxTime; SoundEngine.PlaySound(SoundID.Item84 with { Volume = SoundID.Item84.Volume * 0.3f }, Projectile.Center); // 14NOV2024: Ozzatron: clamped mouse position unnecessary, only used for direction diff --git a/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs b/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs index 65c5cce750..8d44a2f27d 100644 --- a/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs +++ b/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs @@ -1,5 +1,6 @@ using System; using System.IO; +using System.Linq; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Particles; using CalamityMod.Sounds; @@ -273,6 +274,16 @@ namespace CalamityMod.Projectiles.Melee float extraRotations = (direction.ToRotation() + MathHelper.PiOver4 > Projectile.velocity.ToRotation()) ? -MathHelper.TwoPi : 0f; Projectile.rotation = MathHelper.Lerp(Projectile.velocity.ToRotation(), direction.ToRotation() + extraRotations, orientateProperly); + Main.NewText(ThrowCompletion); + if (ChanceMissed == 0f && Owner.controlUseTile && ThrowCompletion > 0.99f) + { + ArkoftheCosmos sword = (Owner.HeldItem.ModItem as ArkoftheCosmos); + Projectile parrier = Main.projectile.FirstOrDefault(p => p.active && p.owner == Owner.whoAmI && p.type == ProjectileType(), null); + if (sword is not null && parrier is null) + { + int parryID = Projectile.NewProjectile(Owner.GetSource_ItemUse(sword.Item), Owner.Center, Owner.DirectionTo(Projectile.Center), ModContent.ProjectileType(), 0, 0, Owner.whoAmI); + } + } } //Sharticles From 1392a314beba2219cd0b16f05fcf732c8e17514f Mon Sep 17 00:00:00 2001 From: Listentowind <2926669682@qq.com> Date: Sun, 22 Jun 2025 04:34:40 +0800 Subject: [PATCH 09/77] localization fix 1.removed Foveanator projectile names 2.update warmth buff tooltip with previous change --- Localization/en-US/Mods.CalamityMod.Projectiles.Boss.hjson | 3 --- Localization/en-US/Mods.CalamityMod.Vanilla.hjson | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Boss.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Boss.hjson index 7947c1ccf2..b68715df12 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Boss.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Boss.hjson @@ -63,9 +63,6 @@ FlareBomb.DisplayName: Flare Bomb FlareDust.DisplayName: Flare Dust FlareDust2.DisplayName: Flare Bomb Flarenado.DisplayName: Flarenado -FoveanatorEnergyBomb.DisplayName: Nebulous Energy Bomb -FoveanatorLaser.DisplayName: Nebulous Laser -FoveanatorFlamethrower.DisplayName: Nebulous Flames FrostMist.DisplayName: Frost Mist GooglyEye.DisplayName: Googly Eye GreatSandBlast.DisplayName: Great Sand Blast diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index b0f80de5e0..3fbe79010e 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -296,7 +296,7 @@ BuffDescription: { ChaosState: Rod of Discord teleports are disabled LeafCrystal: Emits powerful life pulses at nearby enemies Rabies: Decreased life regen, Causes status effects - WarmthExtra: Reduced durations of Chilled, Frozen, and Glacial State + WarmthExtra: Reduced durations of Chilled and Frozen WeaponImbueConfetti: All attacks cause confetti to appear WeaponImbueCursedFlames: Melee, Whip, and Rogue attacks inflict enemies with cursed flames WeaponImbueFire: Melee, Whip, and Rogue attacks set enemies on fire From b682d432cb5d4aa9bd16a08575949e174bac5398 Mon Sep 17 00:00:00 2001 From: Doze-Zoze Date: Sat, 21 Jun 2025 19:12:42 -0500 Subject: [PATCH 10/77] tooltip fix --- Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index e7cbecc7b4..c5e5658212 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -77,8 +77,7 @@ ArkoftheCosmos: { ''' to perform a 5-swing combo that ends by throwing the blade The thrown blade will follow your cursor - Releasing or pressing while the blade is out will cause an exploding snap - Pressing to cause the snap will empower your next swings if you have an avaliable parry + Releasing while the blade is out will cause an exploding snap ''' ParryInfo: ''' From 51f39f65f56e4b0cf082a349b026d7a144d7053a Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Sat, 21 Jun 2025 20:53:28 -0400 Subject: [PATCH 11/77] Removed debug text --- Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs b/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs index 8d44a2f27d..854b5d2c48 100644 --- a/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs +++ b/Projectiles/Melee/ArkOfTheCosmos_SwungBlade.cs @@ -274,7 +274,6 @@ namespace CalamityMod.Projectiles.Melee float extraRotations = (direction.ToRotation() + MathHelper.PiOver4 > Projectile.velocity.ToRotation()) ? -MathHelper.TwoPi : 0f; Projectile.rotation = MathHelper.Lerp(Projectile.velocity.ToRotation(), direction.ToRotation() + extraRotations, orientateProperly); - Main.NewText(ThrowCompletion); if (ChanceMissed == 0f && Owner.controlUseTile && ThrowCompletion > 0.99f) { ArkoftheCosmos sword = (Owner.HeldItem.ModItem as ArkoftheCosmos); From 4251d1acdb7aee51f5211dc56477b6a2c7d60de5 Mon Sep 17 00:00:00 2001 From: sunny-raindrops Date: Sat, 21 Jun 2025 19:04:18 -0700 Subject: [PATCH 12/77] desert prowler and snow ruffian swap + minor stuff --- CalPlayer/CalamityPlayerOnHit.cs | 12 ++++++---- Items/Armor/DesertProwler/DesertProwlerSet.cs | 16 +++++++------- .../SnowRuffian/SnowRuffianChestplate.cs | 7 +++--- Items/Armor/SnowRuffian/SnowRuffianGreaves.cs | 7 +++--- Items/Armor/SnowRuffian/SnowRuffianMask.cs | 12 +++++----- .../DevPaintings/ThankYouPainting.cs | 2 +- Items/Weapons/Rogue/FrostyFlare.cs | 9 +------- Items/Weapons/Rogue/KelvinCatalyst.cs | 2 +- ....CalamityMod.Items.Armor.PreHardmode.hjson | 22 +++++++++++-------- 9 files changed, 46 insertions(+), 43 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index ecc0bd70b7..a343e9487d 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -138,7 +138,7 @@ namespace CalamityMod.CalPlayer ItemLifesteal(target, item, damageDone); ItemOnHit(item, damageDone, target.Center, hit.Crit, target.IsAnEnemy(false, true), targetIsDummy); - NPCDebuffs(target, item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass()); + NPCDebuffs(target, item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), item.CountsAsClass(), hit.Crit); // Ursa Sergeant slash cooldown is reset on kill if (ursaSergeant && target.life <= 0 && target.realLife == -1) @@ -608,7 +608,7 @@ namespace CalamityMod.CalPlayer ProjLifesteal(target, proj, damageDone, hit.Crit); ProjOnHit(proj, target.Center, hit.Crit, target.IsAnEnemy(false), targetIsDummy); - NPCDebuffs(target, proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), true, proj.noEnchantments); + NPCDebuffs(target, proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), proj.CountsAsClass(), hit.Crit, true, proj.noEnchantments); // Shattered Community tracks all damage dealt with Rage Mode (ignoring dummies). if (targetIsDummy) @@ -1201,7 +1201,7 @@ namespace CalamityMod.CalPlayer #endregion #region Debuffs - public void NPCDebuffs(NPC target, bool melee, bool ranged, bool magic, bool summon, bool rogue, bool whip, bool proj = false, bool noFlask = false) + public void NPCDebuffs(NPC target, bool melee, bool ranged, bool magic, bool summon, bool rogue, bool whip, bool crit, bool proj = false, bool noFlask = false) { if (melee && !noFlask) // Prevents Deep Sea Dumbell from snagging true melee debuff memes { @@ -1323,7 +1323,11 @@ namespace CalamityMod.CalPlayer } if (vexation) { - target.AddBuff(BuffID.Venom, 120, false); + target.AddBuff(BuffID.Venom, 120, false); + } + if (snowRuffianSet && ranged && crit) + { + target.AddBuff(BuffID.Frostburn, 300, false); } } #endregion diff --git a/Items/Armor/DesertProwler/DesertProwlerSet.cs b/Items/Armor/DesertProwler/DesertProwlerSet.cs index 7d7bcd3c06..b361e9b684 100644 --- a/Items/Armor/DesertProwler/DesertProwlerSet.cs +++ b/Items/Armor/DesertProwler/DesertProwlerSet.cs @@ -27,12 +27,11 @@ namespace CalamityMod.Items.Armor.DesertProwler public static readonly SoundStyle SmokeBombEndSound = new("CalamityMod/Sounds/Custom/AbilitySounds/DesertProwlerSmokeBombEnd"); public static readonly SoundStyle CDResetSound = new("CalamityMod/Sounds/Custom/AbilitySounds/DesertProwlerCDReset"); - public static int FlatDamageBonus = 1; public static int SmokeCooldown = 25 * 60; public static int SmokeDuration = 5 * 60; public static int LightsOutReset = (int)(1.5f * 60); public static int FreeCrit = 200; - public static int BonusDamageCap = 100; + public static int BonusDamageCap = 200; public static bool ShroudedInSmoke(Player player, out CooldownInstance cd) { @@ -78,8 +77,10 @@ namespace CalamityMod.Items.Armor.DesertProwler public override void UpdateArmorSet(Player player) { - player.setBonus = this.GetLocalization("SetBonus").Format(FlatDamageBonus); //More gets edited in elsewhere - player.GetDamage().Flat += FlatDamageBonus; + player.setBonus = this.GetLocalization("SetBonus").Format(); //More gets edited in elsewhere + player.Calamity().wearingRogueArmor = true; + player.Calamity().rogueStealthMax += 0.5f; + player.GetDamage() += 0.05f; DesertProwlerPlayer armorPlayer = player.GetModPlayer(); armorPlayer.desertProwlerSet = true; @@ -183,8 +184,7 @@ namespace CalamityMod.Items.Armor.DesertProwler public override void UpdateEquip(Player player) { - player.GetCritChance() += 4; - player.ammoCost80 = true; + player.GetCritChance() += 4; } public override void AddRecipes() @@ -227,7 +227,7 @@ namespace CalamityMod.Items.Armor.DesertProwler public override void UpdateEquip(Player player) { - player.GetCritChance() += 5; + player.GetCritChance() += 5; } public override void AddRecipes() @@ -381,7 +381,7 @@ namespace CalamityMod.Items.Armor.DesertProwler { if (projectile.damage > 0 && !Main.gameMenu) { - if (projectile.owner >= 0 && DesertProwlerHat.ShroudedInSmoke(Main.player[projectile.owner], out var cd) && projectile.DamageType.CountsAsClass(DamageClass.Ranged)) + if (projectile.owner >= 0 && DesertProwlerHat.ShroudedInSmoke(Main.player[projectile.owner], out var cd) && projectile.DamageType.CountsAsClass(RogueDamageClass.Instance)) { int critPool = DesertProwlerHat.FreeCrit; diff --git a/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs b/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs index c9cc263a73..67aa4cc310 100644 --- a/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianChestplate.cs @@ -35,18 +35,19 @@ namespace CalamityMod.Items.Armor.SnowRuffian Item.height = 18; Item.value = CalamityGlobalItem.RarityBlueBuyPrice; Item.rare = ItemRarityID.Blue; - Item.defense = 4; //9 + Item.defense = 5; //12 } public override void UpdateEquip(Player player) { - player.GetCritChance() += 3; + player.GetCritChance() += 4; } public override void AddRecipes() { CreateRecipe(). - AddRecipeGroup("AnySnowBlock", 60). + AddIngredient(ItemID.BorealWood, 20). + AddIngredient(ItemID.Silk, 6). AddIngredient(ItemID.FlinxFur, 2). AddTile(TileID.Anvils). Register(); diff --git a/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs b/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs index 5e4137d56e..d400b91e37 100644 --- a/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianGreaves.cs @@ -14,18 +14,19 @@ namespace CalamityMod.Items.Armor.SnowRuffian Item.height = 18; Item.value = CalamityGlobalItem.RarityBlueBuyPrice; Item.rare = ItemRarityID.Blue; - Item.defense = 3; //9 + Item.defense = 4; //12 } public override void UpdateEquip(Player player) { - player.moveSpeed += 0.05f; + player.moveSpeed += 0.1f; } public override void AddRecipes() { CreateRecipe(). - AddRecipeGroup("AnySnowBlock", 40). + AddIngredient(ItemID.BorealWood, 15). + AddIngredient(ItemID.Silk, 5). AddIngredient(ItemID.FlinxFur). AddTile(TileID.Anvils). Register(); diff --git a/Items/Armor/SnowRuffian/SnowRuffianMask.cs b/Items/Armor/SnowRuffian/SnowRuffianMask.cs index c05014c4cb..b3365ce50c 100644 --- a/Items/Armor/SnowRuffian/SnowRuffianMask.cs +++ b/Items/Armor/SnowRuffian/SnowRuffianMask.cs @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Armor.SnowRuffian Item.height = 18; Item.value = CalamityGlobalItem.RarityBlueBuyPrice; Item.rare = ItemRarityID.Blue; - Item.defense = 2; //9 + Item.defense = 3; //12 } public override bool IsArmorSet(Item head, Item body, Item legs) @@ -38,10 +38,9 @@ namespace CalamityMod.Items.Armor.SnowRuffian { var modPlayer = player.Calamity(); modPlayer.snowRuffianSet = true; - modPlayer.rogueStealthMax += 0.5f; + player.GetCritChance() += 4; + player.GetDamage() += 0.04f; player.setBonus = this.GetLocalizedValue("SetBonus"); - player.GetDamage() += 0.05f; - player.Calamity().wearingRogueArmor = true; if (player.controlJump) { @@ -62,13 +61,14 @@ namespace CalamityMod.Items.Armor.SnowRuffian public override void UpdateEquip(Player player) { - player.GetDamage() += 0.02f; + player.GetDamage() += 0.02f; } public override void AddRecipes() { CreateRecipe(). - AddRecipeGroup("AnySnowBlock", 20). + AddIngredient(ItemID.BorealWood, 10). + AddIngredient(ItemID.Silk, 4). AddIngredient(ItemID.FlinxFur). AddTile(TileID.Anvils). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs index 3d465cc42d..16434f3339 100644 --- a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs +++ b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs @@ -52,7 +52,6 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings public static IList devList = new List() { "Altix", - "Angel", "apotofkoolaid", "AquaSG", "Atalya", @@ -90,6 +89,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings "Shayy", "Spider Prov", "StipulateVenus", + "Sunny", "Tobias", "Tomat", "Triangle", diff --git a/Items/Weapons/Rogue/FrostyFlare.cs b/Items/Weapons/Rogue/FrostyFlare.cs index 1226639a46..90ed3cab91 100644 --- a/Items/Weapons/Rogue/FrostyFlare.cs +++ b/Items/Weapons/Rogue/FrostyFlare.cs @@ -9,11 +9,6 @@ namespace CalamityMod.Items.Weapons.Rogue { public class FrostyFlare : RogueWeapon { - public override void SetStaticDefaults() - { - Item.ResearchUnlockCount = 99; - } - public override void SetDefaults() { Item.width = 10; @@ -27,12 +22,10 @@ namespace CalamityMod.Items.Weapons.Rogue Item.UseSound = SoundID.Item1; Item.autoReuse = true; Item.knockBack = 2f; - Item.value = Item.buyPrice(0, 0, 8, 0); + Item.value = CalamityGlobalItem.RarityLightPurpleBuyPrice; Item.rare = ItemRarityID.LightPurple; Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 22f; - Item.maxStack = Item.CommonMaxStack; - Item.consumable = true; Item.DamageType = RogueDamageClass.Instance; } diff --git a/Items/Weapons/Rogue/KelvinCatalyst.cs b/Items/Weapons/Rogue/KelvinCatalyst.cs index dc3bf49211..cfcd7844f7 100644 --- a/Items/Weapons/Rogue/KelvinCatalyst.cs +++ b/Items/Weapons/Rogue/KelvinCatalyst.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(). - AddIngredient(100). + AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(). diff --git a/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson b/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson index 19a3b8ddc3..cc6d91e9c8 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson @@ -61,13 +61,17 @@ AerospecLeggings: { DesertProwlerHat: { DisplayName: Desert Prowler Hat - Tooltip: 4% increased ranged critical strike chance and 20% chance to not consume ammo - SetBonus: Ranged attacks deal an extra {0} flat damage + Tooltip: 4% increased rogue critical strike chance + SetBonus: + ''' + 5% increased rogue damage + +50 maximum stealth + ''' AbilityBrief: Sandsmoke Bomb - Double tap {0} to shroud yourself in a small cloud of sand AbilityDescription: ''' While the sand cloud is active, gain increased mobility but heavily reduced defense - Using a ranged weapon instantly dispels the sand cloak, but guarantees a supercrit for {0}% damage + Using a rogue weapon instantly dispels the sand cloak, but guarantees a supercrit for {0}% damage The super crit applies only as long as the resulting hit wouldn't exceed {1} damage Landing the killing blow on an enemy with this shot shortens the ability's cooldown to {2} seconds ''' @@ -80,7 +84,7 @@ DesertProwlerPants: { DesertProwlerShirt: { DisplayName: Desert Prowler Shirt - Tooltip: 5% increased ranged critical strike chance + Tooltip: 5% increased rogue critical strike chance } MarniteArchitectHeadgear: { @@ -101,22 +105,22 @@ MarniteArchitectToga: { SnowRuffianChestplate: { DisplayName: Snow Ruffian Chestplate - Tooltip: 3% increased rogue critical strike chance + Tooltip: 4% increased ranged critical strike chance } SnowRuffianGreaves: { DisplayName: Snow Ruffian Greaves - Tooltip: 5% increased movement speed + Tooltip: 10% increased movement speed } SnowRuffianMask: { DisplayName: Snow Ruffian Mask - Tooltip: 2% increased rogue damage + Tooltip: 2% increased ranged damage SetBonus: ''' - 5% increased rogue damage - +50 maximum stealth + 4% increased ranged damage and critical strike chance You can glide to negate fall damage + Ranged critical strikes frostburn enemies ''' } From de34783b8936ff94dce80520394e3fae74e59486 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sat, 21 Jun 2025 22:52:02 -0400 Subject: [PATCH 13/77] Removed a couple unused recipe groups --- .../en-US/Mods.CalamityMod.Misc.hjson | 3 -- Systems/Mechanic/RecipeSystem.cs | 35 ++----------------- 2 files changed, 3 insertions(+), 35 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Misc.hjson index 9ba745308c..2e8c552179 100644 --- a/Localization/en-US/Mods.CalamityMod.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Misc.hjson @@ -3,14 +3,11 @@ RecipeGroup: { HardmodeAnvil: "{$LegacyMisc.37} Hardmode Anvil" HardmodeForge: "{$LegacyMisc.37} Hardmode Forge" - AnyLargeGem: "{$LegacyMisc.37} Large Gem" AnyFood: "{$LegacyMisc.37} Food Item" AnyEvilBar: "{$LegacyMisc.37} Evil Bar" - AnyEvilPowder: "{$LegacyMisc.37} Evil Powder" Boss2Material: Shadow Scale or Tissue Sample CursedFlameIchor: Cursed Flame or Ichor AnyEvilWater: "{$LegacyMisc.37} Evil Water" - AnyEvilFlask: "{$LegacyMisc.37} Evil Flask" AnyEvilBlock: "{$LegacyMisc.37} Evil Block" AnyGoodBlock: "{$LegacyMisc.37} Good Block" LunarPickaxe: "{$LegacyMisc.37} Lunar Pickaxe" diff --git a/Systems/Mechanic/RecipeSystem.cs b/Systems/Mechanic/RecipeSystem.cs index 64d9163eba..61125a7147 100644 --- a/Systems/Mechanic/RecipeSystem.cs +++ b/Systems/Mechanic/RecipeSystem.cs @@ -35,10 +35,10 @@ namespace CalamityMod.Systems #endregion #region Recipe Group Definitions - public static int HardmodeAnvil, HardmodeForge, AnyLargeGem, AnyFood; + public static int HardmodeAnvil, HardmodeForge, AnyFood; public static int AnyCopperOre, AnySilverOre, AnyGoldOre, AnyEvilOre, AnyCobaltOre, AnyMythrilOre, AnyAdamantiteOre; public static int AnyCopperBar, AnySilverBar, AnyGoldBar, AnyEvilBar, AnyCobaltBar, AnyMythrilBar, AnyAdamantiteBar; - public static int AnyEvilPowder, Boss2Material, CursedFlameIchor, AnyEvilWater, AnyEvilFlask; + public static int Boss2Material, CursedFlameIchor, AnyEvilWater; public static int AnyStoneBlock, AnySnowBlock, AnyIceBlock, AnySiltBlock, AnyEvilBlock, AnyGoodBlock; public static int AnyWoodenSword, AnyHallowedHelmet, AnyHallowedPlatemail, AnyHallowedGreaves, AnyGoldCrown, LunarPickaxe, LunarHamaxe; public static int AnyManaFlower, AnyQuiver, AnyTombstone, AnyWings; @@ -87,19 +87,6 @@ namespace CalamityMod.Systems }); HardmodeForge = RecipeGroup.RegisterGroup("HardmodeForge", group); - // Large Gems (PvP tokens) - group = new RecipeGroup(() => CalamityUtils.GetTextValue("Misc.RecipeGroup.AnyLargeGem"), new int[] - { - ItemID.LargeAmber, - ItemID.LargeAmethyst, - ItemID.LargeDiamond, - ItemID.LargeEmerald, - ItemID.LargeRuby, - ItemID.LargeSapphire, - ItemID.LargeTopaz - }); - AnyLargeGem = RecipeGroup.RegisterGroup("AnyLargeGem", group); - // Food AnyFood = RecipeGroup.RegisterGroup("AnyFood", GetFoodItems()); } @@ -214,16 +201,8 @@ namespace CalamityMod.Systems private static void AddEvilBiomeItemRecipeGroups() { - // Vile and Vicious Powder - RecipeGroup group = new RecipeGroup(() => CalamityUtils.GetTextValue("Misc.RecipeGroup.AnyEvilPowder"), new int[] - { - ItemID.VilePowder, - ItemID.ViciousPowder - }); - AnyEvilPowder = RecipeGroup.RegisterGroup("AnyEvilPowder", group); - // Shadow Scale and Tissue Sample - group = new RecipeGroup(() => CalamityUtils.GetTextValue("Misc.RecipeGroup.Boss2Material"), new int[] + RecipeGroup group = new RecipeGroup(() => CalamityUtils.GetTextValue("Misc.RecipeGroup.Boss2Material"), new int[] { ItemID.ShadowScale, ItemID.TissueSample @@ -245,14 +224,6 @@ namespace CalamityMod.Systems ItemID.BloodWater }); AnyEvilWater = RecipeGroup.RegisterGroup("AnyEvilWater", group); - - // Flask of Cursed Flames and Flask of Ichor - group = new RecipeGroup(() => CalamityUtils.GetTextValue("Misc.RecipeGroup.AnyEvilFlask"), new int[] - { - ItemID.FlaskofCursedFlames, - ItemID.FlaskofIchor - }); - AnyEvilFlask = RecipeGroup.RegisterGroup("AnyEvilFlask", group); } private static void AddBiomeBlockRecipeGroups() From 8dbc523718fcd0fd58e177b7b8c0476397b42719 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sun, 22 Jun 2025 15:04:22 -0400 Subject: [PATCH 14/77] Removed Rev Master Prime gores --- Gores/SkeletronPrimes_RevMaster/ChadPrime1.png | Bin 1610 -> 0 bytes Gores/SkeletronPrimes_RevMaster/ChadPrime2.png | Bin 1084 -> 0 bytes .../SkeletronPrime2_1.png | Bin 1694 -> 0 bytes .../SkeletronPrime2_2.png | Bin 1052 -> 0 bytes 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Gores/SkeletronPrimes_RevMaster/ChadPrime1.png delete mode 100644 Gores/SkeletronPrimes_RevMaster/ChadPrime2.png delete mode 100644 Gores/SkeletronPrimes_RevMaster/SkeletronPrime2_1.png delete mode 100644 Gores/SkeletronPrimes_RevMaster/SkeletronPrime2_2.png diff --git a/Gores/SkeletronPrimes_RevMaster/ChadPrime1.png b/Gores/SkeletronPrimes_RevMaster/ChadPrime1.png deleted file mode 100644 index 07f2e0133330e509322458516f7d841d6f4a9086..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1610 zcmV-Q2DSN#P)Px*1W80eRCt{2oIOY+OB99AEXGEn25%9;K>SHfOaybqNH7yIR0AV17I`mILlLt9 zBhg&Yz{J!a41~c<#YixojgGx@y6@cTnjUv~)R#ziPgnocnRDyjszt!4Z6_7(u}@bJK0E%#Bi z0+Zq*=~!{9u&u2v0KnwrB!Em|J3Bi7fbH$=j;^OlBfK8}7SIH$Q(jVBB++l5O0yJZ zae8_R09aU9D0Mx0oTWGmdf)EuE`X%CKTc_nQ>D$$&H?~>dwZ+AuVAPsMLlnRex8Ra z@w%kANP-ooN~1^7v)Hr!{rv#)3hdO|2;0B7xM+KxDsgOVOg~aM-V9Y@Qd}gi;w(>7 zrJbCd0LXf_+uq0PS{`Td^z;NEd!FAi4HD#mNpX>winEkPxP5SN03cJEj@;Fwsz$Hp zDR6FX4nSUMi;Ii;(YDGUGQ=b$q4KmOW{W^OR6;v~pJ}`|9cn0I;&M0w6!0v#Kdxj++!0iRp3H zIEjj)@~9wUMO$Kdptj?|c2wbn(UV?B#cQQlqpLMKP?F*zF%?%(!!JZVkF2e&748qs zI6SO&G)l7F(C6`vlccyvz9I#qXkiGfPXu}>qKR<7Ke%UCh1k9@f$dtt>>%sGR z-s|ftfTXy}Fr%uDe~9N<yse-<1t714jg1WenZgwIJgXDTK~B!!T zl2-1i$E|iW_x0|NSmQq{gGh>tfX z`?;jJNOFqPsz5C4Y0eUHeVQsym7-o}d61sZZO(_5Rhr^Ge^Oi|Uy9Q=tWhKuo_}<7 zRCt`8!rwt~e8v&J=FG9)RTe&fs*Y5QIgZn+#&`8}*;VCLp~|;%^fZp^5VtzQaT9x@ zD&?_<|ND2R@Orwe80HdR$0D#ri)t2j8b0Qv=vWPXe!EeCx^D}^?xM+gc0PFmx_Kc2u7=>c1A@n2* zZ!W|_=U=T#vPV)}BxZG_;I~fz^1q>C#g~71zPBFD^H2+GWu@1?HQVN`HMXiVNpX?% zG#U-ASZV@U)L;*>$2eoZx3>o%zm`{_C-Segx`=2rrN?ob$M^U5Th8;=w#5FHj7ny8 zgzts#D=99LFOU08c>sWVz1{?}@3{UFhTdS!YI)wl9#y4T@c8=rI)H4v8M*?%yFZ;Z z^Jc%2;vzA}aq4}cnSgp3*KSx?IVN*atsL|7x;8}NS`lyNpJwzdL8uWNK;(Kz{YOqN~h_HBWna zd07L1!NI|n)l!5Cv-ZEdywm_-W@e`4zd5kovd=-qv0kSNQii=?z>%07*qo IM6N<$f}XJ>m;e9( diff --git a/Gores/SkeletronPrimes_RevMaster/ChadPrime2.png b/Gores/SkeletronPrimes_RevMaster/ChadPrime2.png deleted file mode 100644 index 303ac4ccde42eb9244817c25cbcc3b20a9ccc800..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1084 zcmV-C1jGA@P)Px&_DMuRRA_%|7ZWiR4Mi~Wk(w9^h8hZ!iXS1GiXSnU3WgdA1_mak zJ|aO36(d0mz0sPs&-Au>#-8?GsFg^+s>-U>rygB1re9)iZtnBz@#N&BB#E> zvvFthVWGh#iZIi;|@I`FTmw!oq?iX?c0M^xVnGNo9IlTU({$o0}U+(*6Ct zBQ(OK3H8{mDFE@ z5e##t#NG!6jWyhlIWb)fiutF?A5EusgKUgpERH`Iaej$4l8P3~1$^@UDo=V5G z4A3%+b2c_MBo!m!lO!D+97rlmA!c9@ro{6uW?>HbJ97pl8)N7*CiPB6VobpVVnH;87UsSP&((#M zKvw#iGAA2jXnX~4e}BJp98IBxF~jvTzHPu=EQe4Wkkg7asbjv zeIfj2H-jV}>mX$mF)i-p%f=Y`dL?S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TBsvjt9LFx93tPBPzz_lH1?k2a40rC{IV-Ym4!?akuGuj4>{^yf-bX zc5kBxnxiv6*mJ49t{CTTZf*jwv9SRZ``)S9-W?c89UdM61rbM#>CrZ=-w_af@l;F^ zZQT)-iKlEko`^(Aes^~lfWg5*0H&v>OZn_^Z8Q>1rCVQBJ7asJV!6f=e>-Jx?@fYL zHyJ!5i@T{R&K3Rr{Q&g#_O{Ib{QL~S-HingkpD^5>OTbA>E`UR=m(3yBjlJ_oZ z^qf?Rys8=jDZ(m6+WPe6^$e@-y=UTe70=P*2#|bAsSzR3lq9W(=(?}+&BmJg@U8zi z0-Q~&JhduGRMOt1QTe`lhx+pWq&NcV-g7ew)PGR Date: Sun, 22 Jun 2025 15:07:36 -0400 Subject: [PATCH 15/77] Shadow buff resprite --- Buffs/Potions/ShadowBuff.png | Bin 531 -> 573 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Buffs/Potions/ShadowBuff.png b/Buffs/Potions/ShadowBuff.png index ed4141070aa03265f31a77138830db4b303418b4..bb0b1ed05878f1350125a8cbfbe9d998ac061f9c 100644 GIT binary patch literal 573 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCilI0(?STf%H-h4L1e`O$LT7^77Ld7!Hby%QG-oF);jRU^pc%eo0*X1rHBU z**~LwuYeR^NswRge`LVmdf?6ppbTe$M`STj!C??)Jf6QI1t=&{;u=vBoS#-wo>-L1 z5RjOeSEA?V8lqsTXQ*f1eeJs?P|dc~2+uT6Pb~%xAcvJfijkFp5y18Gzw4ft`T`sKUU=*nn{X#8i+D z)&&rgrU2O>zyvgh39K^6(gMhW>M}Gi0LiMl&+A=mvh^sCImgq*F~q`u>Ezo&%?dm& z$|kx2KmOm(HFIOzDrIG>zu}#vfc_P!y9#Ty1$5m6l47_8k~yq4-V+u$CKXZE+Fqo? zzKkV}`+h;|@(r>dRC^X1X|9>QWQy^rIl-@vm$WJwOmA{;6`F4NPi?_AkKf^HI}Y96 zP;sov|G=R$j~~^(;|fh&_qCvSwvpzX*L`2FJB8)h&GdXo(P^ZUHF%w6`Jkxl&y QyFqUDboFyt=akR{0LA{Ct^fc4 delta 516 zcmV+f0{i{F1d{}i8Gi-<0047(dh`GQ00d`2O+f$vv5yP0Dy!50Qvv`0D$NK0Cg|`0P0`>06Lfe02gqax=}m;000JJOGiWi z{{a60|De66lK=n#VM#pyC!B zBOPaOm72j&ClH#P{8iSn9wH@h==pC|ic`e#Gbs<2ua0N7b^(r?<6 z&d<%sza|`4&wQ-Z5LoJbQq8?~hFNf251nBDvDx?9%tI1-2*jLUB)b5Bku3lKox`xx ztaN0qlCIaE+JAYF1f`F_Po2+7za}`IBp4?~LJxt#!Mh`1UHh_oL&J?EB3n(4^lw*GJ&-jeWmm0RVU?UjHP4jPsR88v%;@ zHTUn&y}%Yr1Icp%=cRVx#g)=WAVwnQnAOiVPsdHp^%3A2FYgC*khQ!yHaV6jr?nF> zTYo$L0J7 Date: Sun, 22 Jun 2025 18:08:22 -0400 Subject: [PATCH 16/77] Removed Bloodletting Servants --- DataStructures/NPCStats.cs | 2 - Events/BossRushEvent.cs | 2 +- Gores/BloodlettingServant1.png | Bin 278 -> 0 bytes Gores/BloodlettingServant2.png | Bin 573 -> 0 bytes Gores/BloodlettingServant3.png | Bin 216 -> 0 bytes Gores/BloodlettingServant4.png | Bin 480 -> 0 bytes .../en-US/Mods.CalamityMod.NPCs.hjson | 1 - NPCs/NormalNPCs/BloodlettingServant.cs | 326 ------------------ NPCs/NormalNPCs/BloodlettingServant.png | Bin 1615 -> 0 bytes .../Bosses/EyeOfCthulhuAI.cs | 49 +-- Systems/Collections/NPCs/BossHPScalingList.cs | 1 - .../Collections/NPCs/BossRushHPChangeDict.cs | 1 - .../Collections/NPCs/EnemyImmunitiesList.cs | 1 - 13 files changed, 10 insertions(+), 373 deletions(-) delete mode 100644 Gores/BloodlettingServant1.png delete mode 100644 Gores/BloodlettingServant2.png delete mode 100644 Gores/BloodlettingServant3.png delete mode 100644 Gores/BloodlettingServant4.png delete mode 100644 NPCs/NormalNPCs/BloodlettingServant.cs delete mode 100644 NPCs/NormalNPCs/BloodlettingServant.png diff --git a/DataStructures/NPCStats.cs b/DataStructures/NPCStats.cs index fe068b1d55..dde90afc67 100644 --- a/DataStructures/NPCStats.cs +++ b/DataStructures/NPCStats.cs @@ -308,7 +308,6 @@ namespace CalamityMod 40, // 48 in phase 2, 56 in phase 3 75 } }, // Vanilla: 113 in phase 2; Rev+: 90 in phase 2, 105 in phase 3 { NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 54 } }, - { ModContent.NPCType(), new int[] { 20, 26, 34, 63 } }, // In phase 2: 26, 34, 44, 82 { ModContent.NPCType(), new int[] { 40, 64, 80, 144 } }, { ModContent.NPCType(), new int[] { 25, 50, 62, 111 } }, @@ -541,7 +540,6 @@ namespace CalamityMod { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 26, 36, 44, 84 } }, { new Tuple(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 114 } }, - { new Tuple(ModContent.NPCType(), ProjectileID.BloodShot), new int[] { 26, 36, 44, 84 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 32, 48, 60, 108 } }, { new Tuple(ModContent.NPCType(), ModContent.ProjectileType()), new int[] { 32, 48, 60, 108 } }, diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index d39adecaea..339dbafa9f 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -164,7 +164,7 @@ namespace CalamityMod.Events ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), - new Boss(NPCID.EyeofCthulhu, TimeChangeContext.Night, permittedNPCs: new int[] { NPCID.ServantofCthulhu, ModContent.NPCType() }), + new Boss(NPCID.EyeofCthulhu, TimeChangeContext.Night, permittedNPCs: new int[] { NPCID.ServantofCthulhu }), new Boss(ModContent.NPCType(), TimeChangeContext.Day, type => { diff --git a/Gores/BloodlettingServant1.png b/Gores/BloodlettingServant1.png deleted file mode 100644 index d7522171eb1e94c490dc109b24cc880a7e1e0323..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 278 zcmV+x0qOpUP)Px#&`Cr=R49?Hk}(c~FcgNr8WUjh1h5h>z(AZJ>|Vkfkazgb@?P)Px$_en%SR7i={mdz_fQ5eR5SHl>itSpq7-MA@iEYvI{78W8F)=JsfDdpo2P|C)} z#>#)7k%hvP#T2E+!s7Z^m=VQ>!i)G7ydGC4Z{CeJdUW;#PDIRyf zs!!)~)^|P2sp>aO{z9S83KOxIkBn_85W}ypzV90P`T)4!*-;AyQO8xUtNFZ-r0H+g zgHOyn!EkLY0Cu6E7WBy*x3|k0IhhOqW631o5p*IE^?~6(qy41rfYdDrFfpsErO5>t zEmi{%9c%~S;^rQJ{$wWrZP`2D#=4ai0G=i%%Nh%@k_>7s>dZ=ZMX6j42r#ktjCD?p z0I-!g1R#BM4tT^wa`KvdUOngLlu;}Oz_o1y9;vl-T5YUS49qU=_Oj(uV2N2>ElmJ) z6hbb5qe+OKy*dC3y}bY&=q~KZW&wE7`yP&u0jNo(0GQw1rJV1c?mp3AGz!4R<0BAY zVxj$$YXCZQMofiu-7(hX|7Mc9y}AORUb;|s-B3KPe00Y441z*R6j)*+f60rfDJ5*js{E=bZcab-NPLx&;ex@g0u*H@0Z-)G*L z!4O(7XQSzk%Jp7H-pDmssi(fLWZU%ff3NP6BfoSv)ypM!i(Q#5llF)4Z-`dct;bhp Q0bR%7>FVdQ&MBb@0FQrDP5=M^ diff --git a/Gores/BloodlettingServant4.png b/Gores/BloodlettingServant4.png deleted file mode 100644 index ddece78bac0b7aa023bf63d7ba96028aa2f2aaeb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 480 zcmV<60U!Q}P)Px$nn^@KR7i=; z^e03hfkT205)MHiEn!=}Hq_>%Lije^UG<)?{XmEJyWHJ#@AKSypL?D=m{C>RcB{7S z&KgH)VP1jerI2nYndYB%d*L_+KzcCn*cGkE(FlP3Zr1=fwJi7hc$$JsNRjC{&W{e8 zmgV^#S2T)%QgJ*M9nG#wUpIJ!ej_tV#R13+1kBZNShR9JmdgRqX*8sR$Q`0lVIK~C zvU2H-&EQmjz$ zERe3(g`XsbR>g|=wHybIkg=YMy8v6mMF5sI)&O{Z>jSW|90S0rJqeF|{>OloTFo;) zlEnIwl&+m#4}c~Z5Kuw@WCkJ6*{bYUXROF1vRO}n7nwsen*dZ~Ree^E>%E5bYF1>F zf=5VoN~WpL`QEU_NCcRC!%htE6Q$m|!(= ChargeGateValue; - bool farEnoughForCharge = NPC.Distance(target.Center) >= 320f; - bool closeEnoughForCharge = NPC.Distance(target.Center) < 480f; - bool charging = (attemptingToCharge && farEnoughForCharge && closeEnoughForCharge) || NPC.ai[1] > 0f; - - float projectileShootGateValue = CalamityWorld.death ? 180f : 270f; - if (CalamityWorld.LegendaryMode) - projectileShootGateValue *= 0.5f; - - Vector2 lookAt = target.Center - NPC.Center; - float rateOfRotation = charging ? 0f : 0.1f; - float chargeDuration = CalamityWorld.death ? ChargeDuration_Death : ChargeDuration; - NPC.Calamity().canBreakPlayerDefense = charging; - if (charging) - { - if (NPC.ai[1] == 0f) - { - SoundEngine.PlaySound(SoundID.NPCDeath9, NPC.Center); - NPC.velocity = lookAt.SafeNormalize(Vector2.UnitY) * chargeVelocity; - NPC.spriteDirection = lookAt.X < 0f ? -1 : 1; - NPC.rotation = NPC.velocity.ToRotation() + (lookAt.X < 0f ? MathHelper.Pi : 0f); - - NPC.ai[1] = 1f; - if (NPC.ai[3] > projectileShootGateValue * 0.5f) - NPC.ai[3] = projectileShootGateValue * 0.5f; - - NPC.ForceNetUpdate(); - } - - if (NPC.ai[1] < ChargeDuration + 1f) - { - NPC.ai[1] += 1f; - if (NPC.ai[1] > ChargeDuration + 1f - 10f) - NPC.velocity *= 0.8f; - - if (NPC.ai[1] >= ChargeDuration + 1f) - { - NPC.ai[0] = 0f; - NPC.ai[1] = 0f; - NPC.ForceNetUpdate(); - } - } - } - else - { - if (lookAt.X > 0f) - { - NPC.spriteDirection = 1; - NPC.rotation = lookAt.ToRotation(); - } - if (lookAt.X < 0f) - { - NPC.spriteDirection = -1; - NPC.rotation = lookAt.ToRotation() + MathHelper.Pi; - } - } - - if (phase2) - { - NPC.damage = (int)Math.Round(NPC.defDamage * 1.3); - - if (NPC.ai[0] < ChargeGateValue && !targetDead) - { - NPC.ai[0] += 1f; - if (NPC.ai[0] == ChargeGateValue) - NPC.ForceNetUpdate(); - } - } - else - NPC.damage = NPC.defDamage; - - if (targetDead) - { - NPC.velocity.Y -= 0.04f; - - if (NPC.timeLeft > 10) - NPC.timeLeft = 10; - } - else if (!attemptingToCharge) - { - DemonEyeAI.DemonEyeBatMovement(NPC, maxSpeedX, maxSpeedY, xAccel, xAccelBoost1, xAccelBoost2, yAccel, yAccelBoost1, yAccelBoost2); - - NPC.ai[3] += enrageScale; - bool shootProjectile = Collision.CanHitLine(NPC.Center, 1, 1, target.Center, 1, 1) && Vector2.Distance(NPC.Center, target.Center) > 240f; - if (NPC.ai[3] >= projectileShootGateValue && shootProjectile) - { - NPC.ai[3] = 0f; - float projectileSpeed = CalamityWorld.death ? 16f : 12f; - Vector2 projectileVelocity = NPC.SafeDirectionTo(target.Center) * projectileSpeed; - if (Main.netMode != NetmodeID.MultiplayerClient) - { - int projType = ProjectileID.BloodShot; - int projDamage = NPC.GetProjectileDamage(projType); - int proj = Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + projectileVelocity.SafeNormalize(Vector2.UnitY) * 10f, projectileVelocity, projType, projDamage, 0f, Main.myPlayer); - Main.projectile[proj].timeLeft = 600; - } - - NPC.ForceNetUpdate(); - } - - float pushVelocity = 0.2f * enrageScale; - for (int i = 0; i < Main.maxNPCs; i++) - { - if (Main.npc[i].active) - { - if (i != NPC.whoAmI && Main.npc[i].type == NPC.type) - { - if (Vector2.Distance(NPC.Center, Main.npc[i].Center) < 48f * NPC.scale) - { - if (NPC.position.X < Main.npc[i].position.X) - NPC.velocity.X -= pushVelocity; - else - NPC.velocity.X += pushVelocity; - - if (NPC.position.Y < Main.npc[i].position.Y) - NPC.velocity.Y -= pushVelocity; - else - NPC.velocity.Y += pushVelocity; - } - } - } - } - } - else if (!charging) - { - Vector2 destination = target.Center + new Vector2(-280f * NPC.spriteDirection, -280f); - Vector2 desiredVelocity = NPC.SafeDirectionTo(destination, -Vector2.UnitY) * chargeVelocity; - NPC.SimpleFlyMovement(desiredVelocity, enrageScale); - } - - if (Main.rand.NextBool(20)) - { - Vector2 dustSpawnTopLeft = new Vector2(NPC.position.X, NPC.position.Y + NPC.height * 0.25f); - Dust blood = Dust.NewDustDirect(dustSpawnTopLeft, NPC.width, NPC.height / 2, DustID.Blood, NPC.velocity.X, 2f, 0, new Color(128, 0, 0, 255 - NPC.alpha), 1f); - blood.velocity.X *= 0.5f; - blood.velocity.Y *= 0.1f; - } - } - - public override void FindFrame(int frameHeight) - { - NPC.frameCounter += 1D; - if (NPC.life < NPC.lifeMax * 0.5) - { - if (NPC.frame.Y < frameHeight * 3) - NPC.frame.Y = frameHeight * 3; - if (NPC.frameCounter >= 8D) - { - NPC.frameCounter = 0D; - NPC.frame.Y += frameHeight; - if (NPC.frame.Y > frameHeight * 5) - NPC.frame.Y = frameHeight * 3; - } - } - else - { - if (NPC.frameCounter >= 8D) - { - NPC.frameCounter = 0D; - NPC.frame.Y += frameHeight; - if (NPC.frame.Y > frameHeight * 2) - NPC.frame.Y = 0; - } - } - } - - public override bool PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) - { - if (NPC.ai[0] >= ChargeTelegraphGateValue) - { - Texture2D npcTexture = TextureAssets.Npc[Type].Value; - Color originalColor = NPC.GetAlpha(drawColor); - Color newColor = new Color(192, 0, 0, 255 - NPC.alpha); - Vector2 drawPosition = NPC.Center - screenPos + new Vector2(0, NPC.gfxOffY); - Vector2 origin = NPC.frame.Size() / 2; - - SpriteEffects spriteEffects = SpriteEffects.None; - if (NPC.spriteDirection == 1) - spriteEffects = SpriteEffects.FlipHorizontally; - - float telegraphScalar = MathHelper.Clamp((NPC.ai[0] - ChargeTelegraphGateValue) / ChargeTelegraphGateValue, 0f, 1f); - Color telegraphColor = Color.Lerp(originalColor, newColor, telegraphScalar); - - if (CalamityClientConfig.Instance.Afterimages && NPC.ai[1] > 0f) - { - int afterimageAmount = 10; - int afterImageIncrement = 2; - for (int j = 0; j < afterimageAmount; j += afterImageIncrement) - { - Color afterimageColor = telegraphColor; - afterimageColor = Color.Lerp(afterimageColor, originalColor, 0.5f); - afterimageColor = NPC.GetAlpha(afterimageColor); - afterimageColor *= (afterimageAmount - j) / 15f; - Vector2 afterimagePos = NPC.oldPos[j] + new Vector2(NPC.width, NPC.height) / 2f - screenPos; - afterimagePos -= new Vector2(npcTexture.Width, npcTexture.Height / Main.npcFrameCount[Type]) * NPC.scale / 2f; - afterimagePos += origin * NPC.scale + new Vector2(0f, NPC.gfxOffY); - spriteBatch.Draw(npcTexture, afterimagePos, NPC.frame, afterimageColor, NPC.rotation, origin, NPC.scale, spriteEffects, 0f); - } - } - - spriteBatch.Draw(npcTexture, drawPosition, NPC.frame, telegraphColor, NPC.rotation, origin, NPC.scale, spriteEffects, 0f); - - return false; - } - - return true; - } - - public override void HitEffect(NPC.HitInfo hit) - { - if (Main.dedServ) - return; - - if (NPC.life > 0) - { - for (int i = 0; i < hit.Damage / (double)NPC.lifeMax * 100; i++) - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hit.HitDirection, -1f); - - if (NPC.life < NPC.lifeMax * 0.5f && NPC.localAI[0] == 0f) - { - NPC.localAI[0] = 1f; - Gore.NewGore(NPC.GetSource_FromThis(), NPC.Center, NPC.velocity, Mod.Find("BloodlettingServant1").Type); - for (int i = 0; i < 50; i++) - { - int dust = Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, 2f * hit.HitDirection, -2f); - Main.dust[dust].scale = Main.rand.NextFloat(1.6f, 2.4f); - Main.dust[dust].velocity *= Main.rand.NextFloat(1.6f, 2.4f); - Main.dust[dust].color = new Color(128, 0, 0, 255 - NPC.alpha); - } - } - } - else - { - for (int i = 0; i < 100; i++) - { - int dust = Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, 2f * hit.HitDirection, -2f); - Main.dust[dust].scale = Main.rand.NextFloat(1.6f, 2.4f); - Main.dust[dust].velocity *= Main.rand.NextFloat(1.6f, 2.4f); - Main.dust[dust].color = new Color(128, 0, 0, 255 - NPC.alpha); - } - for (int g = 2; g <= 4; g++) - { - Vector2 goreVel = NPC.velocity.RotatedByRandom(MathHelper.Pi); - Gore.NewGore(NPC.GetSource_Death(), NPC.Center, goreVel, Mod.Find("BloodlettingServant" + g).Type); - } - } - } - } -} diff --git a/NPCs/NormalNPCs/BloodlettingServant.png b/NPCs/NormalNPCs/BloodlettingServant.png deleted file mode 100644 index 5bb5258c6c82ceabec754053980c24fab694b54b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1615 zcmV-V2C(^wP)Px*2}wjjRCt{2oX=|=s{5=SRv3-5eX;=K`80klMPL+Ev2D0NlWQ?*m-t4&&-?I4g2oo zoqa!-?Cku=)&B|3R5@a1P-q#lbl!D5k zV^5x>9=Gf8VF13od^z@hIZS*Y0l*haOO4%WL~#@rWj{WD9)Rt8_5je)*Oz+y&qG51 z92g!3VCB*!0LtCnvEzPNUr)Vxm2aB!x-AAoWg)-}_Oo;(@beJ(5@)Pz=AFvVR#M~mmXy90m=>REDEVL>ZBcH~HG|L!QW(A+q84oGGk z(?NPtQ#NE6I$F3NB}_X^V_M?1j?;ox^rbKi0B))Gm+#yG;J)EH#mhKMj3=|?4V@p8 zqMP+0G|nmPu}$U})?~St_oFd(yIvR%@+xFXfYZDn6%X$0LSSp>qo7?p{s@ zK?t>Vw?vDHfdQZZ{&4Q@WxX?>v;J^y?q$}uMS`CBoKrY=_wt{+cPk1$c(CD(%FO4U z!tx?7_p;G%_uW-ku+JpTX7W@n(bbWG;((oKw*z|3t^@b|wf0K7T8AAnaE?g2HWOk>%1 zjw`APPaS<1fVufUfSR(CpML|u;93Vz%c>=t7EjK1jvMG8dMdyE^!pHMuHpQ*zXDKo z!qmE0#-LW#caAF(aoF^oLn%^NvRxft#l`fU%e>UbbK7_-0RRmU~(J&T;W2FpQb5zitBd+{?muj_2lHwom7H-tJ}bJIC{OFWaYc zyjAX{?;N-7Ui!{)!IpdJJI6gu#=Doc$JW4P+IDJN(mioav#&hgaW?- diff --git a/NPCs/VanillaNPCAIOverrides/Bosses/EyeOfCthulhuAI.cs b/NPCs/VanillaNPCAIOverrides/Bosses/EyeOfCthulhuAI.cs index 71ffb3da2d..a7566146c1 100644 --- a/NPCs/VanillaNPCAIOverrides/Bosses/EyeOfCthulhuAI.cs +++ b/NPCs/VanillaNPCAIOverrides/Bosses/EyeOfCthulhuAI.cs @@ -338,16 +338,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses Vector2 servantSpawnCenter = npc.Center + servantSpawnVelocity.SafeNormalize(Vector2.UnitY) * ProjectileOffset; if (Main.netMode != NetmodeID.MultiplayerClient) { - int spawnType = NPCID.ServantofCthulhu; - if (death) - { - int maxBloodServants = 2; - bool spawnBloodServant = NPC.CountNPCS(ModContent.NPCType()) < maxBloodServants; - if (spawnBloodServant) - spawnType = ModContent.NPCType(); - } - - int servantSpawn = NPC.NewNPC(npc.GetSource_FromAI(), (int)servantSpawnCenter.X, (int)servantSpawnCenter.Y, spawnType, 0, 0f, 0f, enrageScale); + int servantSpawn = NPC.NewNPC(npc.GetSource_FromAI(), (int)servantSpawnCenter.X, (int)servantSpawnCenter.Y, NPCID.ServantofCthulhu, 0, 0f, 0f, enrageScale); Main.npc[servantSpawn].velocity.X = servantSpawnVelocity.X; Main.npc[servantSpawn].velocity.Y = servantSpawnVelocity.Y; @@ -759,39 +750,23 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses Vector2 servantSpawnVelocity = (Main.player[npc.target].Center - npc.Center).SafeNormalize(Vector2.UnitY) * servantAndProjectileVelocity; Vector2 servantSpawnCenter = npc.Center + servantSpawnVelocity.SafeNormalize(Vector2.UnitY) * ProjectileOffset; - int spawnType = NPCID.ServantofCthulhu; - bool spawnServant = false; float enrageScaleToPass = enrageScale; - if (death) - { - int maxBloodServants = 2; - bool spawnBloodServant = NPC.CountNPCS(ModContent.NPCType()) < maxBloodServants; - if (spawnBloodServant) - { - spawnType = ModContent.NPCType(); - spawnServant = true; - enrageScaleToPass += 0.5f; - } - else - { - int maxServants = death ? 1 : 2; - spawnServant = (penultimatePhaseDeath || finalPhaseRev) ? false : NPC.CountNPCS(NPCID.ServantofCthulhu) < maxServants; - } - } - else - { - int maxServants = death ? (finalPhaseDeath ? 1 : penultimatePhaseDeath ? 2 : 3) : (finalPhaseRev ? 2 : 4); - spawnServant = NPC.CountNPCS(NPCID.ServantofCthulhu) < maxServants; - } + int maxServants = death ? (finalPhaseDeath ? 1 : penultimatePhaseDeath ? 2 : 3) : (finalPhaseRev ? 2 : 4); + bool spawnServant = NPC.CountNPCS(NPCID.ServantofCthulhu) < maxServants; if (spawnServant) + { SoundEngine.PlaySound(SoundID.NPCDeath13, servantSpawnCenter); + for (int m = 0; m < 10; m++) + Dust.NewDust(servantSpawnCenter, 20, 20, DustID.Blood, servantSpawnVelocity.X * 0.4f, servantSpawnVelocity.Y * 0.4f, 0, default, 1f); + } + if (Main.netMode != NetmodeID.MultiplayerClient) { if (spawnServant) { - int eye = NPC.NewNPC(npc.GetSource_FromAI(), (int)servantSpawnCenter.X, (int)servantSpawnCenter.Y, spawnType, 0, 0f, 0f, enrageScaleToPass); + int eye = NPC.NewNPC(npc.GetSource_FromAI(), (int)servantSpawnCenter.X, (int)servantSpawnCenter.Y, NPCID.ServantofCthulhu, 0, 0f, 0f, enrageScaleToPass); Main.npc[eye].velocity.X = servantSpawnVelocity.X; Main.npc[eye].velocity.Y = servantSpawnVelocity.Y; @@ -821,12 +796,6 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses } } } - - if (spawnServant) - { - for (int m = 0; m < 10; m++) - Dust.NewDust(servantSpawnCenter, 20, 20, DustID.Blood, servantSpawnVelocity.X * 0.4f, servantSpawnVelocity.Y * 0.4f, 0, default, 1f); - } } float requiredDistanceForHorizontalCharge = 160f; diff --git a/Systems/Collections/NPCs/BossHPScalingList.cs b/Systems/Collections/NPCs/BossHPScalingList.cs index 9a7076e3ce..9fd9f5a0a4 100644 --- a/Systems/Collections/NPCs/BossHPScalingList.cs +++ b/Systems/Collections/NPCs/BossHPScalingList.cs @@ -99,7 +99,6 @@ namespace CalamityMod.Systems.Collections NPCType(), NPCType(), NPCType(), - NPCType(), NPCType(), NPCType(), NPCType(), diff --git a/Systems/Collections/NPCs/BossRushHPChangeDict.cs b/Systems/Collections/NPCs/BossRushHPChangeDict.cs index b12ce62bc1..61332ad1c5 100644 --- a/Systems/Collections/NPCs/BossRushHPChangeDict.cs +++ b/Systems/Collections/NPCs/BossRushHPChangeDict.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Systems.Collections { NPCID.EyeofCthulhu, 450000 }, // 30 seconds { NPCID.ServantofCthulhu, 6000 }, - { NPCType(), 12000 }, { NPCID.EaterofWorldsHead, 10000 }, // 30 seconds + immunity timer at start { NPCID.EaterofWorldsBody, 10000 }, diff --git a/Systems/Collections/NPCs/EnemyImmunitiesList.cs b/Systems/Collections/NPCs/EnemyImmunitiesList.cs index 1bc99e3eac..87699925d8 100644 --- a/Systems/Collections/NPCs/EnemyImmunitiesList.cs +++ b/Systems/Collections/NPCs/EnemyImmunitiesList.cs @@ -42,7 +42,6 @@ namespace CalamityMod.Systems.Collections NPCType(), NPCType(), NPCID.EyeofCthulhu, - NPCType(), NPCID.EaterofWorldsHead, NPCID.EaterofWorldsBody, NPCID.EaterofWorldsTail, From ac255745cf9d1fcc43bec89919ecdabef72a0c02 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sun, 22 Jun 2025 18:59:50 -0400 Subject: [PATCH 17/77] Remnants activates Overhaul's "no speed boost" effect due to its own move speed changes --- CalPlayer/CalamityPlayerMiscEffects.cs | 10 +++++++--- ModSupport/ExternalMods.cs | 12 +++++------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index e27fff5009..cbc67fdc7d 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -479,13 +479,17 @@ namespace CalamityMod.CalPlayer IsFirstDashFrame = false; else IsFirstDashFrame = true; - + // THIS MUST BE NEAR THE END OF PostUpdateMiscEffects SO ALL OTHER RUN SPEED IS DONE FIRST. DO NOT PUT ANY RUN SPEED AFTER THIS - + // Multiplies movement speed by 1.5x so that you don't feel like a snail in the early game. // This applies to movement speed boosts as well as base speed to ensure they are actually worth their listed value compared to base speed + // // Disabled while Overhaul is enabled, because Overhaul does very similar things to make movement more snappy - if (ExternalMods.overhaul is null && CalamityServerConfig.Instance.FasterBaseSpeed) + // 22JUN2025: Ozzatron: Disabled while Remnants is enabled, because Remnants has its own move speed reworks. + + bool ignoreSpeedConfig = ExternalMods.overhaul is not null || ExternalMods.remnants is not null; + if (!ignoreSpeedConfig && CalamityServerConfig.Instance.FasterBaseSpeed) Player.moveSpeed *= BalancingConstants.DefaultMoveSpeedBoost; // This is used to increase horizontal velocity based on the player's movement speed stat. diff --git a/ModSupport/ExternalMods.cs b/ModSupport/ExternalMods.cs index 7518e201c1..f69d8d110d 100644 --- a/ModSupport/ExternalMods.cs +++ b/ModSupport/ExternalMods.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Terraria.ID; -using Terraria.ModLoader; +using Terraria.ModLoader; namespace CalamityMod { @@ -31,6 +25,7 @@ namespace CalamityMod internal static Mod magicStorage = null; internal static Mod overhaul = null; internal static Mod redemption = null; + internal static Mod remnants = null; internal static Mod soa = null; internal static Mod subworldLibrary = null; internal static Mod summonersAssociation = null; @@ -67,6 +62,8 @@ namespace CalamityMod ModLoader.TryGetMod("TerrariaOverhaul", out overhaul); redemption = null; ModLoader.TryGetMod("Redemption", out redemption); + remnants = null; + ModLoader.TryGetMod("Remnants", out remnants); soa = null; ModLoader.TryGetMod("SacredTools", out soa); subworldLibrary = null; @@ -97,6 +94,7 @@ namespace CalamityMod magicStorage = null; overhaul = null; redemption = null; + remnants = null; soa = null; subworldLibrary = null; summonersAssociation = null; From 75c1eb2866606df3d878e5b67acdcc4ea3e8fc43 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 23 Jun 2025 00:02:24 -0400 Subject: [PATCH 18/77] Restored Prime limb change that Fab yelled at me for --- NPCs/CalamityGlobalNPC.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 085d1bb5ca..7516c3ad75 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -1909,7 +1909,8 @@ namespace CalamityMod.NPCs } else if (npc.type <= NPCID.PrimeLaser && npc.type >= NPCID.PrimeCannon) { - npc.lifeMax = (int)Math.Round(npc.lifeMax * 0.55); + npc.lifeMax = (int)Math.Round(npc.lifeMax * 0.65); + npc.scale = 1.15f; } else if (npc.type == NPCID.Retinazer || npc.type == NPCID.Spazmatism) { From 90ebd142199b52f8195cf4eeeef5837a0652b423 Mon Sep 17 00:00:00 2001 From: sunny-raindrops Date: Mon, 23 Jun 2025 01:41:59 -0700 Subject: [PATCH 19/77] Ink bomb changes --- CalPlayer/CalamityPlayerHitHurt.cs | 15 ++++++++------- Items/Accessories/InkBomb.cs | 3 +++ .../Mods.CalamityMod.Items.Accessories.hjson | 6 ++++-- NPCs/Abyss/GiantSquid.cs | 3 +++ Projectiles/Rogue/InkBombProjectile.cs | 5 +++-- Projectiles/Rogue/InkCloud.cs | 2 +- 6 files changed, 22 insertions(+), 12 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index fa96a6410f..e546a7da9c 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2703,17 +2703,18 @@ namespace CalamityMod.CalPlayer if (inkBomb && !abyssalMirror && !eclipseMirror) { var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); + SoundEngine.PlaySound(SoundID.Item1, Player.Center); + for (int i = 0; i < 3; i++) + { + int ink = Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.One.RotatedByRandom(MathHelper.TwoPi) * 2f, ModContent.ProjectileType(), 0, 0, Player.whoAmI); + if (ink.WithinBounds(Main.maxProjectiles)) + Main.projectile[ink].DamageType = DamageClass.Generic; + } if (Player.whoAmI == Main.myPlayer && !Player.HasCooldown(Cooldowns.InkBomb.ID)) { Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20)); rogueStealth += 0.5f; - for (int i = 0; i < 3; i++) - { - SoundEngine.PlaySound(SoundID.Item61, Player.Center); - int ink = Projectile.NewProjectile(source, Player.Center.X, Player.Center.Y, Main.rand.NextFloat(-3f, 3f), Main.rand.NextFloat(-0f, -4f), ModContent.ProjectileType(), 0, 0, Player.whoAmI); - if (ink.WithinBounds(Main.maxProjectiles)) - Main.projectile[ink].DamageType = DamageClass.Generic; - } + SoundEngine.PlaySound(SoundID.NPCDeath28 with { Volume = 2f }, Player.Center); } } if (ataxiaBlaze) diff --git a/Items/Accessories/InkBomb.cs b/Items/Accessories/InkBomb.cs index 6ed93531bb..955e945460 100644 --- a/Items/Accessories/InkBomb.cs +++ b/Items/Accessories/InkBomb.cs @@ -21,6 +21,9 @@ namespace CalamityMod.Items.Accessories { CalamityPlayer modPlayer = player.Calamity(); modPlayer.inkBomb = true; + modPlayer.rogueStealthMax += 0.1f; + player.Calamity().stealthGenStandstill += 0.07f; + player.Calamity().stealthGenMoving += 0.07f; } } } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 983fb4c3ce..3ec585a1af 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -999,8 +999,10 @@ InkBomb: { DisplayName: Ink Bomb Tooltip: ''' - Throws several ink bombs when hit that explode into ink - Gain a lot of stealth and confuse enemies when struck + +10 maximum stealth + Stealth generates 7% faster + Throws several ink bombs when hit that explode into ink and confuse enemies + Gain a lot of stealth when struck This effect has a 20 second cooldown before it can occur again ''' } diff --git a/NPCs/Abyss/GiantSquid.cs b/NPCs/Abyss/GiantSquid.cs index 3a5ae03dcf..5446678168 100644 --- a/NPCs/Abyss/GiantSquid.cs +++ b/NPCs/Abyss/GiantSquid.cs @@ -2,6 +2,8 @@ using System.IO; using CalamityMod.BiomeManagers; using CalamityMod.Buffs.DamageOverTime; +using CalamityMod.Cooldowns; +using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Banners; using CalamityMod.World; @@ -258,6 +260,7 @@ namespace CalamityMod.NPCs.Abyss { var postLevi = npcLoot.DefineConditionalDropSet(DropHelper.PostLevi()); npcLoot.Add(ItemDropRule.NormalvsExpert(ItemID.Blindfold, 100, 50)); + npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 10, 5)); postLevi.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 2, 2, 4, 3, 6)); } diff --git a/Projectiles/Rogue/InkBombProjectile.cs b/Projectiles/Rogue/InkBombProjectile.cs index 7f9f6b90cc..cf08a35c92 100644 --- a/Projectiles/Rogue/InkBombProjectile.cs +++ b/Projectiles/Rogue/InkBombProjectile.cs @@ -10,6 +10,7 @@ namespace CalamityMod.Projectiles.Rogue public class InkBombProjectile : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Rogue"; + public static readonly SoundStyle Explode = new("CalamityMod/Sounds/Custom/PlantyMushMine", 3); public override void SetDefaults() { Projectile.width = 14; @@ -49,8 +50,8 @@ namespace CalamityMod.Projectiles.Rogue private void CreateInk() { Player player = Main.player[Projectile.owner]; - SoundEngine.PlaySound(SoundID.Item14, Projectile.position); - for (int i = 0; i < 20; i++) + SoundEngine.PlaySound(SoundID.NPCHit25, Projectile.Center); + for (int i = 0; i < 2; i++) { int damage = (int)player.GetTotalDamage().ApplyTo(22); diff --git a/Projectiles/Rogue/InkCloud.cs b/Projectiles/Rogue/InkCloud.cs index b45ad2b89a..c81881cd6c 100644 --- a/Projectiles/Rogue/InkCloud.cs +++ b/Projectiles/Rogue/InkCloud.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Projectiles.Rogue { if (!target.friendly) { - target.AddBuff(BuffID.Confused, 300); + target.AddBuff(BuffID.Confused, 60); } } public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(BuffID.Confused, 300); From 3715f03d83cae5cee8c3cedbde755270bf7ed179 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 23 Jun 2025 11:44:02 -0400 Subject: [PATCH 20/77] Reverted Heat Ray being given infinite pierce --- Projectiles/CalamityGlobalProjectile.cs | 8 -------- Projectiles/CalamityGlobalProjectileTweaks.cs | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index c697b29956..9a5de3394b 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -4076,14 +4076,6 @@ namespace CalamityMod.Projectiles projectile.damage = 1; } - // Heat Ray damage falloff - if (projectile.type == ProjectileID.HeatRay && projectile.numHits > 0) - { - projectile.damage = (int)(projectile.damage * 0.9f); - if (projectile.damage < 1) - projectile.damage = 1; - } - // Stardust Wings buff the Stardust Guardian's damage if (player.wingsLogic == (int)VanillaWingID.WingsStardust && projectile.type == ProjectileID.StardustGuardian) modifiers.SourceDamage *= 2f; diff --git a/Projectiles/CalamityGlobalProjectileTweaks.cs b/Projectiles/CalamityGlobalProjectileTweaks.cs index 76a983fc1c..67f9855cab 100644 --- a/Projectiles/CalamityGlobalProjectileTweaks.cs +++ b/Projectiles/CalamityGlobalProjectileTweaks.cs @@ -162,7 +162,6 @@ namespace CalamityMod.Projectiles { ProjectileID.GoldenShowerFriendly, Do(PiercingExact(2), DefaultIDStaticIFrames) }, { ProjectileID.GreenCounterweight, counterweightTweaks }, { ProjectileID.Hamdrax, standardDrillTweaks }, // Drax (never internally renamed since 1.1) - { ProjectileID.HeatRay, Do(InfinitePiercing, IDStaticIFrames(6)) }, // Due to the weapon's fast use speed, the lasers need to give less than 10 iframes { ProjectileID.IceBoomerang, Do(ExtraUpdatesExact(1), DefaultIDStaticIFrames) }, { ProjectileID.IceSickle, Do(ExtraUpdatesExact(1)) }, { ProjectileID.IchorBullet, Do(PointBlank, ExtraUpdatesDelta(+2), DefaultIDStaticIFrames) }, @@ -434,6 +433,7 @@ namespace CalamityMod.Projectiles {ProjectileID.Grenade, Do(DefaultIDStaticIFrames)}, {ProjectileID.HallowSpray, Do(DefaultIDStaticIFrames)}, {ProjectileID.HallowStar, Do(DefaultIDStaticIFrames)}, + {ProjectileID.HeatRay, Do(DefaultIDStaticIFrames)}, {ProjectileID.HolyWater, Do(DefaultIDStaticIFrames)}, {ProjectileID.HoneyBomb, Do(DefaultIDStaticIFrames)}, {ProjectileID.HoneyGrenade, Do(DefaultIDStaticIFrames)}, From 0e364afd995aa7998abe321f1d9e2016d32ef4ed Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Mon, 23 Jun 2025 15:07:09 -0400 Subject: [PATCH 21/77] Change donor display name on request --- Systems/Collections/DonatorsNameList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Systems/Collections/DonatorsNameList.cs b/Systems/Collections/DonatorsNameList.cs index 71971a7bf2..9ae253c576 100644 --- a/Systems/Collections/DonatorsNameList.cs +++ b/Systems/Collections/DonatorsNameList.cs @@ -517,7 +517,6 @@ namespace CalamityMod.Systems.Collections "Nanaki", "Natalie", "Nathan", - "Nathaniel", "Navigator", "Ne'er Dowell", "NEBULA", @@ -668,6 +667,7 @@ namespace CalamityMod.Systems.Collections "That Katsafaros", "The Buildmonger", "The Davester", + "The Evolution", // previously "Nathaniel" "The Goliath", "The Illustrious Sqouinchuousor", "The Infinity", From 960858ed0644e0e4cdebf36d3e2855859e56a60a Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Tue, 24 Jun 2025 02:43:15 +0700 Subject: [PATCH 22/77] removed tarragon calming --- CalPlayer/CalamityPlayerMiscEffects.cs | 4 ---- .../en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson | 1 - 2 files changed, 5 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index cbc67fdc7d..378af01e92 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3691,11 +3691,7 @@ namespace CalamityMod.CalPlayer } if (tarraSet) - { - if (!tarraMelee) - Player.calmed = true; Player.lifeMagnet = true; - } if (wDeath && !laudanum && !purity) Player.GetDamage() -= 0.2f; diff --git a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson index 645abad5d7..65006420af 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson @@ -617,7 +617,6 @@ TarragonBreastplate: { ''' CommonSetBonus: ''' - Reduces enemy spawn rates Increased heart pickup range Enemies have a chance to drop extra hearts on death ''' From 2b266cddff8efb6d135d5e8641fe366851c7a359 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Tue, 24 Jun 2025 03:23:09 +0700 Subject: [PATCH 23/77] onyx drill nerf 2 --- Items/Mounts/OnyxExcavator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Items/Mounts/OnyxExcavator.cs b/Items/Mounts/OnyxExcavator.cs index 402c49a00d..41bb443dd8 100644 --- a/Items/Mounts/OnyxExcavator.cs +++ b/Items/Mounts/OnyxExcavator.cs @@ -21,9 +21,9 @@ namespace CalamityMod.Items.Mounts MountData.buff = ModContent.BuffType(); // Horizontal movement - MountData.runSpeed = 5.5f; + MountData.runSpeed = 4.5f; MountData.swimSpeed = 0.5f; - MountData.acceleration = 0.2f; + MountData.acceleration = 0.1f; // Vertical movement MountData.fallDamage = 0f; From 2b7f3de3fa1dcd05d44946b07f717961b3c923f0 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Tue, 24 Jun 2025 03:45:18 +0700 Subject: [PATCH 24/77] ink bomb changes 1.5 --- CalPlayer/CalamityPlayerHitHurt.cs | 28 +++++++++++++++----------- Projectiles/Rogue/InkBombProjectile.cs | 4 ++-- Projectiles/Rogue/InkCloud.cs | 4 ++-- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index e546a7da9c..dc24b3fd02 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2702,19 +2702,23 @@ namespace CalamityMod.CalPlayer } if (inkBomb && !abyssalMirror && !eclipseMirror) { - var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); - SoundEngine.PlaySound(SoundID.Item1, Player.Center); - for (int i = 0; i < 3; i++) + if (Player.whoAmI == Main.myPlayer) { - int ink = Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.One.RotatedByRandom(MathHelper.TwoPi) * 2f, ModContent.ProjectileType(), 0, 0, Player.whoAmI); - if (ink.WithinBounds(Main.maxProjectiles)) - Main.projectile[ink].DamageType = DamageClass.Generic; - } - if (Player.whoAmI == Main.myPlayer && !Player.HasCooldown(Cooldowns.InkBomb.ID)) - { - Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20)); - rogueStealth += 0.5f; - SoundEngine.PlaySound(SoundID.NPCDeath28 with { Volume = 2f }, Player.Center); + if (!Player.HasCooldown(Cooldowns.InkBomb.ID)) + { + Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20)); + rogueStealth += 0.5f; + SoundEngine.PlaySound(SoundID.NPCDeath28 with { Volume = 2f }, Player.Center); + } + + var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); + SoundEngine.PlaySound(SoundID.Item1, Player.Center); + for (int i = 0; i < 3; i++) + { + int ink = Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.One.RotatedByRandom(MathHelper.TwoPi) * 2f, ModContent.ProjectileType(), 0, 0, Player.whoAmI); + if (ink.WithinBounds(Main.maxProjectiles)) + Main.projectile[ink].DamageType = DamageClass.Generic; + } } } if (ataxiaBlaze) diff --git a/Projectiles/Rogue/InkBombProjectile.cs b/Projectiles/Rogue/InkBombProjectile.cs index cf08a35c92..4163e97a2c 100644 --- a/Projectiles/Rogue/InkBombProjectile.cs +++ b/Projectiles/Rogue/InkBombProjectile.cs @@ -51,9 +51,9 @@ namespace CalamityMod.Projectiles.Rogue { Player player = Main.player[Projectile.owner]; SoundEngine.PlaySound(SoundID.NPCHit25, Projectile.Center); - for (int i = 0; i < 2; i++) + for (int i = 0; i < 4; i++) { - int damage = (int)player.GetTotalDamage().ApplyTo(22); + int damage = (int)player.GetTotalDamage().ApplyTo(32); int inkID = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Main.rand.NextVector2Circular(2f, 2f), ModContent.ProjectileType(), damage, 7, Projectile.owner, Main.rand.Next(3) + 1); Main.projectile[inkID].timeLeft += Main.rand.Next(-15, 15 + 1); diff --git a/Projectiles/Rogue/InkCloud.cs b/Projectiles/Rogue/InkCloud.cs index c81881cd6c..7313d4b6e1 100644 --- a/Projectiles/Rogue/InkCloud.cs +++ b/Projectiles/Rogue/InkCloud.cs @@ -20,8 +20,8 @@ namespace CalamityMod.Projectiles.Rogue Projectile.tileCollide = true; Projectile.ignoreWater = true; Projectile.timeLeft = 100; - Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = -1; + Projectile.usesIDStaticNPCImmunity = true; + Projectile.idStaticNPCHitCooldown = 15; Projectile.DamageType = RogueDamageClass.Instance; } From 81f566b641b0332996acf8ab4eadad73e0c01dde Mon Sep 17 00:00:00 2001 From: Xyk Date: Mon, 23 Jun 2025 14:39:10 -0700 Subject: [PATCH 25/77] Small improvements to PFB and Blunder Booster No longer completely halts your velocity at the end of the dash, instead dash vel quickly ramps down at the end you you keep some but not all of the dash velocity Projectiles work slightly different. There's less of them, and they're stronger to compensate --- CalPlayer/CalamityPlayerMiscEffects.cs | 23 +++----- Projectiles/Rogue/BlunderBoosterLightning.cs | 57 +++++++------------- Projectiles/Rogue/PlaguedFuelPackCloud.cs | 31 ++++++++--- 3 files changed, 50 insertions(+), 61 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 378af01e92..e9ac3ef96d 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2738,23 +2738,19 @@ namespace CalamityMod.CalPlayer // Plagued Fuel Pack and Blunder Booster effects if (jetPackDash > 0 && Player.whoAmI == Main.myPlayer) { - int velocityAmt = blunderBooster ? 35 : 25; - int velocityMult = jetPackDash > 1 ? velocityAmt : 5; - Player.velocity = new Vector2(jetPackDirection, -1) * velocityMult; + int velocityMult = (int)((blunderBooster ? 35 : 25) * Utils.GetLerpValue(-4, 5, jetPackDash, true)); + Player.velocity = new Vector2(jetPackDirection, -1f) * velocityMult; if (blunderBooster) { - int lightningCount = Main.rand.Next(5, 7); + int lightningCount = 4; var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); for (int i = 0; i < lightningCount; i++) { - Vector2 lightningVel = new Vector2(Main.rand.NextFloat(-1, 1), Main.rand.NextFloat(-1, 1)); - lightningVel.Normalize(); - lightningVel *= Main.rand.NextFloat(1f, 2f); - int damage = (int)Player.GetTotalDamage().ApplyTo(30); + Vector2 lightningVel = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(7f, 10f); + int damage = (int)Player.GetTotalDamage().ApplyTo(55); int projectile = Projectile.NewProjectile(source, Player.Center, lightningVel, ModContent.ProjectileType(), damage, 0, Player.whoAmI, Main.rand.Next(2), 0f); - Main.projectile[projectile].timeLeft = Main.rand.Next(180, 240); if (projectile.WithinBounds(Main.maxProjectiles)) Main.projectile[projectile].DamageType = DamageClass.Generic; } @@ -2769,17 +2765,14 @@ namespace CalamityMod.CalPlayer } else if (plaguedFuelPack) { - int numClouds = Main.rand.Next(8, 10); + int numClouds = 3; var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); for (int i = 0; i < numClouds; i++) { - Vector2 cloudVelocity = new Vector2(Main.rand.NextFloat(-1, 1), Main.rand.NextFloat(-1, 1)); - cloudVelocity.Normalize(); - cloudVelocity *= Main.rand.NextFloat(0f, 1f); - int damage = (int)Player.GetTotalDamage().ApplyTo(20); + Vector2 cloudVelocity = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(5f, 7f); + int damage = (int)Player.GetTotalDamage().ApplyTo(55); int projectile = Projectile.NewProjectile(source, Player.Center, cloudVelocity, ModContent.ProjectileType(), damage, 0, Player.whoAmI, 0, 0); - Main.projectile[projectile].timeLeft = Main.rand.Next(180, 240); if (projectile.WithinBounds(Main.maxProjectiles)) Main.projectile[projectile].DamageType = DamageClass.Generic; } diff --git a/Projectiles/Rogue/BlunderBoosterLightning.cs b/Projectiles/Rogue/BlunderBoosterLightning.cs index 29bd9d4098..a22183b817 100644 --- a/Projectiles/Rogue/BlunderBoosterLightning.cs +++ b/Projectiles/Rogue/BlunderBoosterLightning.cs @@ -14,6 +14,8 @@ namespace CalamityMod.Projectiles.Rogue public new string LocalizationCategory => "Projectiles.Rogue"; public static int frameWidth = 12; public static int frameHeight = 26; + public int dir = 0; + public float intensity = 0; public override void SetStaticDefaults() { @@ -23,15 +25,17 @@ namespace CalamityMod.Projectiles.Rogue public override void SetDefaults() { - Projectile.width = 10; - Projectile.height = 10; + Projectile.width = 40; + Projectile.height = 40; Projectile.friendly = true; Projectile.tileCollide = false; Projectile.penetrate = 1; - Projectile.timeLeft = 120; + Projectile.extraUpdates = 2; + Projectile.timeLeft = 290; Projectile.DamageType = RogueDamageClass.Instance; Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = 15; + Projectile.localNPCHitCooldown = -1; + Projectile.ArmorPenetration = 15; } public override void AI() @@ -49,43 +53,20 @@ namespace CalamityMod.Projectiles.Rogue Projectile.rotation = Projectile.velocity.ToRotation() + MathHelper.PiOver2; - if (Projectile.timeLeft < 55 && Projectile.ai[1] != 1f) - { - Projectile.tileCollide = true; - } - Projectile.ai[1]++; - if (Projectile.ai[1] >= 15f) - { - float minDist = 999f; - int index = -1; - foreach (NPC npc in Main.ActiveNPCs) - { - if (npc.CanBeChasedBy(Projectile, false)) - { - float dist = (Projectile.Center - npc.Center).Length(); - if (dist < minDist) - { - minDist = dist; - index = npc.whoAmI; - } - } - } - Vector2 velocityNew; - if (minDist < 999f && index != -1) - { - velocityNew = Main.npc[index].Center - Projectile.Center; - velocityNew.Normalize(); - velocityNew *= 2f; - Projectile.velocity += velocityNew; - if (Projectile.velocity.Length() > 10f) - { - Projectile.velocity.Normalize(); - Projectile.velocity *= 10f; - } - } + if (dir == 0) + { + Projectile.timeLeft -= Main.rand.Next(5, 20 + 1); + dir = Main.rand.NextBool() ? -1 : 1; + intensity = Main.rand.NextFloat(0.2f, 1.2f); } + + + if (Projectile.timeLeft < 190) + CalamityUtils.HomeInOnSelectedNPC(Projectile, Projectile.Center.ClosestNPCAt(1500), true, 0.65f * intensity, 8, 0.98f, 0.99f, true); + else + Projectile.velocity = Projectile.velocity.RotatedBy(0.04f * dir * intensity) * Main.rand.NextFloat(0.985f, 1f); } public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) diff --git a/Projectiles/Rogue/PlaguedFuelPackCloud.cs b/Projectiles/Rogue/PlaguedFuelPackCloud.cs index 24e2dfa9d1..5c968220db 100644 --- a/Projectiles/Rogue/PlaguedFuelPackCloud.cs +++ b/Projectiles/Rogue/PlaguedFuelPackCloud.cs @@ -6,32 +6,42 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.Rogue { - [PierceResistException] public class PlaguedFuelPackCloud : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Rogue"; + public int dir = 0; + public float intensity = 0; + public override void SetStaticDefaults() + { + ProjectileID.Sets.CultistIsResistantTo[Type] = true; + } public override void SetDefaults() { Projectile.width = 28; Projectile.height = 24; Projectile.friendly = true; Projectile.alpha = 0; - Projectile.penetrate = -1; - Projectile.tileCollide = true; + Projectile.penetrate = 1; + Projectile.tileCollide = false; Projectile.ignoreWater = true; - Projectile.timeLeft = 120; + Projectile.timeLeft = 390; + Projectile.extraUpdates = 2; Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = 6; + Projectile.localNPCHitCooldown = -1; Projectile.DamageType = RogueDamageClass.Instance; - Projectile.ArmorPenetration = 5; + Projectile.ArmorPenetration = 10; } public override void AI() { if (Projectile.timeLeft < 50) Projectile.alpha += 5; - if (Projectile.timeLeft < 75) - Projectile.velocity *= 0.95f; + if (dir == 0) + { + Projectile.timeLeft -= Main.rand.Next(5, 20 + 1); + dir = Main.rand.NextBool() ? -1 : 1; + intensity = Main.rand.NextFloat(0.2f, 1.2f); + } if (Main.rand.NextBool(150)) { @@ -40,6 +50,11 @@ namespace CalamityMod.Projectiles.Rogue Main.dust[dust].velocity *= 1.2f; Main.dust[dust].velocity.Y -= 0.15f; } + + if (Projectile.timeLeft < 290) + CalamityUtils.HomeInOnSelectedNPC(Projectile, Projectile.Center.ClosestNPCAt(1000), true, 0.65f * intensity, 6, 0.98f, 0.995f, true); + else + Projectile.velocity = Projectile.velocity.RotatedBy(0.006f * dir * intensity) * Main.rand.NextFloat(0.985f, 1f); } public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType(), 240); From 3afb7aa1bf5aad6506facc3128cf8989221cbf8a Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 23 Jun 2025 18:07:06 -0400 Subject: [PATCH 26/77] Nerfed PFP and Blunder Booster proj damage --- CalPlayer/CalamityPlayerMiscEffects.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index e9ac3ef96d..b750521c6a 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2748,7 +2748,7 @@ namespace CalamityMod.CalPlayer for (int i = 0; i < lightningCount; i++) { Vector2 lightningVel = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(7f, 10f); - int damage = (int)Player.GetTotalDamage().ApplyTo(55); + int damage = (int)Player.GetTotalDamage().ApplyTo(35); int projectile = Projectile.NewProjectile(source, Player.Center, lightningVel, ModContent.ProjectileType(), damage, 0, Player.whoAmI, Main.rand.Next(2), 0f); if (projectile.WithinBounds(Main.maxProjectiles)) @@ -2770,7 +2770,7 @@ namespace CalamityMod.CalPlayer for (int i = 0; i < numClouds; i++) { Vector2 cloudVelocity = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(5f, 7f); - int damage = (int)Player.GetTotalDamage().ApplyTo(55); + int damage = (int)Player.GetTotalDamage().ApplyTo(30); int projectile = Projectile.NewProjectile(source, Player.Center, cloudVelocity, ModContent.ProjectileType(), damage, 0, Player.whoAmI, 0, 0); if (projectile.WithinBounds(Main.maxProjectiles)) From 5ec45941f64394092bd81dd95bcf28e69c9bb1e9 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Tue, 24 Jun 2025 00:46:14 -0400 Subject: [PATCH 27/77] Fixed Old Duke not being summonable via fishing pole held on the cursor --- CalPlayer/CalamityPlayerFishing.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CalPlayer/CalamityPlayerFishing.cs b/CalPlayer/CalamityPlayerFishing.cs index c965b451ff..a87dd8a9fb 100644 --- a/CalPlayer/CalamityPlayerFishing.cs +++ b/CalPlayer/CalamityPlayerFishing.cs @@ -370,7 +370,7 @@ namespace CalamityMod.CalPlayer if (ZoneAbyss || ZoneSulphur) canSulphurFish = true; - Item item = Player.ActiveItem(); + Item item = Player.HeldItem; if (!canSulphurFish || item.fishingPole <= 0 || item.holdStyle != 1) fishingLevel = -1; From ace60e34d722b99641be2da7caab12a0eb049635 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Tue, 24 Jun 2025 01:00:24 -0400 Subject: [PATCH 28/77] Fixed GSD tooltip --- .../en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson index 65006420af..70f81d51e7 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson @@ -423,9 +423,9 @@ GodSlayerChestplate: { ''' CommonSetBonus: ''' - Pressing {0} allows you to dash towards your cursor for 2.5 seconds + Pressing {0} allows you to dash towards your cursor for 2 seconds Enemies you dash through take massive damage - During the dash you are immune to most debuffs + During the dash you are immune to damage and most debuffs The dash has a {1} second cooldown ''' } From a39d66f4b21d671f810fd13cd24a767f60912cd5 Mon Sep 17 00:00:00 2001 From: Doze-Zoze Date: Tue, 24 Jun 2025 14:58:45 -0500 Subject: [PATCH 29/77] the fishbowlening --- Buffs/StatBuffs/AquaticHeartBuff.cs | 2 +- CalPlayer/CalamityPlayer.cs | 3 ++- CalPlayer/CalamityPlayerMiscEffects.cs | 2 +- CalPlayer/CalamityPlayerOnHit.cs | 2 +- Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs | 2 +- Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs | 4 ++-- Items/Armor/Reaver/ReaverHeadExplore.cs | 2 +- Items/Armor/Sulphurous/SulphurousHelmet.cs | 2 +- Items/Armor/Sulphurous/SulphurousLeggings.cs | 2 +- Items/Armor/Victide/VictideBreastplate.cs | 2 +- Items/Armor/Victide/VictideGreaves.cs | 2 +- Items/Armor/Victide/VictideHeadMagic.cs | 2 +- Items/Armor/Victide/VictideHeadMelee.cs | 2 +- Items/Armor/Victide/VictideHeadRanged.cs | 2 +- Items/Armor/Victide/VictideHeadRogue.cs | 2 +- Items/Armor/Victide/VictideHeadSummon.cs | 2 +- NPCs/Providence/Providence.cs | 2 +- 17 files changed, 19 insertions(+), 18 deletions(-) diff --git a/Buffs/StatBuffs/AquaticHeartBuff.cs b/Buffs/StatBuffs/AquaticHeartBuff.cs index 344acacd15..d57b5c79f9 100644 --- a/Buffs/StatBuffs/AquaticHeartBuff.cs +++ b/Buffs/StatBuffs/AquaticHeartBuff.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Buffs.StatBuffs { player.breath = player.breathMax + 3; } - if (Main.myPlayer == player.whoAmI && player.wet && NPC.downedBoss3) + if (Main.myPlayer == player.whoAmI && player.Calamity().countsAsAnyWet && NPC.downedBoss3) { player.AddBuff(ModContent.BuffType(), 360); } diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 6608310e63..48a3027f8e 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -175,6 +175,8 @@ namespace CalamityMod.CalPlayer public int momentumCapacitorTime = 0; /// A multiplier on the player's movement speed applied while using Momentum Capacitor. public float momentumCapacitorBoost = 0f; + + public bool countsAsAnyWet => (Player.armor[0].type == ItemID.FishBowl || Player.wetCount > 0 || Player.wet || Player.honeyWet || Player.lavaWet); #endregion #region Speedrun Timer @@ -2001,7 +2003,6 @@ namespace CalamityMod.CalPlayer Player.statLifeMax2 += 45; int percentMaxLifeIncrease = 0; - // Blood Pact and Chalice of the Blood God stack their HP bonuses if you want to equip both if (bloodPact) percentMaxLifeIncrease += 25; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index b750521c6a..ba800637b8 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3159,7 +3159,7 @@ namespace CalamityMod.CalPlayer // Aquatic Emblem bonus if (aquaticEmblem) { - if (Player.IsUnderwater() && Player.wet && !Player.lavaWet && !Player.honeyWet && + if (countsAsAnyWet && !Player.lavaWet && !Player.honeyWet && !Player.mount.Active) { if (aquaticBoost > 0f) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index a343e9487d..eb8b41f072 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -1308,7 +1308,7 @@ namespace CalamityMod.CalPlayer target.AddBuff(BuffType(), 180); if (sulphurSet) target.AddBuff(BuffID.Poisoned, 60); - if (ilSpark && Player.IsUnderwater()) + if (ilSpark && Player.Calamity().countsAsAnyWet) { int duration = 60; target.AddBuff(BuffType(), duration); diff --git a/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs b/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs index 33257e3b8b..d31a61768d 100644 --- a/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs +++ b/Items/Armor/FathomSwarmer/FathomSwarmerBoots.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer public override void UpdateEquip(Player player) { player.GetDamage() += 0.08f; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.moveSpeed += 0.4f; } diff --git a/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs b/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs index 5902d4e52b..8a3ae47280 100644 --- a/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs +++ b/Items/Armor/FathomSwarmer/FathomSwarmerVisage.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer player.spikedBoots = 2; player.maxMinions += 2; player.GetDamage() += 0.1f; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (modPlayer.countsAsAnyWet) { player.GetDamage() += 0.2f; player.statDefense += 10; @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer player.breath = player.breathMax + 3; } modPlayer.fathomSwarmerVisage = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { Lighting.AddLight((int)player.Center.X / 16, (int)player.Center.Y / 16, 0.3f, 0.9f, 1.35f); } diff --git a/Items/Armor/Reaver/ReaverHeadExplore.cs b/Items/Armor/Reaver/ReaverHeadExplore.cs index 116c8e422e..1e99bdc685 100644 --- a/Items/Armor/Reaver/ReaverHeadExplore.cs +++ b/Items/Armor/Reaver/ReaverHeadExplore.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Armor.Reaver modPlayer.wearingRogueArmor = true; player.findTreasure = true; player.aggro -= 200; - if (player.IsUnderwater()) + if (player.Calamity().countsAsAnyWet) player.gills = true; if (player.whoAmI == Main.myPlayer) diff --git a/Items/Armor/Sulphurous/SulphurousHelmet.cs b/Items/Armor/Sulphurous/SulphurousHelmet.cs index 2f3b5b0f9f..5f7dfb45c1 100644 --- a/Items/Armor/Sulphurous/SulphurousHelmet.cs +++ b/Items/Armor/Sulphurous/SulphurousHelmet.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Armor.Sulphurous { player.GetDamage() += 0.04f; player.GetCritChance() += 2; - if (player.IsUnderwater()) + if (player.Calamity().countsAsAnyWet) player.gills = true; } diff --git a/Items/Armor/Sulphurous/SulphurousLeggings.cs b/Items/Armor/Sulphurous/SulphurousLeggings.cs index ada7ef2a1b..ebca7b0c38 100644 --- a/Items/Armor/Sulphurous/SulphurousLeggings.cs +++ b/Items/Armor/Sulphurous/SulphurousLeggings.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor.Sulphurous public override void UpdateEquip(Player player) { - player.moveSpeed += Collision.DrownCollision(player.position, player.width, player.height, player.gravDir) ? 0.35f : 0.1f; + player.moveSpeed += player.Calamity().countsAsAnyWet ? 0.35f : 0.1f; } public override void AddRecipes() diff --git a/Items/Armor/Victide/VictideBreastplate.cs b/Items/Armor/Victide/VictideBreastplate.cs index 43e1c6649b..21d2e2b914 100644 --- a/Items/Armor/Victide/VictideBreastplate.cs +++ b/Items/Armor/Victide/VictideBreastplate.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor.Victide { player.endurance += 0.05f; player.GetCritChance() += 5; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.statDefense += 5; player.endurance += 0.1f; diff --git a/Items/Armor/Victide/VictideGreaves.cs b/Items/Armor/Victide/VictideGreaves.cs index 6e96d6af32..395a2e977b 100644 --- a/Items/Armor/Victide/VictideGreaves.cs +++ b/Items/Armor/Victide/VictideGreaves.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide public override void UpdateEquip(Player player) { - player.moveSpeed += Collision.DrownCollision(player.position, player.width, player.height, player.gravDir) ? 0.3f : 0.08f; + player.moveSpeed += player.Calamity().countsAsAnyWet ? 0.3f : 0.08f; } public override void AddRecipes() diff --git a/Items/Armor/Victide/VictideHeadMagic.cs b/Items/Armor/Victide/VictideHeadMagic.cs index 87d322f52f..cd54798dff 100644 --- a/Items/Armor/Victide/VictideHeadMagic.cs +++ b/Items/Armor/Victide/VictideHeadMagic.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.GetDamage() += 0.1f; player.lifeRegen += 3; diff --git a/Items/Armor/Victide/VictideHeadMelee.cs b/Items/Armor/Victide/VictideHeadMelee.cs index 9c97518add..2ce93d2cfe 100644 --- a/Items/Armor/Victide/VictideHeadMelee.cs +++ b/Items/Armor/Victide/VictideHeadMelee.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.GetDamage() += 0.1f; player.lifeRegen += 3; diff --git a/Items/Armor/Victide/VictideHeadRanged.cs b/Items/Armor/Victide/VictideHeadRanged.cs index 068abd2914..414177b6e0 100644 --- a/Items/Armor/Victide/VictideHeadRanged.cs +++ b/Items/Armor/Victide/VictideHeadRanged.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide var modPlayer = player.Calamity(); modPlayer.victideSet = true; player.ignoreWater = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.GetDamage() += 0.1f; player.lifeRegen += 3; diff --git a/Items/Armor/Victide/VictideHeadRogue.cs b/Items/Armor/Victide/VictideHeadRogue.cs index 1ebfa59ea6..f5a404f1b8 100644 --- a/Items/Armor/Victide/VictideHeadRogue.cs +++ b/Items/Armor/Victide/VictideHeadRogue.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.Victide modPlayer.rogueStealthMax += 0.6f; modPlayer.wearingRogueArmor = true; player.ignoreWater = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.GetDamage() += 0.1f; player.lifeRegen += 3; diff --git a/Items/Armor/Victide/VictideHeadSummon.cs b/Items/Armor/Victide/VictideHeadSummon.cs index 3d2d7683ce..36ed6cc02e 100644 --- a/Items/Armor/Victide/VictideHeadSummon.cs +++ b/Items/Armor/Victide/VictideHeadSummon.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Victide } } player.ignoreWater = true; - if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) + if (player.Calamity().countsAsAnyWet) { player.GetDamage() += 0.1f; player.lifeRegen += 3; diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 617ab71868..90f1bbb7be 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1388,7 +1388,7 @@ namespace CalamityMod.NPCs.Providence if (!Main.dedServ) { Player player2 = Main.LocalPlayer; - bool inLiquid = (player2.wet || player2.honeyWet) && !player2.lavaWet; + bool inLiquid = player.Calamity().countsAsAnyWet && !player2.lavaWet; if (!player2.dead && player2.active && Vector2.Distance(player2.Center, NPC.Center) < 2800f && !inLiquid) { From cee552b803e844ed24f8ea582a70f31b02d223ef Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Tue, 24 Jun 2025 16:41:27 -0400 Subject: [PATCH 30/77] Fixed error in Provi Icarus Folly infliction logic --- NPCs/Providence/Providence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 90f1bbb7be..b86d61febf 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -1388,7 +1388,7 @@ namespace CalamityMod.NPCs.Providence if (!Main.dedServ) { Player player2 = Main.LocalPlayer; - bool inLiquid = player.Calamity().countsAsAnyWet && !player2.lavaWet; + bool inLiquid = player2.Calamity().countsAsAnyWet && !player2.lavaWet; if (!player2.dead && player2.active && Vector2.Distance(player2.Center, NPC.Center) < 2800f && !inLiquid) { From d4e21675200a064ea1be279692753d9153b57ecc Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Wed, 25 Jun 2025 15:27:17 +0700 Subject: [PATCH 31/77] right click priority on firestorm cannon (fixed a bug if you hold left and right click at the same time) --- Items/Weapons/Ranged/FirestormCannon.cs | 2 +- Items/Weapons/Ranged/SpectralstormCannon.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Items/Weapons/Ranged/FirestormCannon.cs b/Items/Weapons/Ranged/FirestormCannon.cs index 8bc279793b..5dd7c75d29 100644 --- a/Items/Weapons/Ranged/FirestormCannon.cs +++ b/Items/Weapons/Ranged/FirestormCannon.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged } } - public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0; + public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0 && !player.Calamity().mouseRight; public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0; // Spawning the holdout cannot consume ammo public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { diff --git a/Items/Weapons/Ranged/SpectralstormCannon.cs b/Items/Weapons/Ranged/SpectralstormCannon.cs index fec1909da9..b52a0d3939 100644 --- a/Items/Weapons/Ranged/SpectralstormCannon.cs +++ b/Items/Weapons/Ranged/SpectralstormCannon.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Weapons.Ranged BuiltUpHeat = 0; } } - public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0; + public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0 && !player.Calamity().mouseRight; public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0; // Spawning the holdout cannot consume ammo public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { From dd8d1914f25eb275dd87561d28cf0fcc554b6693 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:37:35 +0700 Subject: [PATCH 32/77] totally unforgotten lantern sway support --- .../FurnitureAcidwood/AcidwoodLanternTile.cs | 20 +++++++- Tiles/FurnitureAncient/AncientLantern.cs | 20 +++++++- Tiles/FurnitureAshen/AshenChandelier.cs | 2 +- Tiles/FurnitureAshen/AshenLantern.cs | 26 +++++++++-- Tiles/FurnitureExo/ExoLanternTile.cs | 26 +++++++++-- Tiles/FurnitureMonolith/MonolithLantern.cs | 43 +++++++++++------- Tiles/FurnitureProfaned/ProfanedLantern.cs | 26 +++++++++-- .../SacrilegiousLanternTile.cs | 26 +++++++++-- Tiles/FurnitureStatigel/StatigelLantern.cs | 26 +++++++++-- Tiles/FurnitureWulfrum/WulfrumLantern.cs | 42 ++++++++--------- Tiles/FurnitureWulfrum/WulfrumLantern.png | Bin 681 -> 645 bytes .../FurnitureWulfrum/WulfrumLanternFlame.png | Bin 267 -> 240 bytes 12 files changed, 189 insertions(+), 68 deletions(-) diff --git a/Tiles/FurnitureAcidwood/AcidwoodLanternTile.cs b/Tiles/FurnitureAcidwood/AcidwoodLanternTile.cs index 4cad230406..2cc4005b2a 100644 --- a/Tiles/FurnitureAcidwood/AcidwoodLanternTile.cs +++ b/Tiles/FurnitureAcidwood/AcidwoodLanternTile.cs @@ -2,8 +2,10 @@ using CalamityMod.Items.Placeables.FurnitureAcidwood; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; using Terraria.DataStructures; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -11,6 +13,10 @@ namespace CalamityMod.Tiles.FurnitureAcidwood { public class AcidwoodLanternTile : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType()); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -46,9 +52,19 @@ namespace CalamityMod.Tiles.FurnitureAcidwood CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureAcidwood/AcidwoodLanternTileFlame").Value, i, j, 0, -8); + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(64, 128, 102, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; } public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref TileDrawInfo drawData) diff --git a/Tiles/FurnitureAncient/AncientLantern.cs b/Tiles/FurnitureAncient/AncientLantern.cs index 00ac4b6fd0..a570d64da5 100644 --- a/Tiles/FurnitureAncient/AncientLantern.cs +++ b/Tiles/FurnitureAncient/AncientLantern.cs @@ -1,7 +1,9 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; using Terraria.DataStructures; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -9,6 +11,10 @@ namespace CalamityMod.Tiles.FurnitureAncient { public class AncientLantern : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -40,9 +46,19 @@ namespace CalamityMod.Tiles.FurnitureAncient } } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureAncient/AncientLanternFlame").Value, i, j); + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(128, 64, 64, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0f; } public override void HitWire(int i, int j) diff --git a/Tiles/FurnitureAshen/AshenChandelier.cs b/Tiles/FurnitureAshen/AshenChandelier.cs index 65bb0575ff..51b0668275 100644 --- a/Tiles/FurnitureAshen/AshenChandelier.cs +++ b/Tiles/FurnitureAshen/AshenChandelier.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Tiles.FurnitureAshen tileFlameData.flameRangeXMax = 11; tileFlameData.flameRangeYMin = -10; tileFlameData.flameRangeYMax = 11; - tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultX = 0.05f; tileFlameData.flameRangeMultY = 0f; } diff --git a/Tiles/FurnitureAshen/AshenLantern.cs b/Tiles/FurnitureAshen/AshenLantern.cs index ec7f983270..e671750d60 100644 --- a/Tiles/FurnitureAshen/AshenLantern.cs +++ b/Tiles/FurnitureAshen/AshenLantern.cs @@ -1,7 +1,9 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; using Terraria.DataStructures; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -9,6 +11,10 @@ namespace CalamityMod.Tiles.FurnitureAshen { public class AshenLantern : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -40,16 +46,26 @@ namespace CalamityMod.Tiles.FurnitureAshen } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(128, 64, 64, 0); + tileFlameData.flameCount = 2; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0f; + tileFlameData.flameRangeMultY = 0f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureAshen/AshenLanternFlame").Value, i, j); - } - public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref TileDrawInfo drawData) { Tile tile = Main.tile[i, j]; diff --git a/Tiles/FurnitureExo/ExoLanternTile.cs b/Tiles/FurnitureExo/ExoLanternTile.cs index 30c1883ff0..8946144fcf 100644 --- a/Tiles/FurnitureExo/ExoLanternTile.cs +++ b/Tiles/FurnitureExo/ExoLanternTile.cs @@ -1,7 +1,9 @@ using CalamityMod.Items.Placeables.FurnitureExo; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -9,6 +11,10 @@ namespace CalamityMod.Tiles.FurnitureExo { public class ExoLanternTile : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -41,14 +47,24 @@ namespace CalamityMod.Tiles.FurnitureExo } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(102, 115, 128, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureExo/ExoLanternTileFlame").Value, i, j); - } } } diff --git a/Tiles/FurnitureMonolith/MonolithLantern.cs b/Tiles/FurnitureMonolith/MonolithLantern.cs index c5a2cc2c2e..ab9b0e5a45 100644 --- a/Tiles/FurnitureMonolith/MonolithLantern.cs +++ b/Tiles/FurnitureMonolith/MonolithLantern.cs @@ -1,13 +1,24 @@ using CalamityMod.Dusts; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; +using Terraria.GameContent.Drawing; using Terraria.ModLoader; namespace CalamityMod.Tiles.FurnitureMonolith { public class MonolithLantern : ModTile { + public Asset FlameTexture; + public Asset GlowTexture; + + public override void Load() + { + FlameTexture = ModContent.Request(Texture + "Flame"); + GlowTexture = ModContent.Request(Texture + "Glow"); + } + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -22,22 +33,7 @@ namespace CalamityMod.Tiles.FurnitureMonolith num = fail ? 1 : 3; } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - if (Main.tile[i, j].IsTileActuallyInvisible()) - return; - - int xPos = Main.tile[i, j].TileFrameX; - int yPos = Main.tile[i, j].TileFrameY; - Texture2D glowmask = ModContent.Request("CalamityMod/Tiles/FurnitureMonolith/MonolithLanternGlow").Value; - Color drawColour = CalamityUtils.ApplyPaint(Main.tile[i, j].TileColor, new Color(100, 100, 100, 100)); - Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange); - Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero; - Main.spriteBatch.Draw(glowmask, drawOffset, new Rectangle?(new Rectangle(xPos, yPos, 18, 18)), drawColour, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f); - - Texture2D glowmaskBright = ModContent.Request("CalamityMod/Tiles/FurnitureMonolith/MonolithLanternFlame").Value; - Main.spriteBatch.Draw(glowmaskBright, drawOffset, new Rectangle?(new Rectangle(xPos, yPos, 18, 18)), Color.White, 0.0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f); - } + public override void AdjustMultiTileVineParameters(int i, int j, ref float? overrideWindCycle, ref float windPushPowerX, ref float windPushPowerY, ref bool dontRotateTopTiles, ref float totalWindMultiplier, ref Texture2D glowTexture, ref Color glowColor) => glowTexture = GlowTexture.Value; public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) { @@ -55,6 +51,21 @@ namespace CalamityMod.Tiles.FurnitureMonolith } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(102, 115, 128, 0); + tileFlameData.flameCount = 1; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0f; + tileFlameData.flameRangeMultY = 0f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); diff --git a/Tiles/FurnitureProfaned/ProfanedLantern.cs b/Tiles/FurnitureProfaned/ProfanedLantern.cs index 7435eaccba..5d142f4db2 100644 --- a/Tiles/FurnitureProfaned/ProfanedLantern.cs +++ b/Tiles/FurnitureProfaned/ProfanedLantern.cs @@ -1,8 +1,10 @@ using CalamityMod.Dusts.Furniture; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; using Terraria.DataStructures; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -10,6 +12,10 @@ namespace CalamityMod.Tiles.FurnitureProfaned { public class ProfanedLantern : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -41,16 +47,26 @@ namespace CalamityMod.Tiles.FurnitureProfaned } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(128, 108, 90, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureProfaned/ProfanedLanternFlame").Value, i, j); - } - public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref TileDrawInfo drawData) { if (Main.tile[i, j].TileFrameX < 18) diff --git a/Tiles/FurnitureSacrilegious/SacrilegiousLanternTile.cs b/Tiles/FurnitureSacrilegious/SacrilegiousLanternTile.cs index 3b46b8500e..456a13d127 100644 --- a/Tiles/FurnitureSacrilegious/SacrilegiousLanternTile.cs +++ b/Tiles/FurnitureSacrilegious/SacrilegiousLanternTile.cs @@ -1,7 +1,9 @@ using CalamityMod.Items.Placeables.FurnitureSacrilegious; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -9,6 +11,10 @@ namespace CalamityMod.Tiles.FurnitureSacrilegious { public class SacrilegiousLanternTile : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType(), true); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -40,14 +46,24 @@ namespace CalamityMod.Tiles.FurnitureSacrilegious } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(128, 26, 26, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureSacrilegious/SacrilegiousLanternTileFlame").Value, i, j); - } } } diff --git a/Tiles/FurnitureStatigel/StatigelLantern.cs b/Tiles/FurnitureStatigel/StatigelLantern.cs index 5d09bb13e9..b31e99ef26 100644 --- a/Tiles/FurnitureStatigel/StatigelLantern.cs +++ b/Tiles/FurnitureStatigel/StatigelLantern.cs @@ -1,6 +1,8 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; +using Terraria.GameContent.Drawing; using Terraria.ID; using Terraria.ModLoader; @@ -8,6 +10,10 @@ namespace CalamityMod.Tiles.FurnitureStatigel { public class StatigelLantern : ModTile { + public Asset FlameTexture; + + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType()); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); @@ -38,14 +44,24 @@ namespace CalamityMod.Tiles.FurnitureStatigel } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(102, 115, 128, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 2); } - - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureStatigel/StatigelLanternFlame").Value, i, j); - } } } diff --git a/Tiles/FurnitureWulfrum/WulfrumLantern.cs b/Tiles/FurnitureWulfrum/WulfrumLantern.cs index 01b9749e60..6ba870244e 100644 --- a/Tiles/FurnitureWulfrum/WulfrumLantern.cs +++ b/Tiles/FurnitureWulfrum/WulfrumLantern.cs @@ -1,32 +1,20 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; -using Terraria.DataStructures; +using Terraria.GameContent.Drawing; using Terraria.ID; -using Terraria.Localization; using Terraria.ModLoader; -using Terraria.ObjectData; namespace CalamityMod.Tiles.FurnitureWulfrum { public class WulfrumLantern : ModTile { - public override void SetStaticDefaults() - { - Main.tileLighted[Type] = true; - Main.tileFrameImportant[Type] = true; - TileObjectData.newTile.CopyFrom(TileObjectData.Style1x2Top); - TileObjectData.newTile.Height = 3; - TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16, 16 }; - TileObjectData.newTile.StyleLineSkip = 2; - TileObjectData.addTile(Type); - AddToArray(ref TileID.Sets.RoomNeeds.CountsAsTorch); - AddMapEntry(new Color(251, 235, 127), Language.GetText("MapObject.Lantern")); + public Asset FlameTexture; - TileID.Sets.DisableSmartCursor[Type] = true; - AdjTiles = new int[] { TileID.HangingLanterns }; - } + public override void Load() => FlameTexture = ModContent.Request(Texture + "Flame"); + public override void SetStaticDefaults() => this.SetUpLantern(ModContent.ItemType()); public override bool PreDraw(int i, int j, SpriteBatch spriteBatch) => CalamityUtils.DrawSwayingMultiTile(i, j); public override bool CanExplode(int i, int j) => false; @@ -58,14 +46,24 @@ namespace CalamityMod.Tiles.FurnitureWulfrum } } + public override void GetTileFlameData(int i, int j, ref TileDrawing.TileFlameData tileFlameData) + { + ulong flameSeed = Main.TileFrameSeed ^ (ulong)(((long)i << 32) | (uint)j); + tileFlameData.flameSeed = flameSeed; + tileFlameData.flameTexture = FlameTexture.Value; + tileFlameData.flameColor = new Color(102, 115, 128, 0); + tileFlameData.flameCount = 3; + tileFlameData.flameRangeXMin = -10; + tileFlameData.flameRangeXMax = 11; + tileFlameData.flameRangeYMin = -10; + tileFlameData.flameRangeYMax = 11; + tileFlameData.flameRangeMultX = 0.1f; + tileFlameData.flameRangeMultY = 0.1f; + } + public override void HitWire(int i, int j) { CalamityUtils.LightHitWire(Type, i, j, 1, 3); } - - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) - { - CalamityUtils.DrawFlameEffect(ModContent.Request("CalamityMod/Tiles/FurnitureWulfrum/WulfrumLanternFlame").Value, i, j); - } } } diff --git a/Tiles/FurnitureWulfrum/WulfrumLantern.png b/Tiles/FurnitureWulfrum/WulfrumLantern.png index 4eda4d59848488323cdb35189ec3a09d4be71c74..66521d13f850006b865f90b3245299aff07aa54d 100644 GIT binary patch delta 633 zcmV-<0*3vm1%(BW7k?xO1^@s6>>lXf0006@NklVI>PYR6h~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l!3`akMq#7SwY)-#T9r!$UZ9C7NtOh%N=$QKV0sMt{!1!SWD0000bP0l+eTg E0C`;w(EtDd delta 77 zcmeys*v&LSoX?1Zje&u|aw2CWkh(Zgb(2ZYwS6s@PG?9-`YJEZYzg4#StjVDXcE;2 dqBB_-9#=aVn@4j@1}bOpboFyt=akUI005=q7v}%~ From f3802bf8ed2cf3b6315b72cb21335d1ccab1ca74 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Wed, 25 Jun 2025 17:00:31 +0700 Subject: [PATCH 33/77] slight lunic shot sound edits --- Sounds/Item/LunicShot1.ogg | Bin 22814 -> 28033 bytes Sounds/Item/LunicShot2.ogg | Bin 21172 -> 20369 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Sounds/Item/LunicShot1.ogg b/Sounds/Item/LunicShot1.ogg index c7166fea8833ae20bfb0f4d91ea648a13ce9d4ed..ecd913e6593d814f4c3e71bb342a162c798a93fa 100644 GIT binary patch literal 28033 zcmce-dt6gjx-h(UZYCkXP6!wx;!X&V#E9Y60<|>>A#yhf2@MoI;id?!0|*u!>$eR7 z0)hfYZWS8>kr1&1R9mI?yg&dE(1HTBPTLVJ6|pm=_A)xB=lE`H=W@>X`@Qe?*SFnl z*IHSZy`J^lpJ(sfyEg^kz;D;SL%$Y^-40DczRO7)Sr2qE`R>tFCPBanZmFRx_yOtK|720B5&@?N_{au5{HC{L&V~j#bF3v zotsmdy>I_sBxe7?eZ{}q|5on)62aOk5b@VJHp`+@Awb4jf)kN3bf#Vl01SYhCvZEp zCr)59ckmCjm}A#UW8&%-bM+W2yEb_I?++v_#}fboK>3sto!`Xe-;CVL3OrG4iQJbQ z(T%LDQQeEAjQkXkz5m?Ba|Qcv3jE2gX+&)QKoZNTV5-+1Std>;3wu=g6i;xv&lFRI zc8h@;GJ%vQhCJ#zl^pfR-gzQwg@18I=CbADt@y;?`PA(9KOyZpa^Pm@{p{d7X)P6RTz)6*a>W~WDt7&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14:38:45 -0400 Subject: [PATCH 34/77] 1 - Fixed the Crystal Bullet shard nerf unintentionally hitting all use cases of the crystal shard projectile 2 - Balanced other use cases of crystal shard to compensate for the sudden damage boost --- Balancing/BalancingChangesManager.cs | 4 ---- CalPlayer/CalamityPlayerHitHurt.cs | 2 +- Items/Weapons/Magic/WintersFury.cs | 12 +++++------- Items/Weapons/Rogue/Crystalline.cs | 2 +- Projectiles/CalamityGlobalProjectile.cs | 8 +++++++- Projectiles/Magic/Snowball.cs | 1 - 6 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 0b603d9b1e..6041038b9a 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -66,10 +66,6 @@ namespace CalamityMod.Balancing UniversalBalancingChanges = new List() { - // Nerf Crystal bullet shards by 45% - // Currently crystal bullet projectiles deal 50% of the bullet's damage which is absurd in vanilla, this nerfs them to 27.5% - Do(new ProjectileResistBalancingRule(0.55f, ProjectileID.CrystalShard)), - // Nerf Luminite Arrow trails by 50%. Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.MoonlordArrowTrail)), diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index dc24b3fd02..f774a50a24 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2747,7 +2747,7 @@ namespace CalamityMod.CalPlayer if (Player.whoAmI == Main.myPlayer) { - for (int i = 0; i < 16; i++) + for (int i = 0; i < 10; i++) { Vector2 circleVel = (MathHelper.TwoPi * i / 16f).ToRotationVector2() * Main.rand.NextFloat(5f, 8f); int shard = Projectile.NewProjectile(source, Player.Center, circleVel, ProjectileID.CrystalShard, sDamage, 1f, Player.whoAmI); diff --git a/Items/Weapons/Magic/WintersFury.cs b/Items/Weapons/Magic/WintersFury.cs index 73d7bf6a5e..6e35c1d79c 100644 --- a/Items/Weapons/Magic/WintersFury.cs +++ b/Items/Weapons/Magic/WintersFury.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Magic { Item.width = 36; Item.height = 40; - Item.damage = 70; + Item.damage = 65; Item.DamageType = DamageClass.Magic; Item.mana = 7; Item.useTime = 12; @@ -32,16 +32,14 @@ namespace CalamityMod.Items.Weapons.Magic Item.UseSound = SoundID.Item9; Item.autoReuse = true; Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 15f; + Item.shootSpeed = 16f; } public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { if (!Main.rand.NextBool(4)) { - Vector2 speed = velocity.RotatedBy(MathHelper.ToRadians(Main.rand.Next(-15, 16))); - speed.Normalize(); - speed *= 15f; + Vector2 speed = velocity.RotatedByRandom(MathHelper.Pi / 12f); speed.Y -= Math.Abs(speed.X) * 0.2f; int p = Projectile.NewProjectile(source, position, speed, ModContent.ProjectileType(), damage, knockback, player.whoAmI); if (p.WithinBounds(Main.maxProjectiles)) @@ -52,8 +50,8 @@ namespace CalamityMod.Items.Weapons.Magic SoundEngine.PlaySound(SoundID.Item1, position); Projectile.NewProjectile(source, position.X, position.Y, velocity.X * 1.2f, velocity.Y * 1.2f, ModContent.ProjectileType(), damage, knockback * 2f, player.whoAmI); } - velocity.X += Main.rand.Next(-40, 41) * 0.05f; - velocity.Y += Main.rand.Next(-40, 41) * 0.05f; + velocity.X += Main.rand.NextFloat(-2f, 2f); + velocity.Y += Main.rand.NextFloat(-2f, 2f); return true; } } diff --git a/Items/Weapons/Rogue/Crystalline.cs b/Items/Weapons/Rogue/Crystalline.cs index 74260456a7..83add7844f 100644 --- a/Items/Weapons/Rogue/Crystalline.cs +++ b/Items/Weapons/Rogue/Crystalline.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Rogue // Terraria seems to really dislike high crit values in SetDefaults public override void ModifyWeaponCrit(Player player, ref float crit) => crit += 4; - public override float StealthDamageMultiplier => 3f; + public override float StealthDamageMultiplier => 1.7f; public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 9a5de3394b..3999710dbb 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -294,7 +294,6 @@ namespace CalamityMod.Projectiles public int BloodstoneOrbValue = 0; #region On Spawn - public override void OnSpawn(Projectile projectile, IEntitySource source) { // TODO -- it would be nice to move frame one hacks here, but this runs in the middle of NewProjectile @@ -311,6 +310,13 @@ namespace CalamityMod.Projectiles if (!npc.friendly) ParentNPCIndex = npc.whoAmI; } + else if (source is EntitySource_Parent { Entity: Projectile parent }) + { + // Nerf Crystal bullet shard damage by 45% + // Vanilla crystal shards deal 50% of the bullet's damage which is absurd, this nerfs them to 27.5% + if (parent.type == ProjectileID.CrystalBullet && projectile.type == ProjectileID.CrystalShard) + projectile.damage = (int)(projectile.damage * 0.55f); + } // Whenever the player has Daawnlight Spirit Origin, any ranged projectile will have the capacity to infintely supercrit. if (Main.player[projectile.owner].Calamity().spiritOrigin && projectile.CountsAsClass()) diff --git a/Projectiles/Magic/Snowball.cs b/Projectiles/Magic/Snowball.cs index 451b62000a..e62ac2ff5b 100644 --- a/Projectiles/Magic/Snowball.cs +++ b/Projectiles/Magic/Snowball.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Projectiles.Magic Projectile.DamageType = DamageClass.Magic; Projectile.coldDamage = true; Projectile.penetrate = 1; - Projectile.extraUpdates = 1; Projectile.coldDamage = true; } From b73ae75d84c485d7aea8e429f1398593429f3713 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 25 Jun 2025 15:13:38 -0400 Subject: [PATCH 35/77] 1 - Fixed Orichalcum petal nerf unintentionally applying universally 2 - Fixed Spectre armor soul nerf unintentionally applying universally, and nerfed Fantasy Talisman to compensate --- Balancing/BalancingChangesManager.cs | 13 ------------- Projectiles/CalamityGlobalProjectile.cs | 10 ++++++++++ Projectiles/Rogue/FantasyTalismanProj.cs | 2 +- Projectiles/Rogue/FantasyTalismanStealth.cs | 2 +- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 6041038b9a..306b6bc734 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -52,12 +52,6 @@ namespace CalamityMod.Balancing bool MushroomSpearFilter(Projectile p) => p.type == ProjectileID.Mushroom && Main.player[p.owner].ActiveItem().type == ItemID.MushroomSpear; - bool OrichalcumPetalFilter(Projectile p) => - p.type == ProjectileID.FlowerPetal && Main.player[p.owner].onHitPetal; - - bool SpectreMaskSetBonusFilter(Projectile p) => - p.type == ProjectileID.SpectreWrath && Main.player[p.owner].ghostHurt; - bool AotCThrowCombo(Projectile p) => p.type == ProjectileType() && (p.ai[0] == 2 || p.ai[0] == 3); @@ -77,13 +71,6 @@ namespace CalamityMod.Balancing // Nerf Mushroom Spear projectiles by 50%. Do(new ProjectileSpecificRequirementBalancingRule(0.5f, MushroomSpearFilter)), - - // Nerf Orichalcum armor set bonus petals by 25%. - Do(new ProjectileSpecificRequirementBalancingRule(0.75f, OrichalcumPetalFilter)), - - // Nerf Spectre Mask set bonus projectiles by 50%. - Do(new ProjectileSpecificRequirementBalancingRule(0.5f, SpectreMaskSetBonusFilter)), - }; NPCSpecificBalancingChanges = new List(); diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 3999710dbb..63a37f1777 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -318,6 +318,16 @@ namespace CalamityMod.Projectiles projectile.damage = (int)(projectile.damage * 0.55f); } + if (source is EntitySource_OnHit e) + { + // Nerf Orichalcum armor's set bonus petal damage by 25% (5 is the projectile source ID for Orichalcum armor set bonus) + if (e.Context == "5") + projectile.damage = (int)(projectile.damage * 0.75f); + // Nerf Spectre armor's set bonus soul damage by 50% (16 is the projectile source ID for Spectre Mask set bonus) + if (e.Context == "16") + projectile.damage /= 2; + } + // Whenever the player has Daawnlight Spirit Origin, any ranged projectile will have the capacity to infintely supercrit. if (Main.player[projectile.owner].Calamity().spiritOrigin && projectile.CountsAsClass()) { diff --git a/Projectiles/Rogue/FantasyTalismanProj.cs b/Projectiles/Rogue/FantasyTalismanProj.cs index 378c484662..d22137a683 100644 --- a/Projectiles/Rogue/FantasyTalismanProj.cs +++ b/Projectiles/Rogue/FantasyTalismanProj.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.Rogue { if (Main.rand.NextBool(8)) { - Projectile ghost = CalamityUtils.SpawnOrb(Projectile, (int)(Projectile.damage * 0.4f), ProjectileID.SpectreWrath, 1000f, 4f); + Projectile ghost = CalamityUtils.SpawnOrb(Projectile, (int)(Projectile.damage * 0.2f), ProjectileID.SpectreWrath, 1000f, 4f); if (ghost.whoAmI.WithinBounds(Main.maxProjectiles)) { ghost.DamageType = RogueDamageClass.Instance; diff --git a/Projectiles/Rogue/FantasyTalismanStealth.cs b/Projectiles/Rogue/FantasyTalismanStealth.cs index 9be29c003d..b724b0b5d8 100644 --- a/Projectiles/Rogue/FantasyTalismanStealth.cs +++ b/Projectiles/Rogue/FantasyTalismanStealth.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Rogue Projectile.StickyProjAI(4); if (Projectile.ai[0] == 1f) { - if (Projectile.timeLeft % 4 == 0) + if (Projectile.timeLeft % 8 == 0) { if (Main.rand.NextBool(3)) { From 530268d5b33483b8eef0966e9777ac669d273c6a Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 25 Jun 2025 15:18:03 -0400 Subject: [PATCH 36/77] Actually no revert Fantasy Talisman nerf because this wouldn't affect it --- Projectiles/Rogue/FantasyTalismanProj.cs | 2 +- Projectiles/Rogue/FantasyTalismanStealth.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Projectiles/Rogue/FantasyTalismanProj.cs b/Projectiles/Rogue/FantasyTalismanProj.cs index d22137a683..378c484662 100644 --- a/Projectiles/Rogue/FantasyTalismanProj.cs +++ b/Projectiles/Rogue/FantasyTalismanProj.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.Rogue { if (Main.rand.NextBool(8)) { - Projectile ghost = CalamityUtils.SpawnOrb(Projectile, (int)(Projectile.damage * 0.2f), ProjectileID.SpectreWrath, 1000f, 4f); + Projectile ghost = CalamityUtils.SpawnOrb(Projectile, (int)(Projectile.damage * 0.4f), ProjectileID.SpectreWrath, 1000f, 4f); if (ghost.whoAmI.WithinBounds(Main.maxProjectiles)) { ghost.DamageType = RogueDamageClass.Instance; diff --git a/Projectiles/Rogue/FantasyTalismanStealth.cs b/Projectiles/Rogue/FantasyTalismanStealth.cs index b724b0b5d8..9be29c003d 100644 --- a/Projectiles/Rogue/FantasyTalismanStealth.cs +++ b/Projectiles/Rogue/FantasyTalismanStealth.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Projectiles.Rogue Projectile.StickyProjAI(4); if (Projectile.ai[0] == 1f) { - if (Projectile.timeLeft % 8 == 0) + if (Projectile.timeLeft % 4 == 0) { if (Main.rand.NextBool(3)) { From 2c6d2fe8a2191367b5a4047b859aea638ee9ae87 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 25 Jun 2025 15:43:45 -0400 Subject: [PATCH 37/77] Moved over the remaining universal balance changes None of these projectiles were reused in a damaging fashion by Calamity so it has no effect on our end --- Balancing/BalancingChangesManager.cs | 35 +------------------------ Projectiles/CalamityGlobalProjectile.cs | 31 +++++++++++++++++----- 2 files changed, 26 insertions(+), 40 deletions(-) diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 306b6bc734..1ae655aa92 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -27,7 +27,6 @@ namespace CalamityMod.Balancing { public sealed class BalancingChangesManager : ModSystem { - internal static List UniversalBalancingChanges = null; internal static List NPCSpecificBalancingChanges = null; // Balancing changes in this method are sorted based on place in progression, NPC name (from A-Z), and strength of resistance in ascending order, in that level of priority. @@ -46,33 +45,12 @@ namespace CalamityMod.Balancing bool DragonRageFilter(Projectile p) => p.type == ProjectileType() || p.type == ProjectileType() || (p.type == ProjectileType() && p.CountsAsClass()); - // bool MonkStaffT3Filter(Projectile p) => - // p.type == ProjectileID.MonkStaffT3_AltShot || (p.type == ProjectileID.Electrosphere && Main.player[p.owner].ActiveItem().type == ItemID.MonkStaffT3); - - bool MushroomSpearFilter(Projectile p) => - p.type == ProjectileID.Mushroom && Main.player[p.owner].ActiveItem().type == ItemID.MushroomSpear; - bool AotCThrowCombo(Projectile p) => p.type == ProjectileType() && (p.ai[0] == 2 || p.ai[0] == 3); bool HiveBeeFilter(Projectile p) => p.type == ProjectileType() && Main.player[p.owner].ActiveItem().type == ItemType(); - UniversalBalancingChanges = new List() - { - // Nerf Luminite Arrow trails by 50%. - Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.MoonlordArrowTrail)), - - // Nerf Seedler seeds by 25%. - Do(new ProjectileResistBalancingRule(0.75f, ProjectileID.SeedlerNut, ProjectileID.SeedlerThorn)), - - // Nerf Cursed Dart flames by 50%. - Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.CursedDartFlame)), - - // Nerf Mushroom Spear projectiles by 50%. - Do(new ProjectileSpecificRequirementBalancingRule(0.5f, MushroomSpearFilter)), - }; - NPCSpecificBalancingChanges = new List(); #region Crabulon @@ -494,23 +472,12 @@ namespace CalamityMod.Balancing public override void Unload() { - UniversalBalancingChanges = null; NPCSpecificBalancingChanges = null; } public static void ApplyFromProjectile(NPC npc, ref NPC.HitModifiers modifiers, Projectile proj) { - // Apply universal balancing rules. - foreach (IBalancingRule[] balancingRules in UniversalBalancingChanges) - { - foreach (IBalancingRule balancingRule in balancingRules) - { - if (balancingRule.AppliesTo(npc, modifiers, proj)) - balancingRule.ApplyBalancingChange(npc, ref modifiers); - } - } - - // As well as rules specific to NPCs. + // Apply NPC-specific balancing rules. foreach (NPCBalancingChange balanceChange in NPCSpecificBalancingChanges) { if (npc.type != balanceChange.NPCType) diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 63a37f1777..333dab3ca4 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -305,17 +305,39 @@ namespace CalamityMod.Projectiles if (sourceItem != null) extorterBoost = true; + // Whenever the player has Daawnlight Spirit Origin, any ranged projectile will have the capacity to infintely supercrit. + if (Main.player[projectile.owner].Calamity().spiritOrigin && projectile.CountsAsClass()) + { + projectile.CritChance += Main.player[projectile.owner].Calamity().spiritOriginCritBoost; + projectile.Calamity().supercritHits = -1; + } + if (source is EntitySource_Parent { Entity: NPC npc }) { if (!npc.friendly) ParentNPCIndex = npc.whoAmI; } + // + // SPECIFIC PROJECTILE BALANCE CHANGES + // else if (source is EntitySource_Parent { Entity: Projectile parent }) { // Nerf Crystal bullet shard damage by 45% // Vanilla crystal shards deal 50% of the bullet's damage which is absurd, this nerfs them to 27.5% if (parent.type == ProjectileID.CrystalBullet && projectile.type == ProjectileID.CrystalShard) projectile.damage = (int)(projectile.damage * 0.55f); + + // Nerf Mushroom Spear mushroom damage by 50% + if (parent.type == ProjectileID.MushroomSpear && projectile.type == ProjectileID.Mushroom) + projectile.damage /= 2; + + // Nerf Luminite Arrow trail damage by 50% + if (parent.type == ProjectileID.MoonlordArrow && projectile.type == ProjectileID.MoonlordArrowTrail) + projectile.damage /= 2; + + // Nerf Cursed Dart flame damage by 50% + if (parent.type == ProjectileID.CursedDart && projectile.type == ProjectileID.CursedDartFlame) + projectile.damage /= 2; } if (source is EntitySource_OnHit e) @@ -328,12 +350,9 @@ namespace CalamityMod.Projectiles projectile.damage /= 2; } - // Whenever the player has Daawnlight Spirit Origin, any ranged projectile will have the capacity to infintely supercrit. - if (Main.player[projectile.owner].Calamity().spiritOrigin && projectile.CountsAsClass()) - { - projectile.CritChance += Main.player[projectile.owner].Calamity().spiritOriginCritBoost; - projectile.Calamity().supercritHits = -1; - } + // Nerfed Seedler projectile damage by 25% + if (source is EntitySource_ItemUse_WithAmmo ea && ea.Item.type == ItemID.Seedler) + projectile.damage = (int)(projectile.damage * 0.75f); } public override void SendExtraAI(Projectile projectile, BitWriter bitWriter, BinaryWriter binaryWriter) => binaryWriter.Write(ParentNPCIndex); public override void ReceiveExtraAI(Projectile projectile, BitReader bitReader, BinaryReader binaryReader) => ParentNPCIndex = binaryReader.ReadInt32(); From 089c301bc5879e3f3498578de773d374cf5cd2d9 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:00:37 -0400 Subject: [PATCH 38/77] Scuttler's Jewel spikes spawn 2 shards instead of 3 --- Projectiles/Typeless/JewelSpike.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Typeless/JewelSpike.cs b/Projectiles/Typeless/JewelSpike.cs index a2de1dd804..aec3719911 100644 --- a/Projectiles/Typeless/JewelSpike.cs +++ b/Projectiles/Typeless/JewelSpike.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Projectiles.Typeless { if (Projectile.owner == Main.myPlayer) { - for (int index = 0; index < 3; ++index) + for (int index = 0; index < 2; ++index) { float SpeedX = -Projectile.velocity.X * Main.rand.NextFloat(0.4f, 0.7f) + Main.rand.NextFloat(-8f, 8f); float SpeedY = -Projectile.velocity.Y * Main.rand.NextFloat(0.4f, 0.7f) + Main.rand.NextFloat(-8f, 8f); From 4687bf35a6ef9845edfa5006d4f6ce442765aae3 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Wed, 25 Jun 2025 18:01:25 -0700 Subject: [PATCH 39/77] returned random food drops --- NPCs/Astral/FusionFeeder.cs | 1 + NPCs/CalamityGlobalNPCLoot.cs | 38 ++------------------------- NPCs/CalamityGlobalTownNPC.cs | 26 +++---------------- NPCs/TownNPCs/Archmage.cs | 1 - NPCs/TownNPCs/SeaKing.cs | 2 -- Systems/Mechanic/RecipeSystem.cs | 44 -------------------------------- 6 files changed, 7 insertions(+), 105 deletions(-) diff --git a/NPCs/Astral/FusionFeeder.cs b/NPCs/Astral/FusionFeeder.cs index f9373dd5c2..99c8bf52a7 100644 --- a/NPCs/Astral/FusionFeeder.cs +++ b/NPCs/Astral/FusionFeeder.cs @@ -315,6 +315,7 @@ namespace CalamityMod.NPCs.Astral { npcLoot.Add(ItemID.SharkFin, 8); npcLoot.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType(), 1, 2, 3, 3, 4)); + npcLoot.Add(ItemID.Nachos, 30); } } } diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index cb31ae999e..8c11268438 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1905,40 +1905,6 @@ namespace CalamityMod.NPCs if (BuffedDungeonEnemiesList.Includes(npc.type)) npcLoot.Add(ItemID.Ectoplasm, 5); #endregion - - // Blanket remove all specific food item drops that have changed obtainment methods in Calamity - // This is type-indiscriminate and will also most probably hit modded NPCs too - - // CIT 7NOV2024: Yeah it hits modded NPCs; in fact it removes GFB drops from Ravager and Deus - // Fixing this by making the code only run if the NPC is not a boss - if (!npc.boss) - { - int[] randomFoodItems = new int[] -{ - ItemID.ApplePie, - ItemID.BananaSplit, - ItemID.BBQRibs, - ItemID.Burger, - ItemID.MilkCarton, - ItemID.ChocolateChipCookie, - ItemID.CoffeeCup, - ItemID.CreamSoda, - ItemID.FriedEgg, - ItemID.Fries, - ItemID.Grapes, - ItemID.Hotdog, - ItemID.IceCream, - ItemID.Milkshake, - ItemID.Nachos, - ItemID.Pizza, - ItemID.PotatoChips, - ItemID.ShrimpPoBoy, - ItemID.Spaghetti, - ItemID.Steak -}; - foreach (int foodItemID in randomFoodItems) - npcLoot.RemoveWhere((rule) => rule is ItemDropWithConditionRule foodRule && foodRule.itemId == foodItemID); - } } #endregion @@ -2042,7 +2008,7 @@ namespace CalamityMod.NPCs break; case NPCID.SkeletronHead: - SetNewShopVariable(new int[] { NPCID.Merchant, NPCID.Dryad }, NPC.downedBoss3); + SetNewShopVariable(new int[] { NPCID.Dryad }, NPC.downedBoss3); SetNewBossJustDowned(npc); // First kill: Notify of Abyss chests being unlocked. @@ -2058,7 +2024,7 @@ namespace CalamityMod.NPCs break; case NPCID.WallofFlesh: - SetNewShopVariable(new int[] { NPCID.Merchant, NPCID.ArmsDealer, NPCID.Dryad, NPCID.Painter, NPCID.WitchDoctor, NPCID.Stylist, NPCID.DyeTrader, NPCID.Demolitionist, NPCID.PartyGirl, NPCID.Clothier, NPCID.SkeletonMerchant, NPCID.BestiaryGirl }, Main.hardMode); + SetNewShopVariable(new int[] { NPCID.Merchant, NPCID.ArmsDealer, NPCID.Dryad, NPCID.Painter, NPCID.WitchDoctor, NPCID.Stylist, NPCID.DyeTrader, NPCID.Demolitionist, NPCID.PartyGirl, NPCID.Clothier, NPCID.SkeletonMerchant }, Main.hardMode); SetNewBossJustDowned(npc); if (!Main.hardMode && !BossRushEvent.BossRushActive) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index e866e2769c..69fade9718 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1121,10 +1121,7 @@ namespace CalamityMod.NPCs .AddWithCustomValue(ItemID.WormholePotion, Item.buyPrice(silver: 5), Condition.HappyEnoughToSellPylons); shop.Add(ItemID.Flare, hasFlareGunUpgrade) .Add(ItemID.BlueFlare, hasFlareGunUpgrade) - .AddWithCustomValue(ItemID.AngelStatue, Item.buyPrice(gold: 5), Condition.NpcIsPresent(NPCType())) - .AddWithCustomValue(ItemID.Burger, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.DownedSkeletron) - .AddWithCustomValue(ItemID.Hotdog, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.DownedSkeletron) - .AddWithCustomValue(ItemID.CoffeeCup, Item.buyPrice(gold: 2), Condition.HappyEnoughToSellPylons); + .AddWithCustomValue(ItemID.AngelStatue, Item.buyPrice(gold: 5), Condition.NpcIsPresent(NPCType())); } if (type == NPCID.DyeTrader) @@ -1170,7 +1167,6 @@ namespace CalamityMod.NPCs shop.AddWithCustomValue(ItemID.JungleRose, Item.buyPrice(gold: 2)) .AddWithCustomValue(ItemID.NaturesGift, Item.buyPrice(gold: 10)) .Add(ItemType()) - .AddWithCustomValue(ItemID.Grapes, Item.buyPrice(gold: 2, silver: 50), Condition.HappyEnoughToSellPylons, Condition.DownedSkeletron) .Add(ItemType(), Condition.DownedSkeletron) .Add(ItemID.CorruptSeeds, Condition.CrimsonWorld, Condition.InGraveyard, Condition.PreHardmode) .Add(ItemID.CrimsonSeeds, Condition.CorruptWorld, Condition.InGraveyard, Condition.PreHardmode) // Vanilla sells these in Hardmode, we just make them available at all times @@ -1180,8 +1176,7 @@ namespace CalamityMod.NPCs if (type == NPCID.GoblinTinkerer) { shop.Add(ItemType()) - .Add(ItemID.Toolbox, Condition.NpcIsPresent(NPCID.Mechanic)) - .AddWithCustomValue(ItemID.Spaghetti, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.DownedSkeletron); + .Add(ItemID.Toolbox, Condition.NpcIsPresent(NPCID.Mechanic)); } if (type == NPCID.Mechanic) @@ -1238,15 +1233,12 @@ namespace CalamityMod.NPCs .Add(ItemType()) .Add(ItemType()) .Add(ItemType()) - .AddWithCustomValue(ItemID.ButterflyDust, Item.buyPrice(gold: 10), Condition.DownedGolem) - .AddWithCustomValue(ItemID.FriedEgg, Item.buyPrice(gold: 2, silver: 50), Condition.HappyEnoughToSellPylons); + .AddWithCustomValue(ItemID.ButterflyDust, Item.buyPrice(gold: 10), Condition.DownedGolem); } if (type == NPCID.PartyGirl) { - shop.AddWithCustomValue(ItemID.GenderChangePotion, Item.buyPrice(silver: 25), Condition.HappyEnoughToSellPylons) - .AddWithCustomValue(ItemID.Pizza, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.DownedSkeletron) - .AddWithCustomValue(ItemID.CreamSoda, Item.buyPrice(gold: 2, silver: 50), Condition.HappyEnoughToSellPylons); + shop.AddWithCustomValue(ItemID.GenderChangePotion, Item.buyPrice(silver: 25), Condition.HappyEnoughToSellPylons); } if (type == NPCID.Princess) @@ -1275,16 +1267,6 @@ namespace CalamityMod.NPCs .AddWithCustomValue(ItemType(), Item.buyPrice(gold: 12)); } - if (type == NPCID.Golfer) - { - shop.AddWithCustomValue(ItemID.PotatoChips, Item.buyPrice(gold: 1), Condition.HappyEnoughToSellPylons); - } - - if (type == NPCID.BestiaryGirl) - { - shop.AddWithCustomValue(ItemID.Steak, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.Hardmode); - } - if (type == NPCID.Truffle) { shop.Add(ItemType()); diff --git a/NPCs/TownNPCs/Archmage.cs b/NPCs/TownNPCs/Archmage.cs index de022694e1..9d51ae5deb 100644 --- a/NPCs/TownNPCs/Archmage.cs +++ b/NPCs/TownNPCs/Archmage.cs @@ -170,7 +170,6 @@ namespace CalamityMod.NPCs.TownNPCs .AddWithCustomValue(ModContent.ItemType(), Item.buyPrice(5)) .Add(ModContent.ItemType()) .Add(ModContent.ItemType(), Condition.PlayerCarriesItem(ModContent.ItemType())) - .Add(ItemID.IceCream, Condition.HappyEnoughToSellPylons, Condition.InSnow) .Register(); } diff --git a/NPCs/TownNPCs/SeaKing.cs b/NPCs/TownNPCs/SeaKing.cs index 3c39586f46..4ff9da3fd5 100644 --- a/NPCs/TownNPCs/SeaKing.cs +++ b/NPCs/TownNPCs/SeaKing.cs @@ -206,8 +206,6 @@ namespace CalamityMod.NPCs.TownNPCs .Add(ModContent.ItemType()) .AddWithCustomValue(ItemID.TruffleWorm, Item.buyPrice(gold: 20), Condition.Hardmode) .AddWithCustomValue(ModContent.ItemType(), Item.buyPrice(gold: 40), downedOldDuke) - .AddWithCustomValue(ItemID.ShrimpPoBoy, Item.buyPrice(gold: 2, silver: 50), Condition.HappyEnoughToSellPylons, Condition.InBeach) - .AddWithCustomValue(ItemID.Fries, Item.buyPrice(gold: 2), Condition.HappyEnoughToSellPylons, Condition.InBeach, Condition.DownedEyeOfCthulhu) .Register(); } diff --git a/Systems/Mechanic/RecipeSystem.cs b/Systems/Mechanic/RecipeSystem.cs index 61125a7147..58801d06b3 100644 --- a/Systems/Mechanic/RecipeSystem.cs +++ b/Systems/Mechanic/RecipeSystem.cs @@ -1347,55 +1347,11 @@ namespace CalamityMod.Systems r.DisableDecraft(); #endregion - #region New Recipes r = Recipe.Create(ItemID.Bacon); r.AddIngredient(); r.AddTile(TileID.Hellforge); r.Register(); r.DisableDecraft(); - - r = Recipe.Create(ItemID.ApplePie); - r.AddIngredient(ItemID.Apple, 3); - r.AddTile(TileID.Hellforge); - r.Register(); - r.DisableDecraft(); - - r = Recipe.Create(ItemID.BananaSplit); - r.AddIngredient(ItemID.Banana); - r.AddIngredient(ItemID.IceBlock); - r.AddIngredient(ItemID.MilkCarton); - r.AddTile(TileID.CookingPots); - r.Register(); - r.DisableDecraft(); - - r = Recipe.Create(ItemID.BBQRibs); - r.AddIngredient(ItemID.FleshBlock, 6); - r.AddIngredient(ItemID.Bone, 6); - r.AddTile(TileID.Hellforge); - r.Register(); - r.DisableDecraft(); - - r = Recipe.Create(ItemID.MilkCarton); - r.AddIngredient(ItemID.BottledWater); - r.AddIngredient(ItemID.Bone, 2); - r.AddTile(TileID.CookingPots); - r.Register(); - r.DisableDecraft(); - - r = Recipe.Create(ItemID.Milkshake); - r.AddIngredient(ItemID.IceBlock); - r.AddIngredient(ItemID.MilkCarton); - r.AddTile(TileID.IceMachine); - r.Register(); - r.DisableDecraft(); - - r = Recipe.Create(ItemID.Nachos); - r.AddIngredient(ItemID.PotatoChips); - r.AddIngredient(ItemID.MilkCarton); - r.AddTile(TileID.CookingPots); - r.Register(); - r.DisableDecraft(); - #endregion } #endregion From 91f96308e5affeecf4cbc17bf6fd8d89039ce098 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Wed, 25 Jun 2025 18:04:52 -0700 Subject: [PATCH 40/77] Safe --- NPCs/CalamityGlobalNPCLoot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 8c11268438..ea82959081 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -2008,7 +2008,7 @@ namespace CalamityMod.NPCs break; case NPCID.SkeletronHead: - SetNewShopVariable(new int[] { NPCID.Dryad }, NPC.downedBoss3); + SetNewShopVariable(new int[] { NPCID.Merchant, NPCID.Dryad }, NPC.downedBoss3); SetNewBossJustDowned(npc); // First kill: Notify of Abyss chests being unlocked. From 8253db6df3c285d6e866d4ac4e4f655443ff4705 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Thu, 26 Jun 2025 18:15:06 +0700 Subject: [PATCH 41/77] More minion fixes --- Projectiles/DraedonsArsenal/MountedScannerSummon.cs | 2 +- Projectiles/DraedonsArsenal/PoleWarperSummon.cs | 3 +++ Projectiles/DraedonsArsenal/SnakeEyesSummon.cs | 3 +-- Projectiles/DraedonsArsenal/StarSwallowerSummon.cs | 3 +-- Projectiles/Summon/AmphibiansGuitarMinion.cs | 2 -- Projectiles/Summon/ApexShark.cs | 12 +++--------- Projectiles/Summon/AquaticStarMinion.cs | 3 +++ Projectiles/Summon/AstrageldonSummon.cs | 3 +++ Projectiles/Summon/AstralProbeSummon.cs | 3 +-- Projectiles/Summon/BabyBloodCrawler.cs | 3 +++ Projectiles/Summon/BelladonnaSpirit.cs | 2 -- Projectiles/Summon/BlackDragonHead.cs | 2 ++ Projectiles/Summon/BlackHawkSummon.cs | 6 ++---- Projectiles/Summon/Calamitamini.cs | 2 -- Projectiles/Summon/Cataclymini.cs | 2 -- Projectiles/Summon/Catastromini.cs | 2 ++ Projectiles/Summon/CausticStaffSummon.cs | 3 +-- Projectiles/Summon/CelestialAxeMinion.cs | 4 ++++ Projectiles/Summon/CinderBlossom.cs | 3 +-- Projectiles/Summon/CorroslimeMinion.cs | 3 +++ Projectiles/Summon/CosmicEnergySpiral.cs | 2 -- Projectiles/Summon/CosmicViperSummon.cs | 5 ++--- Projectiles/Summon/CosmilampMinion.cs | 3 --- Projectiles/Summon/CrimslimeMinion.cs | 3 +++ Projectiles/Summon/DaedalusGolem.cs | 3 +-- Projectiles/Summon/DankCreeperMinion.cs | 3 +++ Projectiles/Summon/DazzlingStabber.cs | 5 ++++- Projectiles/Summon/DeathstareEyeball.cs | 3 +-- Projectiles/Summon/DormantBrimseekerBab.cs | 7 ++++--- Projectiles/Summon/EndoCooperBody.cs | 4 ++-- Projectiles/Summon/EndoHydraHead.cs | 2 +- Projectiles/Summon/EyeOfNightSummon.cs | 3 +-- Projectiles/Summon/FieryDraconid.cs | 2 +- Projectiles/Summon/FleshBallMinion.cs | 2 ++ Projectiles/Summon/FrostBlossom.cs | 3 +-- Projectiles/Summon/GammaHead.cs | 3 +-- Projectiles/Summon/GastricBelcher.cs | 4 +--- Projectiles/Summon/HauntedDishes.cs | 5 ++--- Projectiles/Summon/HermitCrabMinion.cs | 3 +++ Projectiles/Summon/HerringAI.cs | 3 +++ Projectiles/Summon/IgneousBlade.cs | 4 ++++ Projectiles/Summon/LiliesOfFinalityAriane.cs | 2 -- Projectiles/Summon/LiliesOfFinalityElster.cs | 2 -- Projectiles/Summon/MidnightSunUFO.cs | 4 ++-- Projectiles/Summon/PhantomGuy.cs | 3 +-- Projectiles/Summon/PinkButterfly.cs | 3 +-- Projectiles/Summon/PlaguebringerMK2.cs | 5 ++--- Projectiles/Summon/PowerfulRaven.cs | 3 +++ Projectiles/Summon/PuffWarrior.cs | 3 +++ Projectiles/Summon/PurpleButterfly.cs | 3 +++ Projectiles/Summon/SageSpirit.cs | 4 +--- Projectiles/Summon/SandnadoMinion.cs | 3 +-- Projectiles/Summon/SarosAura.cs | 2 -- Projectiles/Summon/SeashineSwordProj.cs | 3 ++- Projectiles/Summon/SeekerSummonProj.cs | 3 +++ Projectiles/Summon/SepulcherMinion.cs | 2 ++ Projectiles/Summon/Shellfish.cs | 2 +- Projectiles/Summon/SiriusMinion.cs | 2 -- Projectiles/Summon/SkeletalDragonMother.cs | 2 ++ Projectiles/Summon/SmallSkeletonMinion.cs | 6 +++++- Projectiles/Summon/SolarGod.cs | 3 +-- Projectiles/Summon/SolarPixie.cs | 3 +-- Projectiles/Summon/StellarTorusSummon.cs | 3 +-- Projectiles/Summon/StormjawBaby.cs | 5 ++--- Projectiles/Summon/TacticalPlagueJet.cs | 3 +-- Projectiles/Summon/TundraFlameBlossom.cs | 3 +-- Projectiles/Summon/Umbrella/MagicHat.cs | 3 --- Projectiles/Summon/VileFeederSummon.cs | 3 +++ Projectiles/Summon/ViridVanguardBlade.cs | 4 ++++ Projectiles/Summon/VoidConcentrationAura.cs | 2 ++ Projectiles/Summon/WhiteDragonHead.cs | 2 ++ Projectiles/Summon/WitherBlossom.cs | 3 +-- Projectiles/Summon/WulfrumDroid.cs | 3 +-- 73 files changed, 126 insertions(+), 109 deletions(-) diff --git a/Projectiles/DraedonsArsenal/MountedScannerSummon.cs b/Projectiles/DraedonsArsenal/MountedScannerSummon.cs index e925397619..3ccb38ab25 100644 --- a/Projectiles/DraedonsArsenal/MountedScannerSummon.cs +++ b/Projectiles/DraedonsArsenal/MountedScannerSummon.cs @@ -28,6 +28,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; ProjectileID.Sets.NeedsUUID[Type] = true; @@ -114,6 +115,5 @@ namespace CalamityMod.Projectiles.DraedonsArsenal SoundEngine.PlaySound(CommonCalamitySounds.LaserCannonSound, Projectile.Center); } } - public override bool? CanDamage() => false; } } diff --git a/Projectiles/DraedonsArsenal/PoleWarperSummon.cs b/Projectiles/DraedonsArsenal/PoleWarperSummon.cs index 9501d9e619..bc3e1aa9ec 100644 --- a/Projectiles/DraedonsArsenal/PoleWarperSummon.cs +++ b/Projectiles/DraedonsArsenal/PoleWarperSummon.cs @@ -25,6 +25,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal } public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; ProjectileID.Sets.TrailingMode[Type] = 0; @@ -173,6 +174,8 @@ namespace CalamityMod.Projectiles.DraedonsArsenal } } + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { Texture2D tex = TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/DraedonsArsenal/SnakeEyesSummon.cs b/Projectiles/DraedonsArsenal/SnakeEyesSummon.cs index fc95a46d89..e9a7232cdd 100644 --- a/Projectiles/DraedonsArsenal/SnakeEyesSummon.cs +++ b/Projectiles/DraedonsArsenal/SnakeEyesSummon.cs @@ -42,6 +42,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -237,8 +238,6 @@ namespace CalamityMod.Projectiles.DraedonsArsenal public override void OnSpawn(IEntitySource source) => DoVFXPulse(); - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/DraedonsArsenal/StarSwallowerSummon.cs b/Projectiles/DraedonsArsenal/StarSwallowerSummon.cs index 526dcb0227..e5c35b3a87 100644 --- a/Projectiles/DraedonsArsenal/StarSwallowerSummon.cs +++ b/Projectiles/DraedonsArsenal/StarSwallowerSummon.cs @@ -28,6 +28,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal public override void SetStaticDefaults() { Main.projFrames[Type] = 12; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -292,7 +293,5 @@ namespace CalamityMod.Projectiles.DraedonsArsenal fallThrough = Projectile.Bottom.Y < FallThroughYPoint - 120f; return base.TileCollideStyle(ref width, ref height, ref fallThrough, ref hitboxCenterFrac); } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/AmphibiansGuitarMinion.cs b/Projectiles/Summon/AmphibiansGuitarMinion.cs index ddfab3cd17..1b47c6a40a 100644 --- a/Projectiles/Summon/AmphibiansGuitarMinion.cs +++ b/Projectiles/Summon/AmphibiansGuitarMinion.cs @@ -140,8 +140,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/ApexShark.cs b/Projectiles/Summon/ApexShark.cs index e0063dc6e0..3bef24a545 100644 --- a/Projectiles/Summon/ApexShark.cs +++ b/Projectiles/Summon/ApexShark.cs @@ -19,6 +19,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 8; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -239,6 +240,8 @@ namespace CalamityMod.Projectiles.Summon } + public override bool MinionContactDamage() => HitCooldown == 0; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { if (Main.rand.NextBool(3)) @@ -253,14 +256,5 @@ namespace CalamityMod.Projectiles.Summon Projectile.netUpdate = true; HitCooldown = 20; } - - public override bool? CanHitNPC(NPC target) - { - if (HitCooldown == 0) - { - return null; - } - return false; - } } } diff --git a/Projectiles/Summon/AquaticStarMinion.cs b/Projectiles/Summon/AquaticStarMinion.cs index f060849af8..3377e232ea 100644 --- a/Projectiles/Summon/AquaticStarMinion.cs +++ b/Projectiles/Summon/AquaticStarMinion.cs @@ -18,6 +18,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -70,6 +71,8 @@ namespace CalamityMod.Projectiles.Summon Projectile.ChargingMinionAI(1200f, 1500f, 2200f, 150f, 0, 24f, 15f, 4f, new Vector2(0f, -60f), 12f, 12f, false, false, 1); } + public override bool MinionContactDamage() => true; + public override bool OnTileCollide(Vector2 oldVelocity) => false; } } diff --git a/Projectiles/Summon/AstrageldonSummon.cs b/Projectiles/Summon/AstrageldonSummon.cs index 795b62514b..c5a3c69c48 100644 --- a/Projectiles/Summon/AstrageldonSummon.cs +++ b/Projectiles/Summon/AstrageldonSummon.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -209,6 +210,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override bool OnTileCollide(Vector2 oldVelocity) => false; public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) diff --git a/Projectiles/Summon/AstralProbeSummon.cs b/Projectiles/Summon/AstralProbeSummon.cs index 64de6fe834..d9743cab03 100644 --- a/Projectiles/Summon/AstralProbeSummon.cs +++ b/Projectiles/Summon/AstralProbeSummon.cs @@ -40,6 +40,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -150,8 +151,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - #endregion } } diff --git a/Projectiles/Summon/BabyBloodCrawler.cs b/Projectiles/Summon/BabyBloodCrawler.cs index 489eb9a48c..3416df2b66 100644 --- a/Projectiles/Summon/BabyBloodCrawler.cs +++ b/Projectiles/Summon/BabyBloodCrawler.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 11; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -96,6 +97,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override bool OnTileCollide(Vector2 oldVelocity) => false; public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => OnHitEffects(target); diff --git a/Projectiles/Summon/BelladonnaSpirit.cs b/Projectiles/Summon/BelladonnaSpirit.cs index 5d99e1cd20..d4cd8ae282 100644 --- a/Projectiles/Summon/BelladonnaSpirit.cs +++ b/Projectiles/Summon/BelladonnaSpirit.cs @@ -106,8 +106,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/BlackDragonHead.cs b/Projectiles/Summon/BlackDragonHead.cs index 3bca4cd7c6..875ad6599a 100644 --- a/Projectiles/Summon/BlackDragonHead.cs +++ b/Projectiles/Summon/BlackDragonHead.cs @@ -216,6 +216,8 @@ namespace CalamityMod.Projectiles.Summon } + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(BuffID.ShadowFlame, 300); } } diff --git a/Projectiles/Summon/BlackHawkSummon.cs b/Projectiles/Summon/BlackHawkSummon.cs index a3b25021a1..93d42c501c 100644 --- a/Projectiles/Summon/BlackHawkSummon.cs +++ b/Projectiles/Summon/BlackHawkSummon.cs @@ -18,9 +18,10 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; - Main.projFrames[Type] = 6; } public override void SetDefaults() @@ -299,9 +300,6 @@ namespace CalamityMod.Projectiles.Summon } } - //Does no contact damage - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/Calamitamini.cs b/Projectiles/Summon/Calamitamini.cs index a7c0bfb1ec..d306144ecb 100644 --- a/Projectiles/Summon/Calamitamini.cs +++ b/Projectiles/Summon/Calamitamini.cs @@ -245,7 +245,5 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(texture, Projectile.Center - Main.screenPosition + new Vector2(0f, Projectile.gfxOffY), new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, yStart, texture.Width, frameHeight)), Projectile.GetAlpha(lightColor), Projectile.rotation, new Vector2(texture.Width / 2f, frameHeight / 2f), Projectile.scale, SpriteEffects.None, 0); return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/Cataclymini.cs b/Projectiles/Summon/Cataclymini.cs index dabd888069..b67690cdcc 100644 --- a/Projectiles/Summon/Cataclymini.cs +++ b/Projectiles/Summon/Cataclymini.cs @@ -239,7 +239,5 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(texture, Projectile.Center - Main.screenPosition + new Vector2(0f, Projectile.gfxOffY), new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, yStart, texture.Width, frameHeight)), Projectile.GetAlpha(lightColor), Projectile.rotation, new Vector2(texture.Width / 2f, frameHeight / 2f), Projectile.scale, SpriteEffects.None, 0); return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/Catastromini.cs b/Projectiles/Summon/Catastromini.cs index 1766bdf8be..d97715807b 100644 --- a/Projectiles/Summon/Catastromini.cs +++ b/Projectiles/Summon/Catastromini.cs @@ -82,6 +82,8 @@ namespace CalamityMod.Projectiles.Summon Projectile.ChargingMinionAI(Calamitamini.Range, Calamitamini.SeparationAnxietyMin, Calamitamini.SeparationAnxietyMax, Calamitamini.SafeDist, 0, 40f, 8f, 4f, new Vector2(0f, -60f), 40f, 8f, false, true); } + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { SpriteEffects spriteEffects = Projectile.spriteDirection == -1 ? SpriteEffects.FlipHorizontally : SpriteEffects.None; diff --git a/Projectiles/Summon/CausticStaffSummon.cs b/Projectiles/Summon/CausticStaffSummon.cs index ca75b21aa9..501472f410 100644 --- a/Projectiles/Summon/CausticStaffSummon.cs +++ b/Projectiles/Summon/CausticStaffSummon.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -285,7 +286,5 @@ namespace CalamityMod.Projectiles.Summon } public override bool OnTileCollide(Vector2 oldVelocity) => false; - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/CelestialAxeMinion.cs b/Projectiles/Summon/CelestialAxeMinion.cs index 888c97d688..932f8ec4fb 100644 --- a/Projectiles/Summon/CelestialAxeMinion.cs +++ b/Projectiles/Summon/CelestialAxeMinion.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public new string LocalizationCategory => "Projectiles.Summon"; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -75,6 +76,9 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(tex, Projectile.Center - Main.screenPosition, null, Projectile.GetAlpha(lightColor), Projectile.rotation, tex.Size() / 2f, Projectile.scale, SpriteEffects.None, 0); return false; } + + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { target.AddBuff(ModContent.BuffType(), 60); diff --git a/Projectiles/Summon/CinderBlossom.cs b/Projectiles/Summon/CinderBlossom.cs index d594e5ff50..d6125c9863 100644 --- a/Projectiles/Summon/CinderBlossom.cs +++ b/Projectiles/Summon/CinderBlossom.cs @@ -20,6 +20,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -89,7 +90,5 @@ namespace CalamityMod.Projectiles.Summon DelayBetweenShooting++; } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/CorroslimeMinion.cs b/Projectiles/Summon/CorroslimeMinion.cs index 06d676e565..9fd7296ef8 100644 --- a/Projectiles/Summon/CorroslimeMinion.cs +++ b/Projectiles/Summon/CorroslimeMinion.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -80,6 +81,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { Texture2D texture2D13 = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/CosmicEnergySpiral.cs b/Projectiles/Summon/CosmicEnergySpiral.cs index bc06a90b67..14049b2ad4 100644 --- a/Projectiles/Summon/CosmicEnergySpiral.cs +++ b/Projectiles/Summon/CosmicEnergySpiral.cs @@ -221,7 +221,5 @@ namespace CalamityMod.Projectiles.Summon { return new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB, 255); } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/CosmicViperSummon.cs b/Projectiles/Summon/CosmicViperSummon.cs index 747eb5e5c6..d99e8910ec 100644 --- a/Projectiles/Summon/CosmicViperSummon.cs +++ b/Projectiles/Summon/CosmicViperSummon.cs @@ -18,9 +18,10 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projFrames[Type] = 3; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; - Main.projFrames[Type] = 3; } public override void SetDefaults() @@ -307,8 +308,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/CosmilampMinion.cs b/Projectiles/Summon/CosmilampMinion.cs index a3f6adb628..1d7269474d 100644 --- a/Projectiles/Summon/CosmilampMinion.cs +++ b/Projectiles/Summon/CosmilampMinion.cs @@ -148,8 +148,5 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(texture, drawPosition, frame, Projectile.GetAlpha(lightColor), Projectile.rotation, origin, Projectile.scale, direction, 0); return false; } - - // The lamps themselves do not do damage, but they do store damage for the sake of shooting projectiles. - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/CrimslimeMinion.cs b/Projectiles/Summon/CrimslimeMinion.cs index 2ce626218e..934db01829 100644 --- a/Projectiles/Summon/CrimslimeMinion.cs +++ b/Projectiles/Summon/CrimslimeMinion.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -80,6 +81,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { Texture2D texture2D13 = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/DaedalusGolem.cs b/Projectiles/Summon/DaedalusGolem.cs index dfcfa3f201..5a47080b5d 100644 --- a/Projectiles/Summon/DaedalusGolem.cs +++ b/Projectiles/Summon/DaedalusGolem.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 18; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -297,7 +298,5 @@ namespace CalamityMod.Projectiles.Summon Projectile.frame = 0; } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/DankCreeperMinion.cs b/Projectiles/Summon/DankCreeperMinion.cs index 98dadc21e2..4aedb83069 100644 --- a/Projectiles/Summon/DankCreeperMinion.cs +++ b/Projectiles/Summon/DankCreeperMinion.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public new string LocalizationCategory => "Projectiles.Summon"; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -208,6 +209,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { if (Projectile.owner == Main.myPlayer) diff --git a/Projectiles/Summon/DazzlingStabber.cs b/Projectiles/Summon/DazzlingStabber.cs index 1cb53d08e3..0afb24e4e3 100644 --- a/Projectiles/Summon/DazzlingStabber.cs +++ b/Projectiles/Summon/DazzlingStabber.cs @@ -28,6 +28,7 @@ namespace CalamityMod.Projectiles.Summon public Vector2 storedPos; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = false; // To prevent blade type desync ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -303,7 +304,9 @@ namespace CalamityMod.Projectiles.Summon } public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType(), 180); - public override bool? CanDamage() => attackCooldown == 0 ? null : false; + + public override bool MinionContactDamage() => attackCooldown == 0; + public override bool PreDraw(ref Color lightColor) { Texture2D tex = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/DeathstareEyeball.cs b/Projectiles/Summon/DeathstareEyeball.cs index 6ef2b94958..9cdbf33a3e 100644 --- a/Projectiles/Summon/DeathstareEyeball.cs +++ b/Projectiles/Summon/DeathstareEyeball.cs @@ -24,6 +24,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.NeedsUUID[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; @@ -169,7 +170,5 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(pupilTexture, pupilDrawPosition, null, Projectile.GetAlpha(lightColor), PupilAngle, pupilTexture.Size() * 0.5f, PupilScale, SpriteEffects.None); return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/DormantBrimseekerBab.cs b/Projectiles/Summon/DormantBrimseekerBab.cs index f26f66f14a..183b6108fc 100644 --- a/Projectiles/Summon/DormantBrimseekerBab.cs +++ b/Projectiles/Summon/DormantBrimseekerBab.cs @@ -26,12 +26,10 @@ namespace CalamityMod.Projectiles.Summon } public override void SetStaticDefaults() { - Main.projFrames[Type] = 8; - + Main.projPet[Type] = true; ProjectileID.Sets.TrailCacheLength[Type] = 7; ProjectileID.Sets.TrailingMode[Type] = 2; - ProjectileID.Sets.MinionSacrificable[Type] = true; } @@ -153,6 +151,9 @@ namespace CalamityMod.Projectiles.Summon } Lighting.AddLight(Projectile.Center, Color.Red.ToVector3()); } + + public override bool MinionContactDamage() => true; + public override void PostDraw(Color lightColor) { if ((Projectile.ai[0] > 0f && Projectile.ai[0] <= MaxChargeTime && Projectile.velocity.Length() >= 8f) || SeekingTarget) diff --git a/Projectiles/Summon/EndoCooperBody.cs b/Projectiles/Summon/EndoCooperBody.cs index bab1116e24..487ec89ec1 100644 --- a/Projectiles/Summon/EndoCooperBody.cs +++ b/Projectiles/Summon/EndoCooperBody.cs @@ -351,12 +351,12 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(texture, Projectile.Center - Main.screenPosition, frame, Color.LightSkyBlue, Projectile.rotation, Projectile.Size / 2, 1f, SpriteEffects.None, 0); } + public override bool MinionContactDamage() => AttackMode == 2; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { target.AddBuff(ModContent.BuffType(), 60); target.AddBuff(ModContent.BuffType(), 180); } - - public override bool? CanDamage() => AttackMode == 2; } } diff --git a/Projectiles/Summon/EndoHydraHead.cs b/Projectiles/Summon/EndoHydraHead.cs index cb231e8ac5..968be80d0a 100644 --- a/Projectiles/Summon/EndoHydraHead.cs +++ b/Projectiles/Summon/EndoHydraHead.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 5; + Main.projPet[Type] = true; ProjectileID.Sets.TrailingMode[Type] = 0; ProjectileID.Sets.TrailCacheLength[Type] = 20; ProjectileID.Sets.MinionSacrificable[Type] = true; @@ -241,6 +242,5 @@ namespace CalamityMod.Projectiles.Summon 0); return false; } - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/EyeOfNightSummon.cs b/Projectiles/Summon/EyeOfNightSummon.cs index ffeccfa56a..d5e9b86981 100644 --- a/Projectiles/Summon/EyeOfNightSummon.cs +++ b/Projectiles/Summon/EyeOfNightSummon.cs @@ -18,6 +18,7 @@ namespace CalamityMod.Projectiles.Summon public const int ShootRate = 60; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -117,7 +118,5 @@ namespace CalamityMod.Projectiles.Summon Projectile.velocity = (destination - Projectile.Center).SafeNormalize(Vector2.Zero) * flySpeed; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/FieryDraconid.cs b/Projectiles/Summon/FieryDraconid.cs index f93412f81f..995ee2a810 100644 --- a/Projectiles/Summon/FieryDraconid.cs +++ b/Projectiles/Summon/FieryDraconid.cs @@ -235,7 +235,7 @@ namespace CalamityMod.Projectiles.Summon modifiers.FinalDamage *= YharonsKindleStaff.ReboundRamDamageFactor; } - public override bool? CanDamage() => Projectile.localAI[0] > 1f; + public override bool MinionContactDamage() => Projectile.localAI[0] > 1f; public override bool PreDraw(ref Color lightColor) { diff --git a/Projectiles/Summon/FleshBallMinion.cs b/Projectiles/Summon/FleshBallMinion.cs index 3125b8f324..4de9b04216 100644 --- a/Projectiles/Summon/FleshBallMinion.cs +++ b/Projectiles/Summon/FleshBallMinion.cs @@ -125,6 +125,8 @@ namespace CalamityMod.Projectiles.Summon #endregion + public override bool MinionContactDamage() => true; + public override void OnSpawn(IEntitySource source) => IFrames = 30; // Prevent immediate death on tile collision, and slow down on tile collision. diff --git a/Projectiles/Summon/FrostBlossom.cs b/Projectiles/Summon/FrostBlossom.cs index c430427aad..9174f55597 100644 --- a/Projectiles/Summon/FrostBlossom.cs +++ b/Projectiles/Summon/FrostBlossom.cs @@ -17,6 +17,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -88,7 +89,5 @@ namespace CalamityMod.Projectiles.Summon } } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/GammaHead.cs b/Projectiles/Summon/GammaHead.cs index c769643882..a521a54858 100644 --- a/Projectiles/Summon/GammaHead.cs +++ b/Projectiles/Summon/GammaHead.cs @@ -32,6 +32,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -264,7 +265,5 @@ namespace CalamityMod.Projectiles.Summon return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/GastricBelcher.cs b/Projectiles/Summon/GastricBelcher.cs index 12856293d4..c4122ab978 100644 --- a/Projectiles/Summon/GastricBelcher.cs +++ b/Projectiles/Summon/GastricBelcher.cs @@ -18,6 +18,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -298,9 +299,6 @@ namespace CalamityMod.Projectiles.Summon } } - //This minion does no contact damage - public override bool? CanDamage() => false; - public override bool PreDraw(ref Color lightColor) { Texture2D texture = Terraria.GameContent.TextureAssets.Projectile[Type].Value; diff --git a/Projectiles/Summon/HauntedDishes.cs b/Projectiles/Summon/HauntedDishes.cs index c37e9eca65..ece47484a5 100644 --- a/Projectiles/Summon/HauntedDishes.cs +++ b/Projectiles/Summon/HauntedDishes.cs @@ -15,9 +15,10 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projFrames[Type] = 19; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; - Main.projFrames[Type] = 19; } public override void SetDefaults() @@ -566,8 +567,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - public override bool TileCollideStyle(ref int width, ref int height, ref bool fallThrough, ref Vector2 hitboxCenterFrac) { fallThrough = false; diff --git a/Projectiles/Summon/HermitCrabMinion.cs b/Projectiles/Summon/HermitCrabMinion.cs index c40b5a5741..444d3c756a 100644 --- a/Projectiles/Summon/HermitCrabMinion.cs +++ b/Projectiles/Summon/HermitCrabMinion.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 9; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -359,6 +360,8 @@ namespace CalamityMod.Projectiles.Summon return true; } + public override bool MinionContactDamage() => true; + public override bool OnTileCollide(Vector2 oldVelocity) => false; } } diff --git a/Projectiles/Summon/HerringAI.cs b/Projectiles/Summon/HerringAI.cs index 1c5e8e6087..54ae7836db 100644 --- a/Projectiles/Summon/HerringAI.cs +++ b/Projectiles/Summon/HerringAI.cs @@ -19,6 +19,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -94,6 +95,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override bool OnTileCollide(Vector2 oldVelocity) => false; } } diff --git a/Projectiles/Summon/IgneousBlade.cs b/Projectiles/Summon/IgneousBlade.cs index 4bff9cf79d..86f0f94bc8 100644 --- a/Projectiles/Summon/IgneousBlade.cs +++ b/Projectiles/Summon/IgneousBlade.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public bool Firing = false; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.TrailingMode[Type] = 0; ProjectileID.Sets.TrailCacheLength[Type] = 7; } @@ -91,6 +92,9 @@ namespace CalamityMod.Projectiles.Summon } } } + + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { if (Firing) diff --git a/Projectiles/Summon/LiliesOfFinalityAriane.cs b/Projectiles/Summon/LiliesOfFinalityAriane.cs index 7139fe46db..ae5957be13 100644 --- a/Projectiles/Summon/LiliesOfFinalityAriane.cs +++ b/Projectiles/Summon/LiliesOfFinalityAriane.cs @@ -150,8 +150,6 @@ namespace CalamityMod.Projectiles.Summon return true; } - public override bool? CanDamage() => false; - #endregion #region AI diff --git a/Projectiles/Summon/LiliesOfFinalityElster.cs b/Projectiles/Summon/LiliesOfFinalityElster.cs index 3d52276011..5e67a36e07 100644 --- a/Projectiles/Summon/LiliesOfFinalityElster.cs +++ b/Projectiles/Summon/LiliesOfFinalityElster.cs @@ -146,8 +146,6 @@ namespace CalamityMod.Projectiles.Summon return true; } - public override bool? CanDamage() => false; - #endregion #region AI diff --git a/Projectiles/Summon/MidnightSunUFO.cs b/Projectiles/Summon/MidnightSunUFO.cs index c809587298..502494bb28 100644 --- a/Projectiles/Summon/MidnightSunUFO.cs +++ b/Projectiles/Summon/MidnightSunUFO.cs @@ -20,6 +20,8 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; + ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.TrailCacheLength[Type] = 4; ProjectileID.Sets.TrailingMode[Type] = 0; } @@ -39,8 +41,6 @@ namespace CalamityMod.Projectiles.Summon Projectile.DamageType = DamageClass.Summon; } - public override bool? CanDamage() => false; - public override void AI() { Lighting.AddLight(Projectile.Center, Color.SkyBlue.ToVector3()); diff --git a/Projectiles/Summon/PhantomGuy.cs b/Projectiles/Summon/PhantomGuy.cs index a86a9b90d6..90f0b0cbae 100644 --- a/Projectiles/Summon/PhantomGuy.cs +++ b/Projectiles/Summon/PhantomGuy.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -229,7 +230,5 @@ namespace CalamityMod.Projectiles.Summon { return new Color(100, 250, 250, Projectile.alpha); } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/PinkButterfly.cs b/Projectiles/Summon/PinkButterfly.cs index 62400663b8..46df273110 100644 --- a/Projectiles/Summon/PinkButterfly.cs +++ b/Projectiles/Summon/PinkButterfly.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -245,7 +246,5 @@ namespace CalamityMod.Projectiles.Summon Main.EntitySpriteDraw(texture2D13, Projectile.Center - Main.screenPosition + new Vector2(0f, Projectile.gfxOffY), new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, y6, texture2D13.Width, framing)), Projectile.GetAlpha(lightColor), Projectile.rotation, new Vector2((float)texture2D13.Width / 2f, (float)framing / 2f), Projectile.scale, spriteEffects, 0); return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/PlaguebringerMK2.cs b/Projectiles/Summon/PlaguebringerMK2.cs index 45bb6d1396..01e795d795 100644 --- a/Projectiles/Summon/PlaguebringerMK2.cs +++ b/Projectiles/Summon/PlaguebringerMK2.cs @@ -14,7 +14,8 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; - ProjectileID.Sets.MinionTargettingFeature[Type] = true; + Main.projPet[Type] = true; + ProjectileID.Sets.MinionSacrificable[Type] = true; } public override void SetDefaults() @@ -128,7 +129,5 @@ namespace CalamityMod.Projectiles.Summon Projectile.frame = 0; } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/PowerfulRaven.cs b/Projectiles/Summon/PowerfulRaven.cs index 379971a921..6efe8f8276 100644 --- a/Projectiles/Summon/PowerfulRaven.cs +++ b/Projectiles/Summon/PowerfulRaven.cs @@ -17,6 +17,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 5; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -148,5 +149,7 @@ namespace CalamityMod.Projectiles.Summon } Projectile.direction = Projectile.spriteDirection = (Projectile.velocity.X > 0).ToDirectionInt(); } + + public override bool MinionContactDamage() => true; } } diff --git a/Projectiles/Summon/PuffWarrior.cs b/Projectiles/Summon/PuffWarrior.cs index 91dc1aa0a2..887fc8d6bd 100644 --- a/Projectiles/Summon/PuffWarrior.cs +++ b/Projectiles/Summon/PuffWarrior.cs @@ -30,6 +30,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 10; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -199,6 +200,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { if (EnemyFailureCooldown > 0) diff --git a/Projectiles/Summon/PurpleButterfly.cs b/Projectiles/Summon/PurpleButterfly.cs index 790c60d81a..b7a03a55bc 100644 --- a/Projectiles/Summon/PurpleButterfly.cs +++ b/Projectiles/Summon/PurpleButterfly.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -87,6 +88,8 @@ namespace CalamityMod.Projectiles.Summon Projectile.ChargingMinionAI(1200f, 1500f, 2400f, 150f, 0, 25f, 20f, 9f, new Vector2(0f, -60f), 30f, 15f, true, true); } + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { SpriteEffects spriteEffects = Projectile.spriteDirection == -1 ? SpriteEffects.FlipHorizontally : SpriteEffects.None; diff --git a/Projectiles/Summon/SageSpirit.cs b/Projectiles/Summon/SageSpirit.cs index c7925c58ac..c621a77e78 100644 --- a/Projectiles/Summon/SageSpirit.cs +++ b/Projectiles/Summon/SageSpirit.cs @@ -25,6 +25,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -191,8 +192,5 @@ namespace CalamityMod.Projectiles.Summon } } } - - // The spirit itself should not do direct damage. - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/SandnadoMinion.cs b/Projectiles/Summon/SandnadoMinion.cs index 4fcc69068f..3369526d19 100644 --- a/Projectiles/Summon/SandnadoMinion.cs +++ b/Projectiles/Summon/SandnadoMinion.cs @@ -22,6 +22,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 6; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -165,8 +166,6 @@ namespace CalamityMod.Projectiles.Summon TimerForShooting++; } - public override bool? CanDamage() => false; - #endregion } } diff --git a/Projectiles/Summon/SarosAura.cs b/Projectiles/Summon/SarosAura.cs index e626a5ea77..c9721af9e7 100644 --- a/Projectiles/Summon/SarosAura.cs +++ b/Projectiles/Summon/SarosAura.cs @@ -128,8 +128,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - #endregion } } diff --git a/Projectiles/Summon/SeashineSwordProj.cs b/Projectiles/Summon/SeashineSwordProj.cs index 61917656be..b225d398cb 100644 --- a/Projectiles/Summon/SeashineSwordProj.cs +++ b/Projectiles/Summon/SeashineSwordProj.cs @@ -44,6 +44,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; // Minion targeting feature is not active here since this isn't a normal summon weapon } @@ -316,6 +317,6 @@ namespace CalamityMod.Projectiles.Summon float _ = float.NaN; return Collision.CheckAABBvLineCollision(targetHitbox.TopLeft(), targetHitbox.Size(), Projectile.Center, tipPosition, 30 * Projectile.scale, ref _); } - public override bool? CanDamage() => (isAttacking && attackTimer > bladeValue && Projectile.ai[0] != 0) ? null : false; + public override bool MinionContactDamage() => isAttacking && attackTimer > bladeValue && Projectile.ai[0] != 0; } } diff --git a/Projectiles/Summon/SeekerSummonProj.cs b/Projectiles/Summon/SeekerSummonProj.cs index 19acb71cf0..c3dbaf6c1c 100644 --- a/Projectiles/Summon/SeekerSummonProj.cs +++ b/Projectiles/Summon/SeekerSummonProj.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 5; + Main.projPet[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; } @@ -159,5 +160,7 @@ namespace CalamityMod.Projectiles.Summon else if (Projectile.velocity.Length() < 28f) Projectile.velocity = Projectile.SafeDirectionTo(target.Center) * 29f; } + + public override bool MinionContactDamage() => true; } } diff --git a/Projectiles/Summon/SepulcherMinion.cs b/Projectiles/Summon/SepulcherMinion.cs index 61ce1510ae..88a2cc9289 100644 --- a/Projectiles/Summon/SepulcherMinion.cs +++ b/Projectiles/Summon/SepulcherMinion.cs @@ -693,6 +693,8 @@ namespace CalamityMod.Projectiles.Summon #endregion + public override bool MinionContactDamage() => true; + public override bool? CanHitNPC(NPC target) { if (target.type == ModContent.NPCType()) diff --git a/Projectiles/Summon/Shellfish.cs b/Projectiles/Summon/Shellfish.cs index c49d18530f..be18d29396 100644 --- a/Projectiles/Summon/Shellfish.cs +++ b/Projectiles/Summon/Shellfish.cs @@ -424,7 +424,7 @@ namespace CalamityMod.Projectiles.Summon return null; } - public override bool? CanDamage() => Projectile.ai[0] == 0f; + public override bool MinionContactDamage() => Projectile.ai[0] == 0f; public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { diff --git a/Projectiles/Summon/SiriusMinion.cs b/Projectiles/Summon/SiriusMinion.cs index 8078ce92df..32bc089bd1 100644 --- a/Projectiles/Summon/SiriusMinion.cs +++ b/Projectiles/Summon/SiriusMinion.cs @@ -120,8 +120,6 @@ namespace CalamityMod.Projectiles.Summon public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 200); - public override bool? CanDamage() => false; - #endregion } } diff --git a/Projectiles/Summon/SkeletalDragonMother.cs b/Projectiles/Summon/SkeletalDragonMother.cs index 533f5934b4..1d93cc03e1 100644 --- a/Projectiles/Summon/SkeletalDragonMother.cs +++ b/Projectiles/Summon/SkeletalDragonMother.cs @@ -138,5 +138,7 @@ namespace CalamityMod.Projectiles.Summon Projectile.frame = 0; } } + + public override bool MinionContactDamage() => true; } } diff --git a/Projectiles/Summon/SmallSkeletonMinion.cs b/Projectiles/Summon/SmallSkeletonMinion.cs index 2cc5640838..d5be045715 100644 --- a/Projectiles/Summon/SmallSkeletonMinion.cs +++ b/Projectiles/Summon/SmallSkeletonMinion.cs @@ -15,9 +15,10 @@ namespace CalamityMod.Projectiles.Summon public int Variant; public override void SetStaticDefaults() { + Main.projFrames[Type] = 7; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; - Main.projFrames[Type] = 7; } public override void SetDefaults() @@ -171,6 +172,9 @@ namespace CalamityMod.Projectiles.Summon } return true; } + + public override bool MinionContactDamage() => true; + public override bool PreDraw(ref Color lightColor) { Rectangle frame = new Rectangle(Variant * Projectile.width, Projectile.frame * Projectile.height, Projectile.width, Projectile.height); diff --git a/Projectiles/Summon/SolarGod.cs b/Projectiles/Summon/SolarGod.cs index 890f7bbf8c..47b224fc2b 100644 --- a/Projectiles/Summon/SolarGod.cs +++ b/Projectiles/Summon/SolarGod.cs @@ -11,6 +11,7 @@ namespace CalamityMod.Projectiles.Summon public new string LocalizationCategory => "Projectiles.Summon"; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -128,7 +129,5 @@ namespace CalamityMod.Projectiles.Summon } public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 200); - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/SolarPixie.cs b/Projectiles/Summon/SolarPixie.cs index 3ca4ff1c0f..b3c3595cc5 100644 --- a/Projectiles/Summon/SolarPixie.cs +++ b/Projectiles/Summon/SolarPixie.cs @@ -11,6 +11,7 @@ namespace CalamityMod.Projectiles.Summon public new string LocalizationCategory => "Projectiles.Summon"; public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -129,7 +130,5 @@ namespace CalamityMod.Projectiles.Summon } public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 200); - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/StellarTorusSummon.cs b/Projectiles/Summon/StellarTorusSummon.cs index 0be79f013e..8a178d4edc 100644 --- a/Projectiles/Summon/StellarTorusSummon.cs +++ b/Projectiles/Summon/StellarTorusSummon.cs @@ -32,6 +32,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 4; + Main.projPet[Type] = true; ProjectileID.Sets.DrawScreenCheckFluff[Type] = 12000; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; @@ -272,7 +273,5 @@ namespace CalamityMod.Projectiles.Summon return false; } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/StormjawBaby.cs b/Projectiles/Summon/StormjawBaby.cs index dfa4c71d3b..5c67d408c2 100644 --- a/Projectiles/Summon/StormjawBaby.cs +++ b/Projectiles/Summon/StormjawBaby.cs @@ -18,9 +18,10 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projFrames[Type] = 10; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; - Main.projFrames[Type] = 10; } public override void SetDefaults() @@ -557,7 +558,5 @@ namespace CalamityMod.Projectiles.Summon Main.gore[index].velocity *= 0.1f; } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/TacticalPlagueJet.cs b/Projectiles/Summon/TacticalPlagueJet.cs index 0fad924ff2..854d66152b 100644 --- a/Projectiles/Summon/TacticalPlagueJet.cs +++ b/Projectiles/Summon/TacticalPlagueJet.cs @@ -20,6 +20,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 3; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -59,8 +60,6 @@ namespace CalamityMod.Projectiles.Summon FalseGun.DamageType = DamageClass.Summon; } - public override bool? CanDamage() => false; - public override void AI() { Player player = Main.player[Projectile.owner]; diff --git a/Projectiles/Summon/TundraFlameBlossom.cs b/Projectiles/Summon/TundraFlameBlossom.cs index 8d7d4333ea..cfd486db17 100644 --- a/Projectiles/Summon/TundraFlameBlossom.cs +++ b/Projectiles/Summon/TundraFlameBlossom.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -109,8 +110,6 @@ namespace CalamityMod.Projectiles.Summon Projectile.netUpdate = true; } - public override bool? CanDamage() => false; - #endregion } } diff --git a/Projectiles/Summon/Umbrella/MagicHat.cs b/Projectiles/Summon/Umbrella/MagicHat.cs index 367a495d61..c75ea5de51 100644 --- a/Projectiles/Summon/Umbrella/MagicHat.cs +++ b/Projectiles/Summon/Umbrella/MagicHat.cs @@ -116,9 +116,6 @@ namespace CalamityMod.Projectiles.Summon.Umbrella // Glowmask effect public override Color? GetAlpha(Color lightColor) => new Color(200, 200, 200, 200); - // No contact damage - public override bool? CanDamage() => false; - // Draw over players public override void DrawBehind(int index, List behindNPCsAndTiles, List behindNPCs, List behindProjectiles, List overPlayers, List overWiresUI) => overPlayers.Add(index); diff --git a/Projectiles/Summon/VileFeederSummon.cs b/Projectiles/Summon/VileFeederSummon.cs index d26e1ff4ed..5c57c0fb08 100644 --- a/Projectiles/Summon/VileFeederSummon.cs +++ b/Projectiles/Summon/VileFeederSummon.cs @@ -18,6 +18,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 3; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -157,6 +158,8 @@ namespace CalamityMod.Projectiles.Summon } } + public override bool MinionContactDamage() => true; + public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { Player player = Main.player[Projectile.owner]; diff --git a/Projectiles/Summon/ViridVanguardBlade.cs b/Projectiles/Summon/ViridVanguardBlade.cs index d8180d7698..ce229a590f 100644 --- a/Projectiles/Summon/ViridVanguardBlade.cs +++ b/Projectiles/Summon/ViridVanguardBlade.cs @@ -57,6 +57,8 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; + ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; ProjectileID.Sets.TrailingMode[Type] = 2; ProjectileID.Sets.TrailCacheLength[Type] = 45; @@ -91,6 +93,8 @@ namespace CalamityMod.Projectiles.Summon ChargeStartingPosition = reader.ReadVector2(); } + public override bool MinionContactDamage() => true; + public override void AI() { // Decide whether the minion should still exist. diff --git a/Projectiles/Summon/VoidConcentrationAura.cs b/Projectiles/Summon/VoidConcentrationAura.cs index 91487ce95c..1d9f07ff49 100644 --- a/Projectiles/Summon/VoidConcentrationAura.cs +++ b/Projectiles/Summon/VoidConcentrationAura.cs @@ -91,5 +91,7 @@ namespace CalamityMod.Projectiles.Summon return; timer++; } + + public override bool MinionContactDamage() => true; } } diff --git a/Projectiles/Summon/WhiteDragonHead.cs b/Projectiles/Summon/WhiteDragonHead.cs index 421192a221..6a02f6f326 100644 --- a/Projectiles/Summon/WhiteDragonHead.cs +++ b/Projectiles/Summon/WhiteDragonHead.cs @@ -214,6 +214,8 @@ namespace CalamityMod.Projectiles.Summon return false; } + public override bool MinionContactDamage() => true; + public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(BuffID.Frostburn2, 300); } } diff --git a/Projectiles/Summon/WitherBlossom.cs b/Projectiles/Summon/WitherBlossom.cs index 833562f02a..fdb893d419 100644 --- a/Projectiles/Summon/WitherBlossom.cs +++ b/Projectiles/Summon/WitherBlossom.cs @@ -20,6 +20,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { + Main.projPet[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -59,7 +60,5 @@ namespace CalamityMod.Projectiles.Summon } } } - - public override bool? CanDamage() => false; } } diff --git a/Projectiles/Summon/WulfrumDroid.cs b/Projectiles/Summon/WulfrumDroid.cs index cc8d4f7eee..49c7084efa 100644 --- a/Projectiles/Summon/WulfrumDroid.cs +++ b/Projectiles/Summon/WulfrumDroid.cs @@ -99,6 +99,7 @@ namespace CalamityMod.Projectiles.Summon public override void SetStaticDefaults() { Main.projFrames[Type] = 12; + Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; } @@ -508,8 +509,6 @@ namespace CalamityMod.Projectiles.Summon } } - public override bool? CanDamage() => false; - public override void SendExtraAI(BinaryWriter writer) { writer.Write(BuffModeBuffer); From 843ff3e6457278582d0ca392928daeb2b841780d Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Thu, 26 Jun 2025 09:17:15 -0400 Subject: [PATCH 42/77] Added comment for future reference on BaseMinionProjectile --- Projectiles/BaseProjectiles/BaseMinionProjectile.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Projectiles/BaseProjectiles/BaseMinionProjectile.cs b/Projectiles/BaseProjectiles/BaseMinionProjectile.cs index 5d6e660d58..cf7e6014d3 100644 --- a/Projectiles/BaseProjectiles/BaseMinionProjectile.cs +++ b/Projectiles/BaseProjectiles/BaseMinionProjectile.cs @@ -140,6 +140,7 @@ namespace CalamityMod.Projectiles.BaseProjectiles public override void SetStaticDefaults() { Main.projFrames[Type] = AnimationFrames; + // IMPORTANT: Setting Main.projPet disables projectile damage! If you are making a charging minion, be sure to override the MinionContactDamage hook Main.projPet[Type] = true; ProjectileID.Sets.MinionSacrificable[Type] = true; ProjectileID.Sets.MinionTargettingFeature[Type] = true; From a83dd1d72b9039870c470fcb6ebaa7b9b2e2aa1b Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Thu, 26 Jun 2025 21:25:59 -0400 Subject: [PATCH 43/77] Add Wizard name Mike Cyclops for donor --- NPCs/CalamityGlobalTownNPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index e866e2769c..c339dbd423 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -271,6 +271,7 @@ namespace CalamityMod.NPCs "Chris Tallballs", // <@!770211589076418571> (vysterx) (previously: bewearium) "Syethas", // <@!325413275066171393> (cosmicstariight) "Nextdoor Psycho", // <@!173261518572486656> (nextdoorpsycho) + "Mike Cyclops", // <@!702327497475227741> (seichoseicho) }; private static readonly string[] ZoologistNames = { From c4fa1597633d1d0fe382951dde66b7dba8f14ae2 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Thu, 26 Jun 2025 19:18:59 -0700 Subject: [PATCH 44/77] donor "Big Blungus" name for Nerd Slime --- NPCs/CalamityGlobalTownNPC.cs | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index c339dbd423..c238d4e96b 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -282,6 +282,18 @@ namespace CalamityMod.NPCs "Gwenhwyvar", // <@!291342874497515531> (diamondnife) "Daxie", // <@!465438861103988737> (daxie626) }; + // Town Slimes + private static readonly string[] ClumsySlimeNames = null; + private static readonly string[] CoolSlimeNames = null; + private static readonly string[] DivaSlimeNames = null; + private static readonly string[] ElderSlimeNames = null; + private static readonly string[] MysticSlimeNames = null; + private static readonly string[] NerdySlimeNames = + { + "Big Blungus", // <@!272759434282008577> (schmoov) + }; + private static readonly string[] SquireSlimeNames = null; + private static readonly string[] SurlySlimeNames = null; // The following sets are for the 1.4 Town Pets: Town Dogs, Cats and Bunnies. // All three pet types come in numerous breeds. Each breed has its own name pool. @@ -600,6 +612,32 @@ namespace CalamityMod.NPCs AddNewNames(nameList, ZoologistNames); break; + // Town Slimes + case NPCID.TownSlimePurple: // Clumsy Slime + AddNewNames(nameList, ClumsySlimeNames); + break; + case NPCID.TownSlimeGreen: // Cool Slime + AddNewNames(nameList, CoolSlimeNames); + break; + case NPCID.TownSlimeRainbow: // Diva Slime + AddNewNames(nameList, DivaSlimeNames); + break; + case NPCID.TownSlimeOld: // Elder Slime + AddNewNames(nameList, ElderSlimeNames); + break; + case NPCID.TownSlimeYellow: // Mystic Slime + AddNewNames(nameList, MysticSlimeNames); + break; + case NPCID.TownSlimeBlue: // Nerdy Slime + AddNewNames(nameList, NerdySlimeNames); + break; + case NPCID.TownSlimeCopper: // Squire Slime + AddNewNames(nameList, SquireSlimeNames); + break; + case NPCID.TownSlimeRed: // Surly Slime + AddNewNames(nameList, SurlySlimeNames); + break; + // This function doesn't work with Town Pets currently case NPCID.TownCat: AddNewNames(nameList, TownCatNames); From ed8ff6b9f856bfffe7119ac03fa13e549a474e15 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Thu, 26 Jun 2025 23:59:54 -0400 Subject: [PATCH 45/77] Add Town Bunny name Puffer for developer Piky --- NPCs/CalamityGlobalTownNPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index c238d4e96b..0b93e3400a 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -374,6 +374,7 @@ namespace CalamityMod.NPCs private static readonly string[] TownBunnyNames = { "Poco", // <@!1192261996146593872> (tostitomuncher33) + "Puffer", // <@!181103507711983616> (piky) }; private static readonly string[] TownBunnyWhiteNames = null; private static readonly string[] TownBunnyAngoraNames = null; From bee2fe208eabedcfcdcd041a905523680b17d1c3 Mon Sep 17 00:00:00 2001 From: Shayy Date: Fri, 27 Jun 2025 02:29:26 -0400 Subject: [PATCH 46/77] zoologist sells lacewing now zoologist sells lacewing now post plant --- NPCs/CalamityGlobalTownNPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index e866e2769c..8b779be239 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1283,6 +1283,7 @@ namespace CalamityMod.NPCs if (type == NPCID.BestiaryGirl) { shop.AddWithCustomValue(ItemID.Steak, Item.buyPrice(gold: 5), Condition.HappyEnoughToSellPylons, Condition.Hardmode); + shop.AddWithCustomValue(ItemID.EmpressButterfly, Item.buyPrice(gold: 10), Condition.DownedPlantera); } if (type == NPCID.Truffle) From 9b1cf82c3de9fb0646f5e02e1b26b7d223e2de20 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:32:14 -0400 Subject: [PATCH 47/77] Added Bandit name "Shade" for developer Shade --- NPCs/TownNPCs/Bandit.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPCs/TownNPCs/Bandit.cs b/NPCs/TownNPCs/Bandit.cs index f843890b83..b0eb9f89bf 100644 --- a/NPCs/TownNPCs/Bandit.cs +++ b/NPCs/TownNPCs/Bandit.cs @@ -105,7 +105,7 @@ namespace CalamityMod.NPCs.TownNPCs public override List SetNPCNameList() => new List() { - // Patron names + // Dedicated names "Xplizzy", // <@!98826096237109248> (whitegiraffe) "Freakish", // <@!750363283520749598> (freak5650) "Calder", // <@!601897959176798228> (hardlightcaster) @@ -116,6 +116,7 @@ namespace CalamityMod.NPCs.TownNPCs "Jackie", // <@!353241811717718016> (jackalchan) "Ishmael", // <@!840416568000381046> (vanillaoyster) "Ariallis", // <@!518231218806980609> (ariallis) + "Shade", // <@!613133259563466755> (shade__storm) // Original names this.GetLocalizedValue("Name.Laura"), From 8733622e9447adee541390db00e27f32f334af9a Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Fri, 27 Jun 2025 14:08:12 -0400 Subject: [PATCH 48/77] Add Blue Town Slime name Rimuru Tempest for donor --- NPCs/CalamityGlobalTownNPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 313e2ee9e2..81b36b3502 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -291,6 +291,7 @@ namespace CalamityMod.NPCs private static readonly string[] NerdySlimeNames = { "Big Blungus", // <@!272759434282008577> (schmoov) + "Rimuru Tempest", // <@!806463201398358036> (c0d3_404) }; private static readonly string[] SquireSlimeNames = null; private static readonly string[] SurlySlimeNames = null; From bbdb59f85e65f1e6acaa97b2caf9e5a8fbcd0796 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:38:18 -0400 Subject: [PATCH 49/77] Skeletron Merchant sells Punch Card if named "Sans Undertale" --- NPCs/CalamityGlobalTownNPC.cs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 81b36b3502..fc16876bc9 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1332,6 +1332,29 @@ namespace CalamityMod.NPCs shop.Add(ItemType()); } } + + public override void ModifyActiveShop(NPC npc, string shopName, Item[] items) + { + // TODO: Uses a hardcoded string since dedicated names are currently hardcoded strings + // Will need to be changed if dedicated names are localized in the future + if (npc.type == NPCID.SkeletonMerchant && npc.GivenName == "Sans Undertale") + { + int index = 0; + for (int i = 0; i < Chest.maxItems; i++) + { + if (items[i] == null) + { + index = i; + break; + } + } + var punch = new Item(ItemType()) + { + shopCustomPrice = Item.buyPrice(gold: 10) + }; + items[index] = punch; + } + } #endregion } } From 4249ccaa18c465e1192475351f284f443c106c65 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Fri, 27 Jun 2025 17:17:47 -0400 Subject: [PATCH 50/77] Skeleton Merchant no longer drops Punch Card when killed --- NPCs/CalamityGlobalNPCLoot.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index cb31ae999e..496fef341d 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -178,12 +178,6 @@ namespace CalamityMod.NPCs npcLoot.Add(ItemDropRule.NormalvsExpert(ModContent.ItemType(), 3, 2)); break; - // Skeleton Merchant - // Punch Card @ 100% - case NPCID.SkeletonMerchant: - npcLoot.Add(ModContent.ItemType()); - break; - // Skeleton Archer // Magic Quiver @ 5% (2.5% in Vanilla) // Marrow @ 2.5% (0.5% in Vanilla) From 086688099a715f6c77cd55a12ac31e83667966fd Mon Sep 17 00:00:00 2001 From: Xyk Date: Fri, 27 Jun 2025 17:54:31 -0700 Subject: [PATCH 51/77] Arc Flash Ring Fixes and Improvements Fixed bolts double scaling with adrenaline. Now has no limit on singular projectiles spawning bolts, instead making bolts that would have spawned in quick succession from the same projectile be invisible and last less time, without hampering the item's expected efficiency. Improved visuals and made the projectile significantly more optimized. --- CalPlayer/CalamityPlayerOnHit.cs | 25 ++-- Projectiles/CalamityGlobalProjectile.cs | 10 +- Projectiles/Typeless/FlashBolt.cs | 171 ++++++++++++++---------- 3 files changed, 117 insertions(+), 89 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index eb8b41f072..1fb43181d2 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -193,13 +193,14 @@ namespace CalamityMod.CalPlayer // Arc Flash Ring lightning strike (Remember to change the one for projectile hits if applicable when you change this one!) // This one has a lot less limits than the projectile one, but that's because vanilla broadsword code is limiting (wow so surprising) - if (arcFlashRing && (Main.rand.Next(0, 100) < 6)) + bool spawnChance = (Main.rand.Next(0, 100) < 6); + if (arcFlashRing && spawnChance) { var source = item.GetSource_FromThis(); - int damage = (int)((hit.Damage * 4f) * (hit.Crit ? 0.5f : 1)); // 400% damage (uneffected by crits) - Vector2 position = target.Center + new Vector2(0, -750); + int damage = (int)(((hit.Damage * 4f) * (hit.Crit ? 0.5f : 1)) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) - Projectile.NewProjectile(source, position, new Vector2(0, 10), ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI); + Projectile bolt = Projectile.NewProjectileDirect(source, target.Center, Vector2.Zero, ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI); + bolt.DamageType = hit.DamageType; } // Shattered Community tracks all damage dealt with Rage Mode (ignoring dummies). @@ -396,22 +397,20 @@ namespace CalamityMod.CalPlayer CalamityGlobalProjectile globalProj = proj.Calamity(); // Arc Flash Ring lightning strike (Remember to change the one for item hits if applicable when you change this one!) - // Minions ignore the chance penalty on penetration - bool spawnChance = (Main.rand.Next(0, 100) < MathHelper.Clamp(6 - proj.numHits, (proj.minion ? 6 : 1), 6)); - if (arcFlashRing && spawnChance && proj.type != ProjectileType() && globalProj.spawnArcFlash) + bool spawnChance = (Main.rand.Next(0, 100) < 6); + if (arcFlashRing && spawnChance && proj.type != ProjectileType()) { proj.active = true; // Okay so if a projectile manually kills itself on hit, it totally breaks the bolts. to prevent this we set them to active var source = proj.GetSource_FromThis(); - int damage = (int)((hit.Damage * 4f) * (hit.Crit ? 0.5f : 1)); // 400% damage (uneffected by crits) - Vector2 position = target.Center + new Vector2(0, -750); + int damage = (int)(((hit.Damage * 4f) * (hit.Crit ? 0.5f : 1)) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) - Projectile bolt = Projectile.NewProjectileDirect(source, position, new Vector2(0, 10), ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI); + Projectile bolt = Projectile.NewProjectileDirect(source, target.Center, Vector2.Zero, ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI, (globalProj.showArcFlash ? 0 : 1)); bolt.DamageType = hit.DamageType; - globalProj.spawnArcFlash = false; - // This is really only used for long lasting projectiles and contact damage minions - globalProj.arcFlashCooldown = 90; + globalProj.showArcFlash = false; + // This is really only used for piercing and long lasting projectiles so they dont flood the screen with bolts + globalProj.arcFlashCooldown = 30; } if (!proj.npcProj && !proj.trap && proj.friendly) diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 333dab3ca4..0736d86eaf 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -115,7 +115,7 @@ namespace CalamityMod.Projectiles /// If true, this projectile is able to spawn lightning while using Arc Flash Ring.
/// This is set to false when lightning is procced, and is reset to true when the cooldown ends. /// - public bool spawnArcFlash = true; + public bool showArcFlash = true; /// Cooldown variable for Arc Flash Ring's lightning. Primarily used for lingering projectiles and minions. public int arcFlashCooldown = 0; @@ -3772,14 +3772,14 @@ namespace CalamityMod.Projectiles confetti.velocity.Y += Main.rand.Next(-50, 51) * 0.05f; } } - // Support to help things like holdout swords work with Arc Flash Ring - if (!spawnArcFlash && projectile.numHits == 0) - spawnArcFlash = true; + // Support to help things like holdout swords look better with Arc Flash Ring + if (!showArcFlash && projectile.numHits == 0) + showArcFlash = true; // Cooldown for the arc flash so that long lasting projectiles (like dashing summons) can spawn multiple bolts if (arcFlashCooldown >= 0) arcFlashCooldown--; if (arcFlashCooldown == 0) - spawnArcFlash = true; + showArcFlash = true; if (conditionalHomingRange > 0f) { CalamityUtils.HomeInOnNPC(projectile, !projectile.tileCollide, conditionalHomingRange, 12f, 20f); diff --git a/Projectiles/Typeless/FlashBolt.cs b/Projectiles/Typeless/FlashBolt.cs index 3f86de4862..2fd8cb3778 100644 --- a/Projectiles/Typeless/FlashBolt.cs +++ b/Projectiles/Typeless/FlashBolt.cs @@ -1,5 +1,9 @@ -using CalamityMod.Particles; +using System; +using CalamityMod.Dusts; +using CalamityMod.Particles; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using ReLogic.Content; using Terraria; using Terraria.Audio; using Terraria.ID; @@ -12,9 +16,16 @@ namespace CalamityMod.Projectiles.Typeless public new string LocalizationCategory => "Projectiles.Typeless"; public override string Texture => "CalamityMod/Projectiles/InvisibleProj"; public int time = 0; - public float colorValue = 0; - public float sizeMult = 1; + public int dir = 0; + bool setAltPlace = false; + public Vector2 altPlace; + public Player Owner => Main.player[Projectile.owner]; public bool invalidTarget => (Projectile.ai[0] < 0f || Projectile.ai[0] > 199f); + public bool simplify => Projectile.ai[1] > 0f; + public override void SetStaticDefaults() + { + ProjectileID.Sets.DrawScreenCheckFluff[Type] = 10000; + } public override void SetDefaults() { Projectile.width = 60; @@ -24,22 +35,20 @@ namespace CalamityMod.Projectiles.Typeless Projectile.ignoreWater = true; Projectile.DamageType = AverageDamageClass.Instance; Projectile.penetrate = 1; // Survives through its first hit by "cheating" and incrementing its own pierce counter - Projectile.extraUpdates = 75; - Projectile.timeLeft = 200; + Projectile.extraUpdates = 0; + Projectile.timeLeft = 2; } - public override void AI() { - Player Owner = Main.player[Projectile.owner]; + // If the target is dead, remove them as a target and hit anything + NPC target = (invalidTarget ? null : Main.npc[(int)Projectile.ai[0]]); + if (target == null || !target.active || target.life <= 0) + Projectile.ai[0] = -1; + // Visibility/Sound toggle on acc visibility bool visible = Owner.Calamity().arcFlashRingVisual; - colorValue = MathHelper.Lerp(colorValue, 50, 0.025f); - Color usedColor = Color.Lerp(Color.Cyan, Color.Orchid, Utils.GetLerpValue(0, 50, colorValue)); - - if (time == 0) + if (time == 0 && Projectile.ai[0] != -1 && !simplify) { - colorValue += Main.rand.Next(0, 20); - sizeMult = 1; if (visible) { SoundStyle fire = new("CalamityMod/Sounds/Item/ArcFlash"); @@ -47,71 +56,91 @@ namespace CalamityMod.Projectiles.Typeless } } - // If the target is dead, remove them as a target and hit anything - NPC target = (invalidTarget ? null : Main.npc[(int)Projectile.ai[0]]); - if (target == null || !target.active || target.life <= 0) - Projectile.ai[0] = -1; - - float targetDist = Vector2.Distance(Owner.Center, Projectile.Center); - - Projectile.rotation = Projectile.velocity.ToRotation() + MathHelper.PiOver2; - if (targetDist < 1400f) - { - Vector2 pos = Projectile.Center - Projectile.velocity * 15; - if (Projectile.timeLeft % 4 == 0) - { - Particle spark2 = new BoltParticle(pos, -Projectile.velocity * 0.05f, false, 30, 0.6f * sizeMult, usedColor * (visible ? 1 : 0.25f), new Vector2(1.8f, 0.8f), true, true, false, 0.3f); - GeneralParticleHandler.SpawnParticle(spark2); - } - if (Main.rand.NextBool(35)) - { - Particle spark2 = new BoltParticle(pos, Projectile.velocity.RotatedByRandom(0.6f) * Main.rand.NextFloat(0.3f, 1.9f), false, 23, Main.rand.NextFloat(0.2f, 0.25f) * sizeMult, usedColor * (visible ? 1 : 0.3f), new Vector2(1.8f, 0.8f), true, true, false, 0.3f); - GeneralParticleHandler.SpawnParticle(spark2); - } - if (Main.rand.NextBool(10) && visible) - { - Particle spark2 = new CustomSpark(pos, Projectile.velocity * Main.rand.NextFloat(-0.4f, 0.4f), "CalamityMod/Particles/DrainLineBloom", false, 80, Main.rand.NextFloat(1.2f, 1.3f) * sizeMult, usedColor * (visible ? 1 : 0.3f), new Vector2(1, 4), true, true); - GeneralParticleHandler.SpawnParticle(spark2); - } - if (time % 5 == 0 && visible) - { - Dust dust = Dust.NewDustPerfect(pos, 278, new Vector2(5, 5).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1f), 0, default, Main.rand.NextFloat(0.45f, 0.6f)); - dust.noGravity = true; - dust.color = usedColor; - } - } - if (Projectile.numHits > 0) - { - sizeMult *= 0.97f; - } time++; } + public override bool PreDraw(ref Color lightColor) + { + if (!setAltPlace) + { + NPC target = (invalidTarget ? null : Main.npc[(int)Projectile.ai[0]]); + if (target == null || !target.active || target.life <= 0) + Projectile.ai[0] = -1; + if (target != null && Projectile.ai[0] != -1) + { + float size = (Math.Min(target.width, target.height) * 0.35f) + 10; + altPlace = Projectile.Center + Main.rand.NextVector2Circular(size, size); + } + setAltPlace = true; + } + + if (simplify || Projectile.ai[0] == -1 || !Owner.Calamity().arcFlashRingVisual) + return false; + + Texture2D tex = ModContent.Request("CalamityMod/Particles/BloomCircle").Value; + + if (dir == 0) + dir = Main.rand.NextBool() ? -1 : 1; + + int distance = (int)(600 + (altPlace.Y - Owner.Center.Y)); + int travelAmount = 10; + Vector2 currentPos = altPlace; + Vector2 lastPos = currentPos; + bool zap = false; // Swapping the direction of the bolt + Color drawColor = Color.White; + float lifeLerp = (Projectile.numHits == 0 ? 1 : (float)Math.Pow(Utils.GetLerpValue(-5, 15, Projectile.timeLeft, true), 3)); + int angleSwapTimer = 0; + int angleSwapMax = 7; + for (int i = 0; i < distance; i += travelAmount) + { + float angleLerp = Math.Min(Utils.GetLerpValue(angleSwapMax, 0, angleSwapTimer, true), Utils.GetLerpValue(0, angleSwapMax, angleSwapTimer, true)); + float endLerp = Utils.GetLerpValue(0, distance, i, true); + drawColor = Color.Lerp(Color.Cyan, Color.Orchid, endLerp); + Main.EntitySpriteDraw(tex, currentPos - Main.screenPosition, null, drawColor with { A = 0 }, lastPos.DirectionTo(currentPos).ToRotation() + MathHelper.PiOver2, new Vector2(tex.Width / 2, tex.Height / 2), new Vector2((2.5f - 1.5f * angleLerp) * lifeLerp * Math.Max(endLerp, 0.25f), 1 + 2f * angleLerp) * 0.2f, SpriteEffects.None); + lastPos = currentPos; + currentPos -= new Vector2(travelAmount * 1.5f * endLerp * dir * (zap ? -1 : 1) * lifeLerp, travelAmount); + angleSwapTimer++; + if (angleSwapTimer >= angleSwapMax) { zap = !zap; angleSwapTimer = 0; } + } + return false; + } public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { - // Stops the projectile from deleting itself, while maintaining the masquerade - Projectile.penetrate++; - - //colorValue = Main.rand.Next(0, 10); target.AddBuff(BuffID.Electrified, 180); - Projectile.timeLeft = 25; - Player Owner = Main.player[Projectile.owner]; - if (Owner.Calamity().arcFlashRingVisual && Projectile.numHits == 0) + if (!simplify) { - Vector2 pos = target.Center; - for (int i = 0; i < 10; i++) + // Stops the projectile from deleting itself, while maintaining the masquerade + Projectile.penetrate++; + + Projectile.timeLeft = 15; + if (Projectile.numHits == 0) { - Particle spark2 = new BoltParticle(pos, new Vector2(8, 8).RotatedByRandom(100) * Main.rand.NextFloat(0.3f, 1.9f), true, 13, Main.rand.NextFloat(0.2f, 0.3f) * sizeMult, Main.rand.NextBool(5) ? Color.Cyan : Color.Orchid, new Vector2(1.8f, 0.8f), true, true, false, 0.8f); - GeneralParticleHandler.SpawnParticle(spark2); - Dust dust = Dust.NewDustPerfect(pos, 278, new Vector2(14, 14).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1f), 0, default, Main.rand.NextFloat(0.8f, 0.9f)); - dust.noGravity = false; - dust.color = Main.rand.NextBool(5) ? Color.Cyan : Color.Orchid; + if (!setAltPlace) + { + if (target != null && Projectile.ai[0] != -1) + { + float size = (Math.Min(target.width, target.height) * 0.35f) + 10; + altPlace = Projectile.Center + Main.rand.NextVector2Circular(size, size); + } + setAltPlace = true; + } + Vector2 pos = altPlace; + if (Owner.Calamity().arcFlashRingVisual) + { + for (int i = 0; i < 10; i++) + { + Dust dust = Dust.NewDustPerfect(pos, ModContent.DustType(), new Vector2(18, 18).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1f), 0, default, Main.rand.NextFloat(1.3f, 1.5f) * 3); + dust.noGravity = true; + dust.color = Main.rand.NextBool(3) ? Color.Cyan : Color.Orchid; + dust.fadeIn = 7.5f; + } + Particle orb = new CustomPulse(pos, Vector2.Zero, Color.Orchid, "CalamityMod/Particles/LargeBloom", new Vector2(1, 1), Main.rand.NextFloat(-10, 10), 0.68f, 0.5f, 14); + GeneralParticleHandler.SpawnParticle(orb); + Particle orb2 = new CustomPulse(pos, Vector2.Zero, Color.White * 0.8f, "CalamityMod/Particles/LargeBloom", new Vector2(1, 1), Main.rand.NextFloat(-10, 10), 0.225f, 0.2f, 14); + GeneralParticleHandler.SpawnParticle(orb2); + } + Particle pulse2 = new CustomPulse(pos, Vector2.Zero, Color.Cyan * (Owner.Calamity().arcFlashRingVisual ? 1 : 0.6f), "CalamityMod/Particles/BloomRing", new Vector2(1, 1), 0, 0.3f, 0.95f, 10); + GeneralParticleHandler.SpawnParticle(pulse2); } - Particle pulse2 = new CustomPulse(pos, Vector2.Zero, Color.Orchid, "CalamityMod/Particles/HighResFoggyCircleHardEdge", new Vector2(1, 1), 0, 0f, 0.0715f, 10); - GeneralParticleHandler.SpawnParticle(pulse2); - Particle orb = new CustomPulse(pos, Vector2.Zero, Color.Orchid, "CalamityMod/Particles/LargeBloom", new Vector2(1, 1), Main.rand.NextFloat(-10, 10), 0.78f, 0.5f, 14); - GeneralParticleHandler.SpawnParticle(orb); - Particle orb2 = new CustomPulse(pos, Vector2.Zero, Color.White, "CalamityMod/Particles/LargeBloom", new Vector2(1, 1), Main.rand.NextFloat(-10, 10), 0.325f, 0.2f, 14); - GeneralParticleHandler.SpawnParticle(orb2); } } public override bool? CanHitNPC(NPC target) @@ -120,7 +149,7 @@ namespace CalamityMod.Projectiles.Typeless return null; return false; } - public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => Projectile.numHits > 0 ? false : CalamityUtils.CircularHitboxCollision(Projectile.Center, 60 * sizeMult, targetHitbox); + public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => Projectile.numHits > 0 ? false : base.Colliding(projHitbox, targetHitbox); public override bool? CanCutTiles() => false; } } From 408fd2e70cbab52ccffad38ac455c3b61396d32d Mon Sep 17 00:00:00 2001 From: ZavarskiTheRealOne Date: Sat, 28 Jun 2025 12:25:23 +0800 Subject: [PATCH 52/77] standardized Shift, UP, and DOWN uses --- Localization/en-US/Mods.CalamityMod.Configs.hjson | 4 ++-- .../en-US/Mods.CalamityMod.Items.Accessories.hjson | 8 ++++---- .../Mods.CalamityMod.Items.Armor.PostMoonLord.hjson | 10 +++++----- .../Mods.CalamityMod.Items.Armor.PreHardmode.hjson | 4 ++-- Localization/en-US/Mods.CalamityMod.Items.Lore.hjson | 2 +- Localization/en-US/Mods.CalamityMod.Items.Misc.hjson | 4 ++-- Localization/en-US/Mods.CalamityMod.Items.Mounts.hjson | 2 +- .../en-US/Mods.CalamityMod.Items.Placeables.hjson | 6 +++--- Localization/en-US/Mods.CalamityMod.Misc.hjson | 2 +- Localization/en-US/Mods.CalamityMod.UI.hjson | 8 ++++---- Localization/en-US/Mods.CalamityMod.Vanilla.hjson | 4 ++-- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Configs.hjson b/Localization/en-US/Mods.CalamityMod.Configs.hjson index 89b05f4298..f1558562c2 100644 --- a/Localization/en-US/Mods.CalamityMod.Configs.hjson +++ b/Localization/en-US/Mods.CalamityMod.Configs.hjson @@ -55,7 +55,7 @@ CalamityClientConfig: { Label: "[i:CalamityMod/DesertProwlerHat] Calamity Armor Set Bonuses Can Use Vanilla Hotkey" Tooltip: ''' - Allows Calamity armor set bonuses to be triggered by the vanilla double-tap DOWN hotkey (or UP depending on your settings). + Allows Calamity armor set bonuses to be triggered by the vanilla double-tap {$Key.DOWN} hotkey (or {$Key.UP} depending on your settings). Also allows vanilla armor set bonuses to be triggered by Calamity's armor set bonus hotkey. ''' } @@ -137,7 +137,7 @@ CalamityClientConfig: { Label: "[i:CalamityMod/BallAndChain] Enable Fast Falling" Tooltip: ''' - When enabled, you can hold the DOWN key while in the air to accelerate downwards faster. + When enabled, you can hold the {$Key.DOWN} key while in the air to accelerate downwards faster. This config does not increase your maximum falling speed, just how quickly you accelerate to it. Calamity is balanced around this setting being enabled. ''' diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 3ec585a1af..1bfbb1b9e8 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -1012,7 +1012,7 @@ InterstellarStompers: { Tooltip: ''' 6% increased movement speed, 20% increased jump speed, and negates fall damage - Hold DOWN to increase your maximum fall speed + Hold {$Key.DOWN} to increase your maximum fall speed Pressing [KEY] while midair charges up a superspeed slam over 0.33 seconds While falling, you ram through enemies and don't take contact damage Once you hit the ground, you create an explosion at your feet @@ -1025,7 +1025,7 @@ IronBoots: { DisplayName: Iron Boots Tooltip: ''' - Hold DOWN to increase your maximum fall speed, even in water + Hold {$Key.DOWN} to increase your maximum fall speed, even in water Upon hitting the ground, a shockwave is created at your feet The shockwave scales in both damage and size the longer you fall for Negates fall damage @@ -2103,9 +2103,9 @@ WulfrumAcrobaticsPack: { This slingshot's stats scale with your equipped hook If the hook has special effects, the slingshot also benefits from them The slingshot allows for advanced rope-swinging physics - Hold UP or DOWN to retract or extend the slingshot's rope + Hold {$Key.UP} or {$Key.DOWN} to retract or extend the slingshot's rope Automatically grapples nearby walls if a lethal fall is detected - This safety feature won't activate if DOWN is held + This safety feature won't activate if {$Key.DOWN} is held 8% increased movement speed ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson index 70f81d51e7..55467ac803 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Armor.PostMoonLord.hjson @@ -23,7 +23,7 @@ AuricTeslaHeadRanged: { SetBonus: ''' Ranged Tarragon, Bloodflare and God Slayer armor effects - Hold SHIFT to view these set bonus details and Press SHIFT repeatedly to cycle through them + Hold Shift to view these set bonus details and press Shift repeatedly to cycle through them ''' SetBonus1: ''' @@ -56,7 +56,7 @@ AuricTeslaHeadRogue: { ''' +130 maximum stealth Rogue Tarragon, Bloodflare and God Slayer armor effects - Hold SHIFT to view these set bonus details and Press SHIFT repeatedly to cycle through them + Hold Shift to view these set bonus details and press Shift repeatedly to cycle through them ''' SetBonus1: ''' @@ -90,7 +90,7 @@ AuricTeslaHeadMelee: { Enemies are more likely to target you 28% increased melee speed Melee Tarragon, Bloodflare and God Slayer effects - Hold SHIFT to view these set bonus details and Press SHIFT repeatedly to cycle through them + Hold Shift to view these set bonus details and press Shift repeatedly to cycle through them ''' SetBonus1: ''' @@ -120,7 +120,7 @@ AuricTeslaHeadSummon: { Max run speed and acceleration boosted by 5% +6 max minions and 75% increased summon damage Summoner Tarragon, Bloodflare and Silva armor effects - Hold SHIFT to view these set bonus details and Press SHIFT repeatedly to cycle through them + Hold Shift to view these set bonus details and press Shift repeatedly to cycle through them ''' SetBonus1: ''' @@ -149,7 +149,7 @@ AuricTeslaHeadMagic: { ''' Max run speed and acceleration boosted by 5% Magic Tarragon, Bloodflare and Silva armor effects - Hold SHIFT to view these set bonus details and Press SHIFT repeatedly to cycle through them + Hold Shift to view these set bonus details and press Shift repeatedly to cycle through them ''' SetBonus1: ''' diff --git a/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson b/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson index cc6d91e9c8..10ff9b2c7a 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Armor.PreHardmode.hjson @@ -94,7 +94,7 @@ MarniteArchitectHeadgear: { AbilityDescription: ''' The lift gets summoned when the mount hotkey gets pressed [c/D4C870:without any mounts equipped] - Using the Up and Down keys can change the lift's height + Using the {$Key.UP} and {$Key.DOWN} keys can change the lift's height ''' } @@ -310,7 +310,7 @@ WulfrumHat: { While the armor is active, you can only use the integrated fusion cannon, but your defensive stats are increased Calling down the armor consumes one piece of {0}, and the armor will lose durability faster when hit ''' - ShiftToExpand: Hold SHIFT to see the stats of the fusion cannon + ShiftToExpand: Hold Shift to see the stats of the fusion cannon } WulfrumJacket: { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson b/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson index eeb8cd9033..5f127335a5 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson @@ -1,7 +1,7 @@ ShortTooltip: ''' [c/E3AF40:Whispers from on high dance in your ears...] - [c/BEBEBE:Press "Left Shift" to listen closer] + [c/BEBEBE:Press Left Shift to listen closer] ''' LoreAbyss: { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index e2b8cb8cd0..32f12039a9 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -383,12 +383,12 @@ VoodooDemonVoodooDoll: { ExhumeShortTooltip: ''' [c/C61B40:'Ah, are you curious what I saw within this item?'] - [c/BABABA:Press "Left Shift" to listen] + [c/BABABA:Press Left Shift to listen] ''' LegendaryShortTooltip: ''' [c/FF6F00:Tales of legends past radiate around you...] - [c/BABABA:Press "Left Shift" to listen closer] + [c/BABABA:Press Left Shift to listen closer] ''' BallAndChain: { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Mounts.hjson b/Localization/en-US/Mods.CalamityMod.Items.Mounts.hjson index bedd4c182b..28ecd49ad7 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Mounts.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Mounts.hjson @@ -32,7 +32,7 @@ GazeOfCrysthamyr: { Tooltip: ''' Summons a rideable shadow dragon mount - Hold Up to ascend faster + Hold {$Key.UP} to ascend faster ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index 81e0d43461..ebcb808e8d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -499,7 +499,7 @@ CalamityCanvas2023: { to make the focus follow the cursor, again to set it Arrow keys can also be used to manually adjust the focus point The scroll wheel zooms the focus in and out - Hold SHIFT to hide the UI without closing it + Hold Shift to hide the UI without closing it 'Embrace chaos' ''' } @@ -512,7 +512,7 @@ CalamityCanvas2024: { to make the focus follow the cursor, again to set it Arrow keys can also be used to manually adjust the focus point The scroll wheel zooms the focus in and out - Hold SHIFT to hide the UI without closing it + Hold Shift to hide the UI without closing it 'Embrace havoc' ''' } @@ -793,7 +793,7 @@ ThankYouPainting: { ''' Thanks to the entire team, everyone who supported, and those who all play the mod and keep it alive! The confines of this painting is not enough to fit the entire team - Hold SHIFT to see a list of past and current developers + Hold Shift to see a list of past and current developers ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Misc.hjson index 2e8c552179..6ca2aa511e 100644 --- a/Localization/en-US/Mods.CalamityMod.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Misc.hjson @@ -40,7 +40,7 @@ Tier3KnowledgeTooltip: The Jungle schematic must be deciphered first Tier4KnowledgeTooltip: The Underworld schematic must be deciphered first Tier5KnowledgeTooltip: The Ice biome schematic must be deciphered first // Other CombatText uses and Item Messages -ShiftToExpand: Hold SHIFT to see an expanded description +ShiftToExpand: Hold Shift to see an expanded description LearnedSchematic: You learned how to create new things! CragmawVibeCheck: Vibe check. AutocannonHot: OUCH! HOT! diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 0400bd6112..11eb118d7e 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -12,7 +12,7 @@ Charge: Current Charge DefenseDamage: Defense Damage SulphurousWater: Sulphuric Poisoning Stealth: Stealth -StealthShiftText: Hold SHIFT for more information on Rogue stealth +StealthShiftText: Hold Shift for more information on Rogue stealth StealthInfoText: ''' Rogue stealth builds while not attacking and slower while moving @@ -27,7 +27,7 @@ DifficultyStatusText: "{0} is {1}." ModeAppend: "{0} Mode" Active: Active NotActive: Not active -DifficultyShiftText: "[c/737373:Hold the 'Shift' key for more information]" +DifficultyShiftText: "[c/737373:Hold Shift key for more information]" CurrentlySelected: Currently Selected : {0} DifficultyClickText: "[c/919191:Click to select a difficulty mode]" ExpertDifficultyLock: "[c/919191:Higher difficulty modes can only be toggled in Expert Mode or above]" @@ -666,8 +666,8 @@ SulphurSea2: Irradiating one of the oceans Roxcalibur: I wanna rock AuricLandMines: Setting god killing traps // Hold Shift tooltip default -HoldShiftTooltipExtensionIndicator: Hold "Left Shift" for more -HoldShiftTooltipReplacementIndicator: Hold "Left Shift" for details +HoldShiftTooltipExtensionIndicator: Hold Left Shift for more +HoldShiftTooltipReplacementIndicator: Hold Left Shift for details // Dev and Donor Items DevItemTooltip: - Dev Item - DonorItemTooltip: - Donor Item - diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 3fbe79010e..0821a93650 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -284,8 +284,8 @@ EditedTooltip: { Provides 32% increased jump speed and increased fall speed Provides a gravitational boost jump, which recharges whenever gravity is flipped Slightly improves wingless air movement speed - Press UP to change gravity - Press DOWN to fall faster + Press {$Key.UP} to change gravity + Press {$Key.DOWN} to fall faster ''' } From cef6fe67c96d5358c7ab91a58ec1aeb721a05bec Mon Sep 17 00:00:00 2001 From: ZavarskiTheRealOne Date: Sat, 28 Jun 2025 12:29:55 +0800 Subject: [PATCH 53/77] Standardized left click and right click uses --- .../en-US/Mods.CalamityMod.Items.Fishing.hjson | 2 +- .../en-US/Mods.CalamityMod.Items.Misc.hjson | 2 +- .../Mods.CalamityMod.Items.Weapons.Magic.hjson | 2 +- .../Mods.CalamityMod.Items.Weapons.Ranged.hjson | 4 ++-- .../Mods.CalamityMod.Items.Weapons.Summon.hjson | 16 ++++++++-------- .../en-US/Mods.CalamityMod.Vanilla.hjson | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Fishing.hjson b/Localization/en-US/Mods.CalamityMod.Items.Fishing.hjson index 4cdeb69161..75375242bb 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Fishing.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Fishing.hjson @@ -102,7 +102,7 @@ DragoonDrizzlefish: { ''' Fires an assortment of hellfire and brimstone fireballs Sometimes fires a larger splitting fireball - Right click to feed the little boy some tasty gel + to feed the little boy some tasty gel 'He is a hungry boy' ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index 32f12039a9..6a70857d6d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -514,6 +514,6 @@ SuperDummy: { Creates a super dummy Regenerates 1 million life per second Will not die when taking damage over time from debuffs - Right click to kill all super dummies + to kill all super dummies ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson index 89d5f7e200..6ff50d2c54 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson @@ -784,7 +784,7 @@ SHPC: { Orbs emit seeking souls and lingering pickup souls after collapse Orbs have varying effects depending on Soul type used {0} - Press Right Click to use the machine as a vacuum, pulling in lingering souls + Press to use the machine as a vacuum, pulling in lingering souls Once released, a torrent of soul lasers is discharged scaling with the number of souls pulled in ''' // These are the soul effect descriptions, the number is the item ID of the soul diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson index e1616d6e28..17b4e499e4 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson @@ -282,7 +282,7 @@ ClockworkBow: { DisplayName: Clockwork Bow Tooltip: ''' - Hold left click to load up to six precision bolts + Hold to load up to six precision bolts The more precision bolts are loaded, the harder they hit ''' } @@ -938,7 +938,7 @@ PolarisParrotfish: { ''' Rapidly fires an array of colorful star shots Firing speed increases the closer you are to an enemy - Right click to give the little girl some attention + to give the little girl some attention 'She is a happy girl' ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson index 571c8256a9..db7dd63721 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson @@ -51,7 +51,7 @@ AtlasMunitionsBeacon: { [c/F27049:If an enemy is in close proximity, it will enter Overdrive] [c/F27049:When in Overdrive the cannon uses its full power to bring down any foe] [c/F27049:While in Overdrive, the cannon will build up heat, eventually overheating] - [c/69F0DC:Press right click while holding this item to pick up the cannon and use it yourself] + [c/69F0DC:Press while holding this item to pick up the cannon and use it yourself] [c/69F0DC:When held, the cannon will always be in Overdrive] [c/69F0DC:If the cannon overheats while you hold it, you will be forced to drop it] [c/9AA4AE:Pressing allows you to drop it manually] @@ -91,7 +91,7 @@ BrittleStarStaff: { ''' Summons a small brittle starfish that will dash through enemies until it shatters Starfish will quickly regenerate after shattering - Holding right click will swap starfish between dashing and circling you + Holding will swap starfish between dashing and circling you When the starfish are circling, each one provides you with 4 defense ''' } @@ -364,7 +364,7 @@ FlamsteedRing: { Tooltip: ''' Summons a colossal controllable mech - Right click to display the mech's control panel + to display the mech's control panel The panel has 3 configurations, selected using the brackets on the edges of the UI Each bracket powers 2 out of 3 possible functions, represented by the circular icons The bottom left icon miniaturizes the mech to the size of a player, but weakens its weapons @@ -435,7 +435,7 @@ GlacialEmbrace: { For each minion slot used, you will gain an additional orbiting shield spike These spikes accelerate rapidly towards a nearby enemy to inflict heavy damage They take some time to regenerate after launching themselves at the target, however - On right click, summons a duplicate ring around the targeted enemy, which slowly converges before exploding + On , summons a duplicate ring around the targeted enemy, which slowly converges before exploding ''' } @@ -485,7 +485,7 @@ IgneousExaltation: { Tooltip: ''' Summons an Igneous blade that orbits around you - Right click to launch all blades towards the cursor + to launch all blades towards the cursor ''' } @@ -591,7 +591,7 @@ Perdition: { ''' {$CommonItemTooltip.Sentry} Summons a beacon at the position of the mouse - When a target is manually selected via right click it releases torrents of souls from below onto the target + When a target is manually selected via it releases torrents of souls from below onto the target Requires one sentry slot to summon, and only one beacon may exist at a time ''' } @@ -866,7 +866,7 @@ VoidConcentrationStaff: { Minion damage is increased by 5% while the aura is active Requires three minion slots to use There can only be one aura at a time - Right click to launch a black hole that grows in size + to launch a black hole that grows in size ''' } @@ -893,7 +893,7 @@ WulfrumController: { Tooltip: ''' Summons a wulfrum droid to fight for you - Hold right click while holding the remote to switch all of your drones into supercharge mode + Hold while holding the remote to switch all of your drones into supercharge mode Supercharged droids will stop attacking and focus wulfrum energy onto you Supercharged droids provide +0.5 HP/s life regen and 3 defense per droid Can also be used to heal other players by keeping your mouse cursor close enough to them diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 0821a93650..10bd536446 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -198,7 +198,7 @@ EditedTooltip: { // Soaring Insignia EmpressFlightBooster1: Increases wing flight time by 33% EmpressFlightBooster2: Increases movement and jump speed by 10% and acceleration by 1.25x - RifleScope1: Increase view range for guns (Right click to zoom out) + RifleScope1: Increase view range for guns ( to zoom out) RifleScope2: The scope effect can be toggled with visibility SniperScope: 12% increased ranged critical strike chance MagicQuiver: Increases arrow damage by 5% and greatly increases arrow speed From fd35cfe145ca803f81d731060d3842b73ac999c9 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sat, 28 Jun 2025 11:40:03 +0700 Subject: [PATCH 54/77] just hold shift --- Localization/en-US/Mods.CalamityMod.UI.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 11eb118d7e..777b45c0ff 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -27,7 +27,7 @@ DifficultyStatusText: "{0} is {1}." ModeAppend: "{0} Mode" Active: Active NotActive: Not active -DifficultyShiftText: "[c/737373:Hold Shift key for more information]" +DifficultyShiftText: "[c/737373:Hold Shift for more information]" CurrentlySelected: Currently Selected : {0} DifficultyClickText: "[c/919191:Click to select a difficulty mode]" ExpertDifficultyLock: "[c/919191:Higher difficulty modes can only be toggled in Expert Mode or above]" From f2c9e94920372b5d567a9bd9593ea265c64b83ee Mon Sep 17 00:00:00 2001 From: ZavarskiTheRealOne Date: Sat, 28 Jun 2025 13:07:58 +0800 Subject: [PATCH 55/77] why is it left shift in the first place --- Localization/en-US/Mods.CalamityMod.UI.hjson | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 777b45c0ff..884dc00467 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -666,8 +666,8 @@ SulphurSea2: Irradiating one of the oceans Roxcalibur: I wanna rock AuricLandMines: Setting god killing traps // Hold Shift tooltip default -HoldShiftTooltipExtensionIndicator: Hold Left Shift for more -HoldShiftTooltipReplacementIndicator: Hold Left Shift for details +HoldShiftTooltipExtensionIndicator: Hold Shift for more +HoldShiftTooltipReplacementIndicator: Hold Shift for details // Dev and Donor Items DevItemTooltip: - Dev Item - DonorItemTooltip: - Donor Item - From d63348c3ba3707fe72f0791740365437d1b6d565 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sat, 28 Jun 2025 12:43:25 +0700 Subject: [PATCH 56/77] hold shift works on any side of shift --- Items/Accessories/Wings/BaseWings.cs | 3 +-- Items/Armor/GemTech/GemTechHeadgear.cs | 3 +-- Items/Armor/Wulfrum/WulfrumSet.cs | 5 ++--- Items/CalamityGlobalItemTooltip.cs | 5 ++--- Items/IHoldShiftTooltipItem.cs | 4 ++-- Localization/en-US/Mods.CalamityMod.Items.Lore.hjson | 2 +- Localization/en-US/Mods.CalamityMod.Items.Misc.hjson | 4 ++-- UI/CanvasPaintingUI.cs | 2 +- UI/ModeIndicator/ModeIndicatorUI.cs | 2 +- UI/StealthUI.cs | 2 +- 10 files changed, 14 insertions(+), 18 deletions(-) diff --git a/Items/Accessories/Wings/BaseWings.cs b/Items/Accessories/Wings/BaseWings.cs index 7637d61087..f7417150bb 100644 --- a/Items/Accessories/Wings/BaseWings.cs +++ b/Items/Accessories/Wings/BaseWings.cs @@ -2,7 +2,6 @@ using System.Linq; using System.Text; using CalamityMod.Balancing; -using Microsoft.Xna.Framework.Input; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -80,7 +79,7 @@ namespace CalamityMod.Items.Accessories.Wings sb.Append('\n'); sb.Append(CalamityUtils.GetText($"Common.WingStats").Format(time.FramesToSeconds(), run.ToMph(), (MaxAscentSpeed * baseJumpSpeed).ToMph())); sb.Append('\n'); - if (Main.keyState.IsKeyDown(Keys.LeftShift)) + if (Main.keyState.PressingShift()) { sb.Append(CalamityUtils.GetText($"Common.WingStatsAcceleration").Format(rAcc.ToMphps(), BaseAscent.ToMphps(), (BaseAscent + BonusAscentWhileRising).ToMphps(), (RisingSpeedThreshold * baseJumpSpeed).ToMph(), diff --git a/Items/Armor/GemTech/GemTechHeadgear.cs b/Items/Armor/GemTech/GemTechHeadgear.cs index eaebeaac2c..3c860e87a8 100644 --- a/Items/Armor/GemTech/GemTechHeadgear.cs +++ b/Items/Armor/GemTech/GemTechHeadgear.cs @@ -8,7 +8,6 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; -using static Microsoft.Xna.Framework.Input.Keys; using static Terraria.ModLoader.ModContent; namespace CalamityMod.Items.Armor.GemTech @@ -94,7 +93,7 @@ namespace CalamityMod.Items.Armor.GemTech tooltips[setBonusIndex].Text = CalamityUtils.GetTextValueFromModItem("AbilityBrief"); tooltips[setBonusIndex].OverrideColor = Color.Lerp(Color.White, Main.DiscoColor, 0.3f); - if (!Main.keyState.IsKeyDown(LeftShift)) + if (!Main.keyState.PressingShift()) { TooltipLine briefDescription = new TooltipLine(item.Mod, "CalamityMod:SetBonus1", CalamityUtils.GetTextValueFromModItem("AbilityDescription")); briefDescription.OverrideColor = Color.Lerp(Color.White, Main.DiscoColor, 0.5f); diff --git a/Items/Armor/Wulfrum/WulfrumSet.cs b/Items/Armor/Wulfrum/WulfrumSet.cs index 2b9dcc9d35..fcfbb6da1b 100644 --- a/Items/Armor/Wulfrum/WulfrumSet.cs +++ b/Items/Armor/Wulfrum/WulfrumSet.cs @@ -11,7 +11,6 @@ using Terraria.DataStructures; using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; -using static Microsoft.Xna.Framework.Input.Keys; using static Terraria.ModLoader.ModContent; namespace CalamityMod.Items.Armor.Wulfrum @@ -103,7 +102,7 @@ namespace CalamityMod.Items.Armor.Wulfrum if (DummyCannon.IsAir && !Main.gameMenu) DummyCannon.SetDefaults(ItemType()); - if (IsPartOfSet(Main.HoverItem) && HasArmorSet(player) && Main.keyState.IsKeyDown(LeftShift)) + if (IsPartOfSet(Main.HoverItem) && HasArmorSet(player) && Main.keyState.PressingShift()) { Main.HoverItem = DummyCannon.Clone(); Main.hoverItemName = DummyCannon.Name; @@ -240,7 +239,7 @@ namespace CalamityMod.Items.Armor.Wulfrum setBonus2.OverrideColor = new Color(110, 192, 93); tooltips.Insert(setBonusIndex + 2, setBonus2); - if (!Main.keyState.IsKeyDown(LeftShift)) + if (!Main.keyState.PressingShift()) { TooltipLine itemDisplay = new TooltipLine(item.Mod, "CalamityMod:ArmorItemDisplay", CalamityUtils.GetTextValueFromModItem("ShiftToExpand")); itemDisplay.OverrideColor = new Color(190, 190, 190); diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 860b98a4e5..1342f4b23b 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -21,7 +21,6 @@ using CalamityMod.Systems.Collections; using CalamityMod.World; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -189,7 +188,7 @@ namespace CalamityMod.Items // Original code lifted from Iban's extended armor tooltips. if (item.ModItem is IHoldShiftTooltipItem holdShiftItem) { - bool holdingShift = Main.keyState.IsKeyDown(Keys.LeftShift); + bool holdingShift = Main.keyState.PressingShift(); // If holding SHIFT, actually display the extended tooltip. if (holdingShift && firstTooltipIndex != -1) @@ -1298,7 +1297,7 @@ namespace CalamityMod.Items sb.Append('\n'); sb.Append(CalamityUtils.GetText($"Common.WingStats").Format(time.FramesToSeconds(), run.ToMph(), (tMax * baseJumpSpeed).ToMph())); sb.Append('\n'); - if (Main.keyState.IsKeyDown(Keys.LeftShift)) + if (Main.keyState.PressingShift()) { sb.Append(CalamityUtils.GetText($"Common.WingStatsAcceleration").Format(rAcc.ToMphps(), asc.ToMphps(), (asc + rise).ToMphps(), (rMax * baseJumpSpeed).ToMph(), (asc + fall).ToMphps())); if (hover) diff --git a/Items/IHoldShiftTooltipItem.cs b/Items/IHoldShiftTooltipItem.cs index 8ef0a22b79..28938b7a60 100644 --- a/Items/IHoldShiftTooltipItem.cs +++ b/Items/IHoldShiftTooltipItem.cs @@ -2,7 +2,7 @@ namespace CalamityMod.Items { - // This interface is used on items where you can hold Left SHIFT for an expanded tooltip. + // This interface is used on items where you can hold SHIFT for an expanded tooltip. // All actual implementation of this behavior is done in CalamityGlobalItemTooltip. public interface IHoldShiftTooltipItem { @@ -52,7 +52,7 @@ namespace CalamityMod.Items #endregion /// - /// Whether holding Left SHIFT for the tooltip extension hides the normal tooltip. Typically this is false. + /// Whether holding SHIFT for the tooltip extension hides the normal tooltip. Typically this is false. /// public virtual bool HidesNormalTooltip => false; diff --git a/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson b/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson index 5f127335a5..e5e5499fae 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Lore.hjson @@ -1,7 +1,7 @@ ShortTooltip: ''' [c/E3AF40:Whispers from on high dance in your ears...] - [c/BEBEBE:Press Left Shift to listen closer] + [c/BEBEBE:Hold Shift to listen closer] ''' LoreAbyss: { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index 6a70857d6d..a68f00f2e6 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -383,12 +383,12 @@ VoodooDemonVoodooDoll: { ExhumeShortTooltip: ''' [c/C61B40:'Ah, are you curious what I saw within this item?'] - [c/BABABA:Press Left Shift to listen] + [c/BABABA:Hold Shift to listen] ''' LegendaryShortTooltip: ''' [c/FF6F00:Tales of legends past radiate around you...] - [c/BABABA:Press Left Shift to listen closer] + [c/BABABA:Hold Shift to listen closer] ''' BallAndChain: { diff --git a/UI/CanvasPaintingUI.cs b/UI/CanvasPaintingUI.cs index 30119f2d8d..b655d2b1a4 100644 --- a/UI/CanvasPaintingUI.cs +++ b/UI/CanvasPaintingUI.cs @@ -63,7 +63,7 @@ namespace CalamityMod.UI float paintingFrameScale = painting.scale; Vector2 paintingFramePosition = painting.framePosition; - bool hideUI = Main.keyState.IsKeyDown(Keys.LeftShift); + bool hideUI = Main.keyState.PressingShift(); Texture2D tex = TextureAssets.Tile[ModContent.TileType()].Value; if (p.CurrentlyViewedCanvasType == 1) diff --git a/UI/ModeIndicator/ModeIndicatorUI.cs b/UI/ModeIndicator/ModeIndicatorUI.cs index ffd2abdc62..68c09bb129 100644 --- a/UI/ModeIndicator/ModeIndicatorUI.cs +++ b/UI/ModeIndicator/ModeIndicatorUI.cs @@ -377,7 +377,7 @@ namespace CalamityMod.UI.ModeIndicator if (mode.ExpandedDescription != LocalizedText.Empty) { // Show the description either if the player is holding shift. - if (Main.keyState.IsKeyDown(Microsoft.Xna.Framework.Input.Keys.LeftShift)) + if (Main.keyState.PressingShift()) text += "\n" + mode.ExpandedDescription.ToString(); else diff --git a/UI/StealthUI.cs b/UI/StealthUI.cs index 42c9269e04..133c0eef49 100644 --- a/UI/StealthUI.cs +++ b/UI/StealthUI.cs @@ -98,7 +98,7 @@ namespace CalamityMod.UI string maxStealthStr = (100f * modPlayer.rogueStealthMax).ToString("n2"); string textToDisplay = $"{CalamityUtils.GetTextValue("UI.Stealth")}: {stealthStr}/{maxStealthStr}\n"; - if (!Main.keyState.IsKeyDown(LeftShift)) + if (!Main.keyState.PressingShift()) { textToDisplay += CalamityUtils.GetTextValue("UI.StealthShiftText"); } From d2e99bee56cf30c9df66edc000cf3aabba435bf4 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sat, 28 Jun 2025 12:49:34 +0700 Subject: [PATCH 57/77] missed one --- Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs index 16434f3339..5107cf6b7d 100644 --- a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs +++ b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs @@ -4,7 +4,6 @@ using CalamityMod.Tiles.Furniture.DevPaintings; using Terraria; using Terraria.ID; using Terraria.ModLoader; -using static Microsoft.Xna.Framework.Input.Keys; namespace CalamityMod.Items.Placeables.Furniture.DevPaintings { @@ -24,7 +23,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings public override void ModifyTooltips(List tooltips) { - if (!Main.keyState.IsKeyDown(LeftShift)) + if (!Main.keyState.PressingShift()) return; string tooltip = ""; From f1e67b1e1fdc7d654760a65276b25c6cadcd425c Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Sat, 28 Jun 2025 13:01:40 +0700 Subject: [PATCH 58/77] untold mechanic oops --- Localization/en-US/Mods.CalamityMod.Items.Tools.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson b/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson index 7b35e3cf51..1083e38f93 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Tools.hjson @@ -111,7 +111,7 @@ DriftwoodPickaxe: { FellerofEvergreens: { DisplayName: Feller of Evergreens - Tooltip: "" + Tooltip: Occasionally drops extra fruits from shaking trees } Gelpick: { From 3284b8267589cd3510378a6e3faaa45e598ce408 Mon Sep 17 00:00:00 2001 From: Listentowind <2926669682@qq.com> Date: Sat, 28 Jun 2025 14:41:06 +0800 Subject: [PATCH 59/77] bye Triplets --- Localization/en-US/Mods.CalamityMod.Status.Boss.hjson | 3 --- 1 file changed, 3 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Status.Boss.hjson b/Localization/en-US/Mods.CalamityMod.Status.Boss.hjson index 474e9bf5e0..7fda7a31b1 100644 --- a/Localization/en-US/Mods.CalamityMod.Status.Boss.hjson +++ b/Localization/en-US/Mods.CalamityMod.Status.Boss.hjson @@ -3,9 +3,6 @@ SlimeGodRun: The Slime God flees to fight another day... // Cryogen CryogenBossText: Cryogen is derping out! PyrogenBossText: Pyrogen is derping out! -// Triplets -TripletsBossText: The Triplets have awoken! -TripletsDefeatName: The Triplets // Calamitas Clone CalamitasBossText: You underestimate my power... CalamitasBossText2: Rise again, my siblings. From c0b26319aa165aaf1b224ba3a7e5a88f29830b6f Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 28 Jun 2025 13:38:57 -0400 Subject: [PATCH 60/77] Commented out donor name Dorira, awaiting replacement name --- NPCs/CalamityGlobalTownNPC.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index fc16876bc9..020091f7b8 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -100,7 +100,8 @@ namespace CalamityMod.NPCs { "Tavish DeGroot", // <@!442447226992721930> (magicoal) "Fimmy", // <@!407348617079160832> (darkmega5) - "Dorira", // <@!215269032360804352> (crimsoncb) + // SLATED FOR REPLACEMENT -- donor has not picked a new name yet + // "Dorira", // <@!215269032360804352> (crimsoncb) "John Helldiver", // <@!614126424751603714> (exellent.) }; private static readonly string[] DryadNames = From ba96fce517b06b444ee9cf8277b211caa2a36dbb Mon Sep 17 00:00:00 2001 From: Xyk Date: Sat, 28 Jun 2025 15:14:21 -0700 Subject: [PATCH 61/77] Ontological Adjustment The big hits deal less but always crit slight buff to positive shot initial damage but slight nerf to it's pierce damage. --- Projectiles/Ranged/OntoligicalDespoilerBurst.cs | 12 ++++++++++-- Projectiles/Ranged/OntologicalDespoilerBeam.cs | 11 +++++++++++ Projectiles/Ranged/OntologicalDespoilerGrenade.cs | 9 ++++++++- Projectiles/Ranged/OntologicalDespoilerHoldout.cs | 6 +++--- Projectiles/Ranged/OntologicalDespoilerShot.cs | 2 +- 5 files changed, 33 insertions(+), 7 deletions(-) diff --git a/Projectiles/Ranged/OntoligicalDespoilerBurst.cs b/Projectiles/Ranged/OntoligicalDespoilerBurst.cs index 4de91212fa..8877b11310 100644 --- a/Projectiles/Ranged/OntoligicalDespoilerBurst.cs +++ b/Projectiles/Ranged/OntoligicalDespoilerBurst.cs @@ -1,4 +1,5 @@ -using Microsoft.Xna.Framework; +using System; +using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; @@ -28,10 +29,17 @@ namespace CalamityMod.Projectiles.Ranged } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { + modifiers.SetCrit(); + Player Owner = Main.player[Projectile.owner]; + float critDamage = Math.Min(Owner.GetTotalCritChance(Projectile.DamageType) * 0.01f, 1f); float minMult = 0.45f; int hitsToMinMult = 15; float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true); - modifiers.SourceDamage *= damageMult; + modifiers.SourceDamage *= (damageMult + critDamage); + + Vector2 launchVel = Projectile.Center.DirectionTo(target.Center); + float launchPower = 20; + target.MoveNPC(launchVel, launchPower, true); } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) => CalamityUtils.CircularHitboxCollision(Projectile.Center, 450, targetHitbox); } diff --git a/Projectiles/Ranged/OntologicalDespoilerBeam.cs b/Projectiles/Ranged/OntologicalDespoilerBeam.cs index 181d634eea..decb1d6519 100644 --- a/Projectiles/Ranged/OntologicalDespoilerBeam.cs +++ b/Projectiles/Ranged/OntologicalDespoilerBeam.cs @@ -116,6 +116,17 @@ namespace CalamityMod.Projectiles.Ranged SoundStyle fire2 = new("CalamityMod/Sounds/Item/MeldExplosion"); SoundEngine.PlaySound(fire2 with { Volume = 1, Pitch = Main.rand.NextFloat(-0.5f, -0.6f) }, Projectile.Center); } + public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) + { + modifiers.SetCrit(); + Player Owner = Main.player[Projectile.owner]; + float critDamage = Math.Min(Owner.GetTotalCritChance(Projectile.DamageType) * 0.01f, 1f); + modifiers.SourceDamage *= 1 + critDamage; + + Vector2 launchVel = Projectile.velocity; + float launchPower = 60; + target.MoveNPC(launchVel, launchPower, true); + } public override bool? CanDamage() => Projectile.numHits < 1 ? null : false; public override bool PreDraw(ref Color lightColor) { diff --git a/Projectiles/Ranged/OntologicalDespoilerGrenade.cs b/Projectiles/Ranged/OntologicalDespoilerGrenade.cs index fec35012f6..d9536f73f1 100644 --- a/Projectiles/Ranged/OntologicalDespoilerGrenade.cs +++ b/Projectiles/Ranged/OntologicalDespoilerGrenade.cs @@ -172,7 +172,7 @@ namespace CalamityMod.Projectiles.Ranged SoundStyle fire2 = new("CalamityMod/Sounds/Item/ShadowboltReflect"); SoundEngine.PlaySound(fire2 with { Volume = 0.9f, Pitch = -0.4f}, Projectile.Center); - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * 14f), Projectile.knockBack * 3, Projectile.owner, 0, 0, 0); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * 12f), 0, Projectile.owner, 0, 0, 0); } else { @@ -199,6 +199,13 @@ namespace CalamityMod.Projectiles.Ranged useColor = new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB); return useColor; } + public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) + { + modifiers.SetCrit(); + Player Owner = Main.player[Projectile.owner]; + float critDamage = Math.Min(Owner.GetTotalCritChance(Projectile.DamageType) * 0.01f, 1f); + modifiers.SourceDamage *= 1 + critDamage; + } public override bool PreDraw(ref Color lightColor) { if (time < 2) diff --git a/Projectiles/Ranged/OntologicalDespoilerHoldout.cs b/Projectiles/Ranged/OntologicalDespoilerHoldout.cs index cf66a738c5..9ee761fe41 100644 --- a/Projectiles/Ranged/OntologicalDespoilerHoldout.cs +++ b/Projectiles/Ranged/OntologicalDespoilerHoldout.cs @@ -207,8 +207,8 @@ namespace CalamityMod.Projectiles.Ranged ChargeSound?.Stop(); Vector2 shootVelocity = Projectile.velocity.SafeNormalize(Vector2.UnitY) * BulletSpeed; - int charge2DamagePos = Projectile.damage; // Most of the damage comes from the explosion - int charge2DamageNeg = Projectile.damage * 32; // Big charge time? Check. No pierce? Check. 32x damage? Yes! + int charge2DamagePos = (int)(Projectile.damage * 0.5f); // Most of the damage comes from the explosion + int charge2DamageNeg = Projectile.damage * 20; // Big charge time? Check. No pierce? Check. 20x damage? Yes! if (Positive) { @@ -267,7 +267,7 @@ namespace CalamityMod.Projectiles.Ranged for (int i = 0; i < 3; i++) { float angle = i == 0 ? -0.25f : i == 2 ? 0.25f : 0; - Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, fireVec.RotatedBy(angle) * (1 - Math.Abs(angle * 0.25f)), ModContent.ProjectileType(), (int)(Projectile.damage / 1.5f), Projectile.knockBack, Projectile.owner, 0, 0, i); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, fireVec.RotatedBy(angle) * (1 - Math.Abs(angle * 0.25f)), ModContent.ProjectileType(), (int)(Projectile.damage / 1.2f), Projectile.knockBack, Projectile.owner, 0, 0, i); } } else diff --git a/Projectiles/Ranged/OntologicalDespoilerShot.cs b/Projectiles/Ranged/OntologicalDespoilerShot.cs index 0056e5832b..2d0d3f96e2 100644 --- a/Projectiles/Ranged/OntologicalDespoilerShot.cs +++ b/Projectiles/Ranged/OntologicalDespoilerShot.cs @@ -194,7 +194,7 @@ namespace CalamityMod.Projectiles.Ranged } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { - float minMult = 0.35f; + float minMult = 0.3f; int hitsToMinMult = 3; float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true); modifiers.SourceDamage *= damageMult; From 95f7c55883b82d78677816e2f682ab256f63886c Mon Sep 17 00:00:00 2001 From: Xyk Date: Sat, 28 Jun 2025 15:26:32 -0700 Subject: [PATCH 62/77] holofibRE --- Items/DraedonMisc/EncryptedSchematicPlanetoid.cs | 2 +- ...{HolofiberImmolator.cs => HolofibreImmolator.cs} | 8 ++++---- ...olofiberImmolator.png => HolofibreImmolator.png} | Bin ...ImmolatorGlow.png => HolofibreImmolatorGlow.png} | Bin ....CalamityMod.Items.Weapons.DraedonsArsenal.hjson | 4 ++-- ...latorHoldout.cs => HolofibreImmolatorHoldout.cs} | 8 ++++---- Projectiles/DraedonsArsenal/ImmolationArrow.cs | 4 ++-- Projectiles/DraedonsArsenal/ImmolationSpray.cs | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) rename Items/Weapons/DraedonsArsenal/{HolofiberImmolator.cs => HolofibreImmolator.cs} (92%) rename Items/Weapons/DraedonsArsenal/{HolofiberImmolator.png => HolofibreImmolator.png} (100%) rename Items/Weapons/DraedonsArsenal/{HolofiberImmolatorGlow.png => HolofibreImmolatorGlow.png} (100%) rename Projectiles/DraedonsArsenal/{HolofiberImmolatorHoldout.cs => HolofibreImmolatorHoldout.cs} (98%) diff --git a/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs b/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs index 6703ab71bd..c5d36826ae 100644 --- a/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs +++ b/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.DraedonMisc meleeDisplay.OverrideColor = new Color(31, 242, 245); list.Insert(insertIndex + 1, meleeDisplay); - int rangedItem = ModContent.ItemType(); + int rangedItem = ModContent.ItemType(); TooltipLine rangedDisplay = new TooltipLine(this.Mod, "CalamityMod:RangedDisplay", $"[i:{rangedItem}] {CalamityUtils.GetItemName(rangedItem)}"); rangedDisplay.OverrideColor = new Color(149, 243, 43); list.Insert(insertIndex + 2, rangedDisplay); diff --git a/Items/Weapons/DraedonsArsenal/HolofiberImmolator.cs b/Items/Weapons/DraedonsArsenal/HolofibreImmolator.cs similarity index 92% rename from Items/Weapons/DraedonsArsenal/HolofiberImmolator.cs rename to Items/Weapons/DraedonsArsenal/HolofibreImmolator.cs index a260077562..50f7d1ee74 100644 --- a/Items/Weapons/DraedonsArsenal/HolofiberImmolator.cs +++ b/Items/Weapons/DraedonsArsenal/HolofibreImmolator.cs @@ -14,7 +14,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.DraedonsArsenal { [LegacyName("MatterModulator")] - public class HolofiberImmolator : ModItem, ILocalizedModType + public class HolofibreImmolator : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal"; public static readonly SoundStyle PlasmaSound = new("CalamityMod/Sounds/Item/PlasmaSmall"); @@ -39,7 +39,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal Item.value = CalamityGlobalItem.RarityPinkBuyPrice; Item.rare = ItemRarityID.Pink; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 12f; } @@ -48,11 +48,11 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal public override void HoldItem(Player player) => player.Calamity().mouseWorldListener = true; public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofiberImmolatorGlow").Value); + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofibreImmolatorGlow").Value); } public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { - Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType(), damage, knockback, player.whoAmI, 0, 1); + Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType(), damage, knockback, player.whoAmI, 0, 1); holdout.velocity = (player.Calamity().mouseWorld - player.MountedCenter).SafeNormalize(Vector2.Zero); return false; } diff --git a/Items/Weapons/DraedonsArsenal/HolofiberImmolator.png b/Items/Weapons/DraedonsArsenal/HolofibreImmolator.png similarity index 100% rename from Items/Weapons/DraedonsArsenal/HolofiberImmolator.png rename to Items/Weapons/DraedonsArsenal/HolofibreImmolator.png diff --git a/Items/Weapons/DraedonsArsenal/HolofiberImmolatorGlow.png b/Items/Weapons/DraedonsArsenal/HolofibreImmolatorGlow.png similarity index 100% rename from Items/Weapons/DraedonsArsenal/HolofiberImmolatorGlow.png rename to Items/Weapons/DraedonsArsenal/HolofibreImmolatorGlow.png diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.DraedonsArsenal.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.DraedonsArsenal.hjson index f44506b869..eb7ca12116 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.DraedonsArsenal.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.DraedonsArsenal.hjson @@ -42,8 +42,8 @@ GaussDagger: { ''' } -HolofiberImmolator: { - DisplayName: R-PMA: Holofiber Immolator +HolofibreImmolator: { + DisplayName: R-PMA: Holofibre Immolator Tooltip: ''' Fires three gravity-affected plasma drops which dissolve through foes diff --git a/Projectiles/DraedonsArsenal/HolofiberImmolatorHoldout.cs b/Projectiles/DraedonsArsenal/HolofibreImmolatorHoldout.cs similarity index 98% rename from Projectiles/DraedonsArsenal/HolofiberImmolatorHoldout.cs rename to Projectiles/DraedonsArsenal/HolofibreImmolatorHoldout.cs index 4e18c7eadf..e1c2f33af3 100644 --- a/Projectiles/DraedonsArsenal/HolofiberImmolatorHoldout.cs +++ b/Projectiles/DraedonsArsenal/HolofibreImmolatorHoldout.cs @@ -11,10 +11,10 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.DraedonsArsenal { - public class HolofiberImmolatorHoldout : BaseGunHoldoutProjectile + public class HolofibreImmolatorHoldout : BaseGunHoldoutProjectile { public new string LocalizationCategory => "Projectiles.Misc"; - public override int AssociatedItemID => ModContent.ItemType(); + public override int AssociatedItemID => ModContent.ItemType(); public override float MaxOffsetLengthFromArm => 15f; public override float OffsetXUpwards => -0f; public override float BaseOffsetY => -0f; @@ -167,8 +167,8 @@ namespace CalamityMod.Projectiles.DraedonsArsenal float fade = Utils.GetLerpValue(chargeMax / 3, chargeMax, CurrentChargingFrames, true); - Texture2D texture = ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofiberImmolator").Value; - Texture2D glowTexture = ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofiberImmolatorGlow").Value; + Texture2D texture = ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofibreImmolator").Value; + Texture2D glowTexture = ModContent.Request("CalamityMod/Items/Weapons/DraedonsArsenal/HolofibreImmolatorGlow").Value; Vector2 drawPosition = Projectile.Center - Main.screenPosition; Color drawColor = Projectile.GetAlpha(lightColor); float drawRotation = Projectile.rotation + (Projectile.spriteDirection == -1 ? MathHelper.Pi : 0f); diff --git a/Projectiles/DraedonsArsenal/ImmolationArrow.cs b/Projectiles/DraedonsArsenal/ImmolationArrow.cs index 313f5887a1..ec64b427de 100644 --- a/Projectiles/DraedonsArsenal/ImmolationArrow.cs +++ b/Projectiles/DraedonsArsenal/ImmolationArrow.cs @@ -160,7 +160,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal collideWithTiles = false; SoundStyle sound2 = new("CalamityMod/Sounds/Item/ImmolatorPreExplode"); SoundEngine.PlaySound(sound2 with { Volume = 0.3f, Pitch = 0.5f }, Projectile.Center); - SoundEngine.PlaySound(HolofiberImmolator.PlasmaSound with { Volume = 0.8f, Pitch = Main.rand.NextFloat(-0.3f, -0.4f) }, Projectile.Center); + SoundEngine.PlaySound(HolofibreImmolator.PlasmaSound with { Volume = 0.8f, Pitch = Main.rand.NextFloat(-0.3f, -0.4f) }, Projectile.Center); } } public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) @@ -195,7 +195,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal } SoundStyle sound = new("CalamityMod/Sounds/Item/ImmolatorPreExplode"); SoundEngine.PlaySound(sound with { Volume = 0.3f, Pitch = 0.5f }, Projectile.Center); - SoundEngine.PlaySound(HolofiberImmolator.PlasmaSound with { Volume = 0.8f, Pitch = Main.rand.NextFloat(-0.3f, -0.4f) }, Projectile.Center); + SoundEngine.PlaySound(HolofibreImmolator.PlasmaSound with { Volume = 0.8f, Pitch = Main.rand.NextFloat(-0.3f, -0.4f) }, Projectile.Center); } } public override void OnKill(int timeLeft) diff --git a/Projectiles/DraedonsArsenal/ImmolationSpray.cs b/Projectiles/DraedonsArsenal/ImmolationSpray.cs index d30ccaafbd..91349cf6b1 100644 --- a/Projectiles/DraedonsArsenal/ImmolationSpray.cs +++ b/Projectiles/DraedonsArsenal/ImmolationSpray.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { - SoundEngine.PlaySound(HolofiberImmolator.PlasmaSound with { Volume = 0.5f, Pitch = Main.rand.NextFloat(-0.1f, 0.1f) }, Projectile.Center); + SoundEngine.PlaySound(HolofibreImmolator.PlasmaSound with { Volume = 0.5f, Pitch = Main.rand.NextFloat(-0.1f, 0.1f) }, Projectile.Center); if (Projectile.numHits > 0) Projectile.damage = (int)(Projectile.damage * 0.8f); From 3746598436504fd98da5c555d66e0ecca45270b0 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Sat, 28 Jun 2025 15:59:02 -0700 Subject: [PATCH 63/77] Welcome Big E --- Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs index 5107cf6b7d..c7682a1210 100644 --- a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs +++ b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs @@ -54,6 +54,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings "apotofkoolaid", "AquaSG", "Atalya", + "Big E", "Ben-TK", "CDMusic", "Cei", From 570c9cf2777707bdb021138ae1e168cdf5d43fda Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Sat, 28 Jun 2025 15:59:24 -0700 Subject: [PATCH 64/77] Alphabet fail --- Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs index c7682a1210..43e9ecf44f 100644 --- a/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs +++ b/Items/Placeables/Furniture/DevPaintings/ThankYouPainting.cs @@ -54,8 +54,8 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings "apotofkoolaid", "AquaSG", "Atalya", - "Big E", "Ben-TK", + "Big E", "CDMusic", "Cei", "CongratsIsTrash", From 463f045120c2fc92fa89e8f8ae571b241e54e608 Mon Sep 17 00:00:00 2001 From: Xyk Date: Sat, 28 Jun 2025 16:21:38 -0700 Subject: [PATCH 65/77] The name you always thought it had Renamed Regenator to Regenerator --- CalPlayer/CalamityPlayer.cs | 6 +++--- CalPlayer/CalamityPlayerHitHurt.cs | 4 ++-- CalPlayer/CalamityPlayerLifeRegen.cs | 12 ++++++------ Items/Accessories/{Regenator.cs => Regenerator.cs} | 7 ++++--- Items/TreasureBags/CalamitasCloneBag.cs | 2 +- .../en-US/Mods.CalamityMod.Items.Accessories.hjson | 4 ++-- NPCs/CalClone/CalamitasClone.cs | 2 +- 7 files changed, 19 insertions(+), 18 deletions(-) rename Items/Accessories/{Regenator.cs => Regenerator.cs} (85%) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 48a3027f8e..fa316258d6 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -719,8 +719,8 @@ namespace CalamityMod.CalPlayer public bool gladiatorSword = false; public int gladiatorTimer = 0; public bool unstableGraniteCore = false; - public bool regenator = false; - public float regenatorDamage = 0; + public bool regenerator = false; + public float regeneratorDamage = 0; public bool theBee = false; public bool arcFlashRing = false; public bool arcFlashRingVisual = false; @@ -2172,7 +2172,7 @@ namespace CalamityMod.CalPlayer trinketOfChi = false; gladiatorSword = false; unstableGraniteCore = false; - regenator = false; + regenerator = false; deepDiver = false; theBee = false; arcFlashRing = false; diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index f774a50a24..694698bf8d 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2304,8 +2304,8 @@ namespace CalamityMod.CalPlayer if (RageEnabled) rageCombatFrames = BalancingConstants.RageCombatDelayTime; - // Regenator has been CANCLED on TWITTER.COM!!!! (Just keeping this here since it's a neat effect and I'll probably yoink it for something else later) - if (regenator && false) + // Regenerator has been CANCLED on TWITTER.COM!!!! (Just keeping this here since it's a neat effect and I'll probably yoink it for something else later) + if (regenerator && false) { // Projectile damage and count is based on source damage of the hit float hitPower = (hurtInfo.SourceDamage / (Player.statLifeMax2 * 0.5f)); diff --git a/CalPlayer/CalamityPlayerLifeRegen.cs b/CalPlayer/CalamityPlayerLifeRegen.cs index 3263c66296..68fda829e7 100644 --- a/CalPlayer/CalamityPlayerLifeRegen.cs +++ b/CalPlayer/CalamityPlayerLifeRegen.cs @@ -766,7 +766,7 @@ namespace CalamityMod.CalPlayer } #endregion - if (regenator) // Gives special regen of it's own, but disables all regular life regen + if (regenerator) // Gives special regen of it's own, but disables all regular life regen { if (Player.miscCounter % 7 == 0 && Player.statLife < (int)(Player.statLifeMax2 * 0.5f)) Player.HealPlayer(1, HealTextType.None); @@ -777,7 +777,7 @@ namespace CalamityMod.CalPlayer Player.lifeRegenTime += 10; } else - regenatorDamage = 0; + regeneratorDamage = 0; if (toxicHeart) // Since it needs to know your life regen, it must be placed here { @@ -832,8 +832,8 @@ namespace CalamityMod.CalPlayer } } - // Regenator trades all positive regen for damage, and caps your health gain at 50% - if (regenator) + // Regenerator trades all positive regen for damage, and caps your health gain at 50% + if (regenerator) { int finalRegen = Player.lifeRegen + (int)Math.Round(regen * (Player.statLifeMax2 / 400f * 0.85f + 0.15f)); finalRegen = (int)Math.Max(finalRegen, 0); @@ -843,8 +843,8 @@ namespace CalamityMod.CalPlayer if (Player.palladiumRegen) finalRegen += 4; - regenatorDamage = (finalRegen * 1.75f) * 0.01f; - Player.GetDamage() += regenatorDamage; + regeneratorDamage = (finalRegen * 1.75f) * 0.01f; + Player.GetDamage() += regeneratorDamage; if (Player.lifeRegen > 0) Player.lifeRegen = 0; diff --git a/Items/Accessories/Regenator.cs b/Items/Accessories/Regenerator.cs similarity index 85% rename from Items/Accessories/Regenator.cs rename to Items/Accessories/Regenerator.cs index f8bdcbf180..ea319a1373 100644 --- a/Items/Accessories/Regenator.cs +++ b/Items/Accessories/Regenerator.cs @@ -9,7 +9,8 @@ using System; namespace CalamityMod.Items.Accessories { - public class Regenator : ModItem, ILocalizedModType + [LegacyName("Regenator")] + public class Regenerator : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; public override void SetDefaults() @@ -24,14 +25,14 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.regenator = true; + modPlayer.regenerator = true; player.longInvince = true; // Gives better iframes because god help you if you end up getting hit twice } public override void ModifyTooltips(List list) { if (Main.LocalPlayer != null) - list.FindAndReplace("[DAMAGE]", (Main.LocalPlayer.Calamity().regenatorDamage).ToPercent()); + list.FindAndReplace("[DAMAGE]", (Main.LocalPlayer.Calamity().regeneratorDamage).ToPercent()); } } } diff --git a/Items/TreasureBags/CalamitasCloneBag.cs b/Items/TreasureBags/CalamitasCloneBag.cs index 08b9c7558d..29a16a9229 100644 --- a/Items/TreasureBags/CalamitasCloneBag.cs +++ b/Items/TreasureBags/CalamitasCloneBag.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Items.TreasureBags // Equipment itemLoot.Add(ModContent.ItemType(), DropHelper.BagWeaponDropRateFraction); itemLoot.Add(ModContent.ItemType()); - itemLoot.Add(ModContent.ItemType(), 10); + itemLoot.Add(ModContent.ItemType(), 10); itemLoot.AddRevBagAccessories(); // Vanity diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 1bfbb1b9e8..d02f4e6b04 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -1466,8 +1466,8 @@ ReaperToothNecklace: { ''' } -Regenator: { - DisplayName: Regenator +Regenerator: { + DisplayName: Regenerator Tooltip: ''' Your health cannot exceed 50% of its maximum diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index 8804fae061..63eba39386 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -927,7 +927,7 @@ namespace CalamityMod.NPCs.CalClone // Equipment normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); normalOnly.Add(ModContent.ItemType(), DropHelper.NormalWeaponDropRateFraction); - normalOnly.Add(ModContent.ItemType(), 10); + normalOnly.Add(ModContent.ItemType(), 10); // Materials normalOnly.Add(ModContent.ItemType(), 1, 8, 10); From ac28b4370112fd8697e520f982307e0e6a6f26e4 Mon Sep 17 00:00:00 2001 From: Nathanael Overton Date: Sun, 29 Jun 2025 10:54:07 -0400 Subject: [PATCH 66/77] Lablights no longer duplicate upon breaking --- Tiles/DraedonStructures/CagedLights/AgedBiolight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedBlacklight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedCinderlight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedFlamelight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedFloodlight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedFrostlight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/AgedLablight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/CagedBiolight.cs | 5 +---- Tiles/DraedonStructures/CagedLights/CagedBlacklight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/CagedCinderlight.cs | 5 +---- Tiles/DraedonStructures/CagedLights/CagedFlamelight.cs | 7 ++----- Tiles/DraedonStructures/CagedLights/CagedFloodlight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/CagedFrostlight.cs | 6 +----- Tiles/DraedonStructures/CagedLights/CagedLablight.cs | 5 +---- 14 files changed, 15 insertions(+), 67 deletions(-) diff --git a/Tiles/DraedonStructures/CagedLights/AgedBiolight.cs b/Tiles/DraedonStructures/CagedLights/AgedBiolight.cs index bf857ae736..c2a908ef42 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedBiolight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedBiolight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 89; @@ -83,10 +84,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i * 16, j * 16), 9f / 255f * brightness, 195f / 255f * brightness, 0f * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedBlacklight.cs b/Tiles/DraedonStructures/CagedLights/AgedBlacklight.cs index 3da6bb123f..0aafeea281 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedBlacklight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedBlacklight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 173; @@ -82,10 +83,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i * 16, j * 16), 182f / 255f * brightness, 28f / 255f * brightness, 232f / 255f * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedCinderlight.cs b/Tiles/DraedonStructures/CagedLights/AgedCinderlight.cs index 68899755d7..83a7fd5560 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedCinderlight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedCinderlight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 6; @@ -83,10 +84,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i, j), 252f / 255f * brightness, 184f / 255f * brightness, 29f / 255f * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedFlamelight.cs b/Tiles/DraedonStructures/CagedLights/AgedFlamelight.cs index 823fa54776..0d70137c2b 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedFlamelight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedFlamelight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 60; @@ -83,10 +84,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i * 16, j * 16), (255f / 255f) * brightness, (104f / 255f) * brightness, (104f / 255f) * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedFloodlight.cs b/Tiles/DraedonStructures/CagedLights/AgedFloodlight.cs index 557f857324..dbc8e13c6b 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedFloodlight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedFloodlight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 187; @@ -83,10 +84,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i * 16, j * 16), 105f / 255f * brightness, 195f / 255f * brightness, 193f / 255f * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedFrostlight.cs b/Tiles/DraedonStructures/CagedLights/AgedFrostlight.cs index 076122c0d9..c553f25054 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedFrostlight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedFrostlight.cs @@ -26,6 +26,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 247; @@ -83,10 +84,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Lighting.AddLight(new Vector2(i * 16, j * 16), 9f / 255f * brightness, 158f / 255f * brightness, 238f / 255f * brightness); } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/AgedLablight.cs b/Tiles/DraedonStructures/CagedLights/AgedLablight.cs index 8c154b9031..72248f3566 100644 --- a/Tiles/DraedonStructures/CagedLights/AgedLablight.cs +++ b/Tiles/DraedonStructures/CagedLights/AgedLablight.cs @@ -22,6 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 299; @@ -79,11 +80,6 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 255f / 510f; } - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) { if (Main.tile[i, j].IsTileActuallyInvisible()) diff --git a/Tiles/DraedonStructures/CagedLights/CagedBiolight.cs b/Tiles/DraedonStructures/CagedLights/CagedBiolight.cs index 76f5061edd..2bfbf801fa 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedBiolight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedBiolight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 89; @@ -91,9 +92,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedBlacklight.cs b/Tiles/DraedonStructures/CagedLights/CagedBlacklight.cs index 702af106f2..88623b86cc 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedBlacklight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedBlacklight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 173; @@ -90,10 +91,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedCinderlight.cs b/Tiles/DraedonStructures/CagedLights/CagedCinderlight.cs index 7514c37cf2..99622541fb 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedCinderlight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedCinderlight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 6; @@ -92,9 +93,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights } } - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedFlamelight.cs b/Tiles/DraedonStructures/CagedLights/CagedFlamelight.cs index f330d1371d..43dc265ece 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedFlamelight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedFlamelight.cs @@ -10,6 +10,7 @@ using Terraria.Enums; using Terraria.ObjectData; using Terraria.Audio; using CalamityMod.Sounds; +using CalamityMod.Items.Pets; namespace CalamityMod.Tiles.DraedonStructures.CagedLights { @@ -21,6 +22,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 60; @@ -91,10 +93,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedFloodlight.cs b/Tiles/DraedonStructures/CagedLights/CagedFloodlight.cs index 59539ee4f6..764e51188e 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedFloodlight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedFloodlight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 187; @@ -91,10 +92,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedFrostlight.cs b/Tiles/DraedonStructures/CagedLights/CagedFrostlight.cs index 1102fa25b9..635df1e7d4 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedFrostlight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedFrostlight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 247; @@ -91,10 +92,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } diff --git a/Tiles/DraedonStructures/CagedLights/CagedLablight.cs b/Tiles/DraedonStructures/CagedLights/CagedLablight.cs index 6997a227ba..1e8729a673 100644 --- a/Tiles/DraedonStructures/CagedLights/CagedLablight.cs +++ b/Tiles/DraedonStructures/CagedLights/CagedLablight.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights Main.tileNoFail[Type] = true; Main.tileFrameImportant[Type] = true; Main.tileObsidianKill[Type] = false; + RegisterItemDrop(ModContent.ItemType()); HitSound = CommonCalamitySounds.PlatingMine; DustType = 299; @@ -91,9 +92,5 @@ namespace CalamityMod.Tiles.DraedonStructures.CagedLights b = 0f; } } - public override void KillMultiTile(int i, int j, int frameX, int frameY) - { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 32, 48, ModContent.ItemType()); - } } } From 3a32571aabbe09f96843bcdf19e9fd2d45f4e36e Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Mon, 30 Jun 2025 00:42:10 +0700 Subject: [PATCH 67/77] nuked double dipping --- NPCs/Abyss/ReaperShark.cs | 2 +- NPCs/Bumblebirb/DraconicSwarmer.cs | 2 +- NPCs/Bumblebirb/Dragonfolly.cs | 6 +++--- NPCs/NormalNPCs/WildBumblebirb.cs | 2 +- NPCs/SunkenSea/Clam.cs | 2 +- NPCs/SunkenSea/GhostBell.cs | 2 +- NPCs/SunkenSea/KelpieSeadragon.cs | 2 +- NPCs/SunkenSea/LazarusLampfish.cs | 2 +- NPCs/SunkenSea/StormlionSentry.cs | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/NPCs/Abyss/ReaperShark.cs b/NPCs/Abyss/ReaperShark.cs index 6fb205d54a..3152befe5a 100644 --- a/NPCs/Abyss/ReaperShark.cs +++ b/NPCs/Abyss/ReaperShark.cs @@ -650,7 +650,7 @@ namespace CalamityMod.NPCs.Abyss { Vector2 direction = shorkCenter - player.Center; direction.Normalize(); - Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, direction * 10f, ProjectileID.DemonSickle, NPC.damage / 2, 0f, Main.myPlayer); + Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center, direction * 10f, ProjectileID.DemonSickle, 80, 0f, Main.myPlayer); } } } diff --git a/NPCs/Bumblebirb/DraconicSwarmer.cs b/NPCs/Bumblebirb/DraconicSwarmer.cs index f486b0a453..92dac2e1be 100644 --- a/NPCs/Bumblebirb/DraconicSwarmer.cs +++ b/NPCs/Bumblebirb/DraconicSwarmer.cs @@ -285,7 +285,7 @@ namespace CalamityMod.NPCs.Bumblebirb Vector2 ai0 = NPC.Center - fireFrom; float ai = Main.rand.Next(100); Vector2 velocity = Vector2.Normalize(ai0.RotatedByRandom(MathHelper.PiOver4)) * 7f; - Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer, ai0.ToRotation(), ai); + Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), 75, 0f, Main.myPlayer, ai0.ToRotation(), ai); } } } diff --git a/NPCs/Bumblebirb/Dragonfolly.cs b/NPCs/Bumblebirb/Dragonfolly.cs index bc5889e23d..6c1e18eb09 100644 --- a/NPCs/Bumblebirb/Dragonfolly.cs +++ b/NPCs/Bumblebirb/Dragonfolly.cs @@ -849,7 +849,7 @@ namespace CalamityMod.NPCs.Bumblebirb Vector2 ai0 = NPC.Center - fireFrom; float ai = Main.rand.Next(100); Vector2 velocity = Vector2.Normalize(ai0.RotatedByRandom(MathHelper.PiOver4)) * 7f; - Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer, ai0.ToRotation(), ai); + Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), 75, 0f, Main.myPlayer, ai0.ToRotation(), ai); } } } @@ -923,7 +923,7 @@ namespace CalamityMod.NPCs.Bumblebirb Vector2 ai0 = NPC.Center - fireFrom; float ai = Main.rand.Next(100); Vector2 velocity = Vector2.Normalize(ai0.RotatedByRandom(MathHelper.PiOver4)) * 7f; - Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer, ai0.ToRotation(), ai); + Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), 75, 0f, Main.myPlayer, ai0.ToRotation(), ai); } } } @@ -1306,7 +1306,7 @@ namespace CalamityMod.NPCs.Bumblebirb Vector2 ai0 = NPC.Center - fireFrom; float ai = Main.rand.Next(100); Vector2 velocity = Vector2.Normalize(ai0.RotatedByRandom(MathHelper.PiOver4)) * 7f; - Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer, ai0.ToRotation(), ai); + Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), 75, 0f, Main.myPlayer, ai0.ToRotation(), ai); } } } diff --git a/NPCs/NormalNPCs/WildBumblebirb.cs b/NPCs/NormalNPCs/WildBumblebirb.cs index 7bd9d5b4b3..b4311d3200 100644 --- a/NPCs/NormalNPCs/WildBumblebirb.cs +++ b/NPCs/NormalNPCs/WildBumblebirb.cs @@ -313,7 +313,7 @@ namespace CalamityMod.NPCs.NormalNPCs Vector2 ai0 = NPC.Center - fireFrom; float ai = Main.rand.Next(100); Vector2 velocity = Vector2.Normalize(ai0.RotatedByRandom(MathHelper.PiOver4)) * 7f; - Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer, ai0.ToRotation(), ai); + Projectile.NewProjectile(NPC.GetSource_FromAI(), fireFrom.X, fireFrom.Y, velocity.X, velocity.Y, ModContent.ProjectileType(), 45, 0f, Main.myPlayer, ai0.ToRotation(), ai); } } } diff --git a/NPCs/SunkenSea/Clam.cs b/NPCs/SunkenSea/Clam.cs index f822cd01b0..bb0ceb3f0e 100644 --- a/NPCs/SunkenSea/Clam.cs +++ b/NPCs/SunkenSea/Clam.cs @@ -306,7 +306,7 @@ namespace CalamityMod.NPCs.SunkenSea if (Main.netMode != NetmodeID.MultiplayerClient) { - Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center, velocity, ModContent.ProjectileType(), NPC.damage / 2, 1); + Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center, velocity, ModContent.ProjectileType(), Main.hardMode ? 30 : 15, 1); } for (int i = 0; i < 9; i++) { diff --git a/NPCs/SunkenSea/GhostBell.cs b/NPCs/SunkenSea/GhostBell.cs index 5c7057d29f..31c82d1488 100644 --- a/NPCs/SunkenSea/GhostBell.cs +++ b/NPCs/SunkenSea/GhostBell.cs @@ -243,7 +243,7 @@ namespace CalamityMod.NPCs.SunkenSea { if (Main.netMode != NetmodeID.MultiplayerClient) { - Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(NPC.damage * 0.5f), 0, ai1: NPC.whoAmI + 1); + Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center, Vector2.Zero, ModContent.ProjectileType(), 12, 0, ai1: NPC.whoAmI + 1); } } // Reset diff --git a/NPCs/SunkenSea/KelpieSeadragon.cs b/NPCs/SunkenSea/KelpieSeadragon.cs index 74c29cbde3..af135e515c 100644 --- a/NPCs/SunkenSea/KelpieSeadragon.cs +++ b/NPCs/SunkenSea/KelpieSeadragon.cs @@ -202,7 +202,7 @@ namespace CalamityMod.NPCs.SunkenSea { Vector2 spawnPos = new Vector2(NPC.Center.X + NPC.direction * 18, NPC.position.Y + 22); Vector2 projSpeed = spawnPos.DirectionTo(currentTarget.Center).SafeNormalize(Vector2.Zero) * 6; - Projectile.NewProjectile(NPC.GetSource_FromThis(), spawnPos, projSpeed, ModContent.ProjectileType(), NPC.damage, 0f); + Projectile.NewProjectile(NPC.GetSource_FromThis(), spawnPos, projSpeed, ModContent.ProjectileType(), 10, 0f); } } // Squash and stretch diff --git a/NPCs/SunkenSea/LazarusLampfish.cs b/NPCs/SunkenSea/LazarusLampfish.cs index 7106f1ef69..8dbf194024 100644 --- a/NPCs/SunkenSea/LazarusLampfish.cs +++ b/NPCs/SunkenSea/LazarusLampfish.cs @@ -231,7 +231,7 @@ namespace CalamityMod.NPCs.SunkenSea { if (Main.netMode != NetmodeID.MultiplayerClient) { - Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center + (NPC.rotation - (NPC.spriteDirection == 1 ? 0 : MathHelper.Pi)).ToRotationVector2() * 40, Vector2.Zero, ModContent.ProjectileType(), (int)(NPC.damage * 0.5f), 1); + Projectile.NewProjectile(NPC.GetSource_FromThis(), NPC.Center + (NPC.rotation - (NPC.spriteDirection == 1 ? 0 : MathHelper.Pi)).ToRotationVector2() * 40, Vector2.Zero, ModContent.ProjectileType(), 20, 1); } SoundEngine.PlaySound(SoundID.NPCDeath7 with { Pitch = 0.4f }, NPC.Center); } diff --git a/NPCs/SunkenSea/StormlionSentry.cs b/NPCs/SunkenSea/StormlionSentry.cs index d99d6832ea..80f2e459f4 100644 --- a/NPCs/SunkenSea/StormlionSentry.cs +++ b/NPCs/SunkenSea/StormlionSentry.cs @@ -172,7 +172,7 @@ namespace CalamityMod.NPCs.SunkenSea { SoundEngine.PlaySound(Effects.StormlionEffects.Attack with { Volume = 1f, Pitch = Main.rand.NextFloat(-0.1f, 0.1f) }, NPC.Center); - Projectile.NewProjectile(NPC.GetSource_FromThis(), attackPosition, (headRot.ToRotationVector2() * 12), ModContent.ProjectileType(), NPC.damage, 0f, Main.myPlayer); + Projectile.NewProjectile(NPC.GetSource_FromThis(), attackPosition, (headRot.ToRotationVector2() * 12), ModContent.ProjectileType(), 15, 0f, Main.myPlayer); for (int i = 0; i <= 12; i++) { float variance = Main.rand.NextFloat(-0.6f, 0.6f); From f02797901e0bc28b7916491360910692e9fa34f5 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Mon, 30 Jun 2025 00:44:05 +0700 Subject: [PATCH 68/77] hi (theres another) --- NPCs/SunkenSea/StormlionSentry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/SunkenSea/StormlionSentry.cs b/NPCs/SunkenSea/StormlionSentry.cs index 80f2e459f4..bb8a55dce1 100644 --- a/NPCs/SunkenSea/StormlionSentry.cs +++ b/NPCs/SunkenSea/StormlionSentry.cs @@ -231,7 +231,7 @@ namespace CalamityMod.NPCs.SunkenSea if (time % 2 == 0) { SoundEngine.PlaySound(Effects.StormlionEffects.Attack with { Volume = 0.2f, Pitch = 0.4f * sine, MaxInstances = 30 }, NPC.Center); - Projectile proj = Projectile.NewProjectileDirect(NPC.GetSource_FromThis(), attackPosition, (headRot.ToRotationVector2() * 6), ModContent.ProjectileType(), NPC.damage * target.statLifeMax2, 0f, Main.myPlayer); + Projectile proj = Projectile.NewProjectileDirect(NPC.GetSource_FromThis(), attackPosition, (headRot.ToRotationVector2() * 6), ModContent.ProjectileType(), 15 * target.statLifeMax2, 0f, Main.myPlayer); proj.friendly = true; proj.hostile = false; } From 3fec8a53268810cd6f92d3dd9f1d5624eee8b640 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Sun, 29 Jun 2025 19:03:43 -0400 Subject: [PATCH 69/77] Fixed Orichalcum and Spectre projectile nerfs not working --- Projectiles/CalamityGlobalProjectile.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 0736d86eaf..be502f90dd 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -342,11 +342,11 @@ namespace CalamityMod.Projectiles if (source is EntitySource_OnHit e) { - // Nerf Orichalcum armor's set bonus petal damage by 25% (5 is the projectile source ID for Orichalcum armor set bonus) - if (e.Context == "5") + // Nerf Orichalcum armor's set bonus petal damage by 25% + if (e.Context == "SetBonus_Orichalcum") projectile.damage = (int)(projectile.damage * 0.75f); - // Nerf Spectre armor's set bonus soul damage by 50% (16 is the projectile source ID for Spectre Mask set bonus) - if (e.Context == "16") + // Nerf Spectre armor's set bonus soul damage by 50% + if (e.Context == "SetBonus_GhostHurt") projectile.damage /= 2; } From 4cbb6098c924b131dd18fb9de3731e1abb2f4cb9 Mon Sep 17 00:00:00 2001 From: sunny-raindrops Date: Sun, 29 Jun 2025 17:14:43 -0700 Subject: [PATCH 70/77] rengenerator sprite now has the right file name --- .../Accessories/{Regenator.png => Regenerator.png} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename Items/Accessories/{Regenator.png => Regenerator.png} (100%) diff --git a/Items/Accessories/Regenator.png b/Items/Accessories/Regenerator.png similarity index 100% rename from Items/Accessories/Regenator.png rename to Items/Accessories/Regenerator.png From 99e0dc4cf2aed602a925c859047ec4b0008eb40e Mon Sep 17 00:00:00 2001 From: ZavarskiTheRealOne Date: Mon, 30 Jun 2025 16:51:30 +0800 Subject: [PATCH 71/77] Added a missing period to the vanilla difficulties "Activate" lines --- Localization/en-US/Mods.CalamityMod.UI.hjson | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 884dc00467..381e2f9628 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -46,8 +46,8 @@ ExpertExpandedInfo: [c/a87a07:Enemies drop more loot, as well as having higher chances] [c/a87a07:Players drop more of their coins on death] ''' -ExpertActivate: Expert is active -ExpertDeactivate: Expert is not active +ExpertActivate: Expert is active. +ExpertDeactivate: Expert is not active. Master: Master MasterEnabled: Master Mode is enabled MasterShortInfo: "[c/00ad79:Game over man, game over! A tougher step up in stats from Expert Mode]" @@ -58,8 +58,8 @@ MasterExpandedInfo: [c/029c6d:Players drop ALL their coins on death] [c/029c6d:Players gain an additional accessory slot at the start of the game] ''' -MasterActivate: Master is active -MasterDeactivate: Master is not active +MasterActivate: Master is active. +MasterDeactivate: Master is not active. Revengeance: Revengeance RevengeanceEnabled: Revengeance Mode is enabled RevengeanceShortInfo: "[c/F54254:The intended Calamity experience! Can only be enabled in Expert Mode!]" From 483ca9ec44453de2ac9076dd81a46ffba1672bf1 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:29:53 -0400 Subject: [PATCH 72/77] Golem no longer spawns 4 fists or makes explosions when punching in Death --- NPCs/VanillaNPCAIOverrides/Bosses/GolemAI.cs | 43 +------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/NPCs/VanillaNPCAIOverrides/Bosses/GolemAI.cs b/NPCs/VanillaNPCAIOverrides/Bosses/GolemAI.cs index d57056008a..c4bf6be1c3 100644 --- a/NPCs/VanillaNPCAIOverrides/Bosses/GolemAI.cs +++ b/NPCs/VanillaNPCAIOverrides/Bosses/GolemAI.cs @@ -32,13 +32,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses if (npc.localAI[0] == 0f && Main.netMode != NetmodeID.MultiplayerClient) { npc.localAI[0] = 1f; - int numFists = death ? 2 : 1; - for (int i = 0; i < numFists; i++) - { - float fistPunchTimeOffset = i * 30f; - NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X - 84, (int)npc.Center.Y - 9, NPCID.GolemFistLeft, 0, 0f, fistPunchTimeOffset); - NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X + 78, (int)npc.Center.Y - 9, NPCID.GolemFistRight, 0, 0f, fistPunchTimeOffset); - } + NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X - 84, (int)npc.Center.Y - 9, NPCID.GolemFistLeft, 0); + NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X + 78, (int)npc.Center.Y - 9, NPCID.GolemFistRight, 0); NPC.NewNPC(npc.GetSource_FromAI(), (int)npc.Center.X - 3, (int)npc.Center.Y - 57, NPCID.GolemHead); } @@ -891,54 +886,20 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses } float maxPunchDistance = 700f; - int explosionLimit = 2; if (death) { if (npc.life < npc.lifeMax / 2) - { maxPunchDistance += MathHelper.Lerp(-175f, 75f, Main.rand.NextFloat()); - explosionLimit++; - } if (npc.life < npc.lifeMax / 4) - { maxPunchDistance += MathHelper.Lerp(-175f, 75f, Main.rand.NextFloat()); - explosionLimit++; - } } if (distanceFromRestPosition > maxPunchDistance || npc.collideX || npc.collideY) { // Avoid cheap bullshit npc.damage = 0; - npc.noTileCollide = true; npc.ai[0] = 0f; - - if (death) - { - int type = ProjectileID.InfernoHostileBlast; - bool shootExplosion = true; - int numExplosions = 0; - for (int i = 0; i < Main.maxProjectiles; i++) - { - if (Main.projectile[i].active && Main.projectile[i].type == type) - { - numExplosions++; - if (numExplosions >= explosionLimit) - { - shootExplosion = false; - break; - } - } - } - - if (shootExplosion) - { - int damage = npc.GetProjectileDamage(type); - if (Main.netMode != NetmodeID.MultiplayerClient) - Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center, Vector2.Zero, type, damage, 0f, Main.myPlayer, 0f, 0f, 1f); - } - } } } else From 035b3ce5ad866bc3f9c8f69914673b4a4ff2fa32 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Wed, 2 Jul 2025 17:06:57 -0400 Subject: [PATCH 73/77] Fixed Stealth Bar still saying that stealth increases rogue crit --- Localization/en-US/Mods.CalamityMod.UI.hjson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Localization/en-US/Mods.CalamityMod.UI.hjson b/Localization/en-US/Mods.CalamityMod.UI.hjson index 381e2f9628..d4886b9a19 100644 --- a/Localization/en-US/Mods.CalamityMod.UI.hjson +++ b/Localization/en-US/Mods.CalamityMod.UI.hjson @@ -18,7 +18,7 @@ StealthInfoText: Rogue stealth builds while not attacking and slower while moving Once you have built max stealth, you will be able to perform a Stealth Strike Rogue stealth only reduces when you attack, it does not reduce while moving - The higher your rogue stealth the higher your rogue damage and crit + The higher your rogue stealth the higher your rogue damage Having more stealth regeneration slightly decreases the damage bonus from stealth This is offset by you being able to use stealth strikes far more often ''' From 6fe5170e30d9fa4157759e1d0a455cfd95bae5dd Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Wed, 2 Jul 2025 21:43:13 -0400 Subject: [PATCH 74/77] Add Truffle name Mad Lad for donor (replaces old name) --- NPCs/CalamityGlobalTownNPC.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 020091f7b8..3cd7739407 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -89,7 +89,7 @@ namespace CalamityMod.NPCs { "Joeseph Jostar", "Storm Havik", // <@!1013452363178197072> (fishnotduck) - "Magorfis Splunt the Greater Finklejim", // <@!147490809334333440> (eidolbyssus) + "Magorfis Splunt the Greater Finklejim", // <@!147490809334333440> (eidolbyssus) }; private static readonly string[] CyborgNames = { @@ -100,8 +100,6 @@ namespace CalamityMod.NPCs { "Tavish DeGroot", // <@!442447226992721930> (magicoal) "Fimmy", // <@!407348617079160832> (darkmega5) - // SLATED FOR REPLACEMENT -- donor has not picked a new name yet - // "Dorira", // <@!215269032360804352> (crimsoncb) "John Helldiver", // <@!614126424751603714> (exellent.) }; private static readonly string[] DryadNames = @@ -254,6 +252,7 @@ namespace CalamityMod.NPCs { "Aldrimil", // <@!413719640238194689> (Thorioum#2475) "Wonton", // <@!1198092982923043040> (imonthatgudkush) + "Mad Lad", // <@!215269032360804352> (crimsoncb) }; private static readonly string[] WitchDoctorNames = { From 50dfb855823189bec9f472188ec5d216b08b345c Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Thu, 3 Jul 2025 10:12:23 -0400 Subject: [PATCH 75/77] Add Orange Tabby Cat name Kiba for donor --- NPCs/CalamityGlobalTownNPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 3cd7739407..e310c89917 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -358,6 +358,7 @@ namespace CalamityMod.NPCs "Felix", // <@!183424826407518208> (lilac_vrt_olligoci) "Tardo", // <@!739343546867384391> (midnight295) "Dali", // <@!460238880436781061> (darthlego) + "Kiba", // <@!852348657072340992> (jollydragonslayer) }; private static readonly string[] TownCatRussianBlueNames = null; private static readonly string[] TownCatSilverNames = From e935096eb94171068d27af47be0c532a2bf709ca Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 23 Jun 2025 12:43:01 -0400 Subject: [PATCH 76/77] Some changes to boss defense damage sources --- NPCs/AquaticScourge/AquaticScourgeBody.cs | 1 - NPCs/CalamityGlobalNPC.cs | 1 - NPCs/Leviathan/Anahita.cs | 1 + Projectiles/Boss/AresPlasmaBolt.cs | 1 - Projectiles/Boss/AresPlasmaFireball.cs | 1 - Projectiles/Boss/BirbAura.cs | 1 + Projectiles/Boss/CrimulanSpike.cs | 1 - Projectiles/Boss/FlareBomb.cs | 1 - Projectiles/Boss/FlareDust.cs | 1 - Projectiles/Boss/FlareDust2.cs | 1 - Projectiles/Boss/MoltenBlob.cs | 1 - Projectiles/Boss/PhantomBlast.cs | 1 - Projectiles/Boss/PhantomBlast2.cs | 1 - Projectiles/Boss/ProvidenceCrystalShard.cs | 1 - Projectiles/Boss/ThanatosLaser.cs | 1 - Projectiles/Boss/UnstableCrimulanGlob.cs | 1 - Projectiles/Boss/UnstableEbonianGlob.cs | 1 - Projectiles/Boss/YharonBulletHellVortex.cs | 1 + Projectiles/CalamityGlobalProjectileTweaks.cs | 11 +++++------ 19 files changed, 8 insertions(+), 21 deletions(-) diff --git a/NPCs/AquaticScourge/AquaticScourgeBody.cs b/NPCs/AquaticScourge/AquaticScourgeBody.cs index 0e2dd6efac..9f0e1092cc 100644 --- a/NPCs/AquaticScourge/AquaticScourgeBody.cs +++ b/NPCs/AquaticScourge/AquaticScourgeBody.cs @@ -29,7 +29,6 @@ namespace CalamityMod.NPCs.AquaticScourge public override void SetDefaults() { - NPC.Calamity().canBreakPlayerDefense = true; NPC.GetNPCDamage(); NPC.width = 32; NPC.height = 32; diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 7516c3ad75..d768d4a57a 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2886,7 +2886,6 @@ namespace CalamityMod.NPCs case NPCID.Sharkron2: npc.width = npc.height = 36; npc.chaseable = false; - canBreakPlayerDefense = true; break; // Fix drawing issues with Golem's Free Head diff --git a/NPCs/Leviathan/Anahita.cs b/NPCs/Leviathan/Anahita.cs index 221e6c3237..9fb0c6ff02 100644 --- a/NPCs/Leviathan/Anahita.cs +++ b/NPCs/Leviathan/Anahita.cs @@ -61,6 +61,7 @@ namespace CalamityMod.NPCs.Leviathan public override void SetDefaults() { + NPC.Calamity().canBreakPlayerDefense = true; NPC.GetNPCDamage(); NPC.npcSlots = 16f; NPC.width = 100; diff --git a/Projectiles/Boss/AresPlasmaBolt.cs b/Projectiles/Boss/AresPlasmaBolt.cs index dc9c8a14e0..3b250b5baf 100644 --- a/Projectiles/Boss/AresPlasmaBolt.cs +++ b/Projectiles/Boss/AresPlasmaBolt.cs @@ -22,7 +22,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 18; Projectile.height = 18; Projectile.hostile = true; diff --git a/Projectiles/Boss/AresPlasmaFireball.cs b/Projectiles/Boss/AresPlasmaFireball.cs index e1611af3ba..5dd72d425e 100644 --- a/Projectiles/Boss/AresPlasmaFireball.cs +++ b/Projectiles/Boss/AresPlasmaFireball.cs @@ -26,7 +26,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 36; Projectile.height = 36; Projectile.hostile = true; diff --git a/Projectiles/Boss/BirbAura.cs b/Projectiles/Boss/BirbAura.cs index bf325251d8..d3e0fc4f53 100644 --- a/Projectiles/Boss/BirbAura.cs +++ b/Projectiles/Boss/BirbAura.cs @@ -32,6 +32,7 @@ namespace CalamityMod.Projectiles.Boss Projectile.penetrate = -1; Projectile.tileCollide = false; Projectile.timeLeft = 1200; + Projectile.Calamity().DealsDefenseDamage = true; } public override void SendExtraAI(BinaryWriter writer) diff --git a/Projectiles/Boss/CrimulanSpike.cs b/Projectiles/Boss/CrimulanSpike.cs index 233db11b4a..619f104cac 100644 --- a/Projectiles/Boss/CrimulanSpike.cs +++ b/Projectiles/Boss/CrimulanSpike.cs @@ -25,7 +25,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 20; Projectile.height = 20; Projectile.hostile = true; diff --git a/Projectiles/Boss/FlareBomb.cs b/Projectiles/Boss/FlareBomb.cs index 0d9d4a4d21..515af26689 100644 --- a/Projectiles/Boss/FlareBomb.cs +++ b/Projectiles/Boss/FlareBomb.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 64; Projectile.height = 66; Projectile.hostile = true; diff --git a/Projectiles/Boss/FlareDust.cs b/Projectiles/Boss/FlareDust.cs index a2d4f36aef..b8319f6a3b 100644 --- a/Projectiles/Boss/FlareDust.cs +++ b/Projectiles/Boss/FlareDust.cs @@ -26,7 +26,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 64; Projectile.height = 66; Projectile.scale = 1.5f; diff --git a/Projectiles/Boss/FlareDust2.cs b/Projectiles/Boss/FlareDust2.cs index a2252c2bca..c6e34661ec 100644 --- a/Projectiles/Boss/FlareDust2.cs +++ b/Projectiles/Boss/FlareDust2.cs @@ -19,7 +19,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 64; Projectile.height = 66; Projectile.scale = 1.5f; diff --git a/Projectiles/Boss/MoltenBlob.cs b/Projectiles/Boss/MoltenBlob.cs index 9c3698fe8f..209481a110 100644 --- a/Projectiles/Boss/MoltenBlob.cs +++ b/Projectiles/Boss/MoltenBlob.cs @@ -25,7 +25,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 12; Projectile.height = 12; Projectile.hostile = true; diff --git a/Projectiles/Boss/PhantomBlast.cs b/Projectiles/Boss/PhantomBlast.cs index 8069efd309..5c74ab7deb 100644 --- a/Projectiles/Boss/PhantomBlast.cs +++ b/Projectiles/Boss/PhantomBlast.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Projectiles.Boss public new string LocalizationCategory => "Projectiles.Boss"; public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 18; Projectile.height = 18; Projectile.hostile = true; diff --git a/Projectiles/Boss/PhantomBlast2.cs b/Projectiles/Boss/PhantomBlast2.cs index f581c4a065..f4f724911c 100644 --- a/Projectiles/Boss/PhantomBlast2.cs +++ b/Projectiles/Boss/PhantomBlast2.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Projectiles.Boss public new string LocalizationCategory => "Projectiles.Boss"; public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 18; Projectile.height = 18; Projectile.hostile = true; diff --git a/Projectiles/Boss/ProvidenceCrystalShard.cs b/Projectiles/Boss/ProvidenceCrystalShard.cs index a745f81594..4f99f0d4d1 100644 --- a/Projectiles/Boss/ProvidenceCrystalShard.cs +++ b/Projectiles/Boss/ProvidenceCrystalShard.cs @@ -25,7 +25,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 34; Projectile.height = 34; Projectile.hostile = true; diff --git a/Projectiles/Boss/ThanatosLaser.cs b/Projectiles/Boss/ThanatosLaser.cs index 46d82f7611..474cf05d03 100644 --- a/Projectiles/Boss/ThanatosLaser.cs +++ b/Projectiles/Boss/ThanatosLaser.cs @@ -38,7 +38,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 22; Projectile.height = 22; Projectile.hostile = true; diff --git a/Projectiles/Boss/UnstableCrimulanGlob.cs b/Projectiles/Boss/UnstableCrimulanGlob.cs index ae55efbd51..c8a8e560da 100644 --- a/Projectiles/Boss/UnstableCrimulanGlob.cs +++ b/Projectiles/Boss/UnstableCrimulanGlob.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 30; Projectile.height = 30; Projectile.hostile = true; diff --git a/Projectiles/Boss/UnstableEbonianGlob.cs b/Projectiles/Boss/UnstableEbonianGlob.cs index 48e4bc7d82..96aff26ff3 100644 --- a/Projectiles/Boss/UnstableEbonianGlob.cs +++ b/Projectiles/Boss/UnstableEbonianGlob.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Projectiles.Boss public override void SetDefaults() { - Projectile.Calamity().DealsDefenseDamage = true; Projectile.width = 30; Projectile.height = 30; Projectile.hostile = true; diff --git a/Projectiles/Boss/YharonBulletHellVortex.cs b/Projectiles/Boss/YharonBulletHellVortex.cs index 8497db0b18..430144499a 100644 --- a/Projectiles/Boss/YharonBulletHellVortex.cs +++ b/Projectiles/Boss/YharonBulletHellVortex.cs @@ -31,6 +31,7 @@ namespace CalamityMod.Projectiles.Boss Projectile.penetrate = -1; Projectile.alpha = 255; Projectile.timeLeft = 60000; + Projectile.Calamity().DealsDefenseDamage = true; } public override void SendExtraAI(BinaryWriter writer) diff --git a/Projectiles/CalamityGlobalProjectileTweaks.cs b/Projectiles/CalamityGlobalProjectileTweaks.cs index 67f9855cab..9431add264 100644 --- a/Projectiles/CalamityGlobalProjectileTweaks.cs +++ b/Projectiles/CalamityGlobalProjectileTweaks.cs @@ -297,18 +297,17 @@ namespace CalamityMod.Projectiles { ProjectileID.CannonballHostile, defenseDamage }, { ProjectileID.Cthulunado, defenseDamage }, // Duke Fishron's larger Sharknados { ProjectileID.CultistBossFireBall, defenseDamage }, - { ProjectileID.CultistBossFireBallClone, defenseDamage }, { ProjectileID.CultistBossIceMist, defenseDamage }, - { ProjectileID.CultistBossLightningOrbArc, defenseDamage }, + { ProjectileID.CultistBossLightningOrbArc, defenseDamage }, // Reused by Storm Weaver { ProjectileID.DD2BetsyFireball, defenseDamage }, { ProjectileID.DD2BetsyFlameBreath, defenseDamage }, { ProjectileID.DeerclopsIceSpike, defenseDamage }, - { ProjectileID.DeerclopsRangedProjectile, defenseDamage }, // Deerclops shadow hands + { ProjectileID.DeerclopsRangedProjectile, defenseDamage }, // Deerclops rubble { ProjectileID.DemonSickle, defenseDamage }, { ProjectileID.FairyQueenLance, defenseDamage }, // Empress of Light's lance walls { ProjectileID.FairyQueenSunDance, defenseDamage }, // Empress of Light's Sun Dance { ProjectileID.FlamingScythe, defenseDamage }, // Pumpking orange spinning scythes - { ProjectileID.FrostWave, defenseDamage }, // Ice Queen frost waves + { ProjectileID.FrostWave, defenseDamage }, // Ice Queen frost waves, reused by Storm Weaver { ProjectileID.HallowBossLastingRainbow, defenseDamage }, // Empress of Light's lingering rainbow trail hitboxes { ProjectileID.InfernoHostileBlast, defenseDamage }, // Diabolist inferno fork explosions { ProjectileID.JavelinHostile, defenseDamage }, @@ -316,13 +315,13 @@ namespace CalamityMod.Projectiles { ProjectileID.PhantasmalDeathray, defenseDamage }, { ProjectileID.PhantasmalSphere, defenseDamage }, { ProjectileID.Present, defenseDamage }, // Falling present bombs in Frost Moon - { ProjectileID.RocketSkeleton, defenseDamage }, // Skeleton Commando rockets + { ProjectileID.QueenSlimeSmash, defenseDamage }, + { ProjectileID.RocketSkeleton, defenseDamage }, // Skeleton Commando rockets, reused by Rev+ Skeletron Prime { ProjectileID.RockGolemRock, defenseDamage }, { ProjectileID.RuneBlast, defenseDamage }, // Rune Wizard shots { ProjectileID.SaucerDeathray, defenseDamage }, { ProjectileID.SaucerMissile, defenseDamage }, { ProjectileID.Sharknado, defenseDamage }, - { ProjectileID.Skull, defenseDamage }, // Skeletron Expert+ skulls { ProjectileID.SniperBullet, defenseDamage }, // Skeleton Sniper bullets { ProjectileID.Spike, defenseDamage }, // Santank spike balls { ProjectileID.ThornBall, Do(Main.zenithWorld ? IgnoreWater : DontIgnoreWater, DefenseDamage) }, // Plantera bouncing thorn balls From 2390edf1f26971726bd9af26254cc955d64b0314 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 23 Jun 2025 22:32:12 -0400 Subject: [PATCH 77/77] Allow me to rip out this entire bed of thorns --- NPCs/Abyss/BabyCannonballJellyfish.cs | 4 - NPCs/Abyss/Bloatfish.cs | 4 - NPCs/Abyss/BobbitWormHead.cs | 4 - NPCs/Abyss/BoxJellyfish.cs | 4 - NPCs/Abyss/CannonballJellyfish.cs | 4 - NPCs/Abyss/ColossalSquid.cs | 4 - NPCs/Abyss/Cuttlefish.cs | 4 - NPCs/Abyss/DevilFish.cs | 4 - NPCs/Abyss/DevilFishAlt.cs | 4 - NPCs/Abyss/EidolonWyrmBody.cs | 4 - NPCs/Abyss/EidolonWyrmBodyAlt.cs | 4 - NPCs/Abyss/EidolonWyrmHead.cs | 4 - NPCs/Abyss/EidolonWyrmTail.cs | 4 - NPCs/Abyss/GiantSquid.cs | 4 - NPCs/Abyss/GulperEelBody.cs | 4 - NPCs/Abyss/GulperEelBodyAlt.cs | 4 - NPCs/Abyss/GulperEelHead.cs | 4 - NPCs/Abyss/GulperEelTail.cs | 4 - NPCs/Abyss/Laserfish.cs | 4 - NPCs/Abyss/LuminousCorvina.cs | 4 - NPCs/Abyss/MirageJelly.cs | 4 - NPCs/Abyss/MorayEel.cs | 4 - NPCs/Abyss/OarfishBody.cs | 4 - NPCs/Abyss/OarfishHead.cs | 4 - NPCs/Abyss/OarfishTail.cs | 4 - NPCs/Abyss/ReaperShark.cs | 4 - NPCs/Abyss/SlabCrab.cs | 4 - NPCs/Abyss/ToxicMinnow.cs | 4 - NPCs/Abyss/Viperfish.cs | 4 - NPCs/AcidRain/AcidEel.cs | 4 - NPCs/AcidRain/FlakCrab.cs | 4 - NPCs/AcidRain/GammaSlime.cs | 4 - NPCs/AcidRain/IrradiatedSlime.cs | 4 - NPCs/AcidRain/NuclearToad.cs | 4 - NPCs/AcidRain/Orthocera.cs | 4 - NPCs/AcidRain/Radiator.cs | 4 - NPCs/AcidRain/Skyfin.cs | 4 - NPCs/AcidRain/SulphurousSkater.cs | 4 - NPCs/AcidRain/Trilobite.cs | 4 - NPCs/AquaticScourge/AquaticScourgeBody.cs | 3 - NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs | 3 - NPCs/AquaticScourge/AquaticScourgeHead.cs | 3 - NPCs/AquaticScourge/AquaticScourgeTail.cs | 3 - NPCs/Astral/Aries.cs | 4 - NPCs/Astral/Astraglomerate.cs | 4 - NPCs/Astral/AstralProbe.cs | 4 - NPCs/Astral/AstralSlime.cs | 4 - NPCs/Astral/AstralachneaGround.cs | 4 - NPCs/Astral/AstralachneaWall.cs | 4 - NPCs/Astral/Atlas.cs | 4 - NPCs/Astral/FusionFeeder.cs | 4 - NPCs/Astral/Glomerling.cs | 4 - NPCs/Astral/Hadarian.cs | 4 - NPCs/Astral/Mantis.cs | 4 - NPCs/Astral/Nova.cs | 4 - NPCs/Astral/SightseerCollider.cs | 4 - NPCs/Astral/SightseerSpitter.cs | 4 - NPCs/Astral/StellarCulex.cs | 4 - NPCs/AstrumAureus/AstrumAureus.cs | 3 - NPCs/AstrumDeus/AstrumDeusBody.cs | 3 - NPCs/AstrumDeus/AstrumDeusHead.cs | 3 - NPCs/AstrumDeus/AstrumDeusTail.cs | 3 - NPCs/BrimstoneElemental/BrimstoneElemental.cs | 3 - NPCs/Bumblebirb/DraconicSwarmer.cs | 4 - NPCs/Bumblebirb/Dragonfolly.cs | 3 - NPCs/CalClone/CalamitasClone.cs | 3 - NPCs/CalClone/SoulSeeker.cs | 4 - NPCs/CalamityGlobalNPC.cs | 114 ------------------ NPCs/CeaselessVoid/CeaselessVoid.cs | 3 - NPCs/CeaselessVoid/DarkEnergy.cs | 4 - NPCs/Crabulon/CrabShroom.cs | 4 - NPCs/Crabulon/Crabulon.cs | 3 - NPCs/Crags/CalamityEye.cs | 4 - NPCs/Crags/DespairStone.cs | 4 - NPCs/Crags/HeatSpirit.cs | 4 - NPCs/Crags/InfernalCongealment.cs | 4 - NPCs/Crags/RenegadeWarlock.cs | 4 - NPCs/Crags/Scryllar.cs | 4 - NPCs/Crags/ScryllarRage.cs | 4 - NPCs/Crags/SoulSlurper.cs | 4 - NPCs/Cryogen/Cryogen.cs | 3 - NPCs/DesertScourge/DesertNuisanceBody.cs | 3 - NPCs/DesertScourge/DesertNuisanceBodyYoung.cs | 3 - NPCs/DesertScourge/DesertNuisanceHead.cs | 3 - NPCs/DesertScourge/DesertNuisanceHeadYoung.cs | 3 - NPCs/DesertScourge/DesertNuisanceTail.cs | 3 - NPCs/DesertScourge/DesertNuisanceTailYoung.cs | 3 - NPCs/DesertScourge/DesertScourgeBody.cs | 3 - NPCs/DesertScourge/DesertScourgeHead.cs | 3 - NPCs/DesertScourge/DesertScourgeTail.cs | 3 - NPCs/DevourerofGods/CosmicGuardianBody.cs | 4 - NPCs/DevourerofGods/CosmicGuardianHead.cs | 4 - NPCs/DevourerofGods/CosmicGuardianTail.cs | 4 - NPCs/DevourerofGods/DevourerofGodsBody.cs | 3 - NPCs/DevourerofGods/DevourerofGodsHead.cs | 3 - NPCs/DevourerofGods/DevourerofGodsTail.cs | 3 - NPCs/ExoMechs/Apollo/Apollo.cs | 3 - NPCs/ExoMechs/Ares/AresBody.cs | 3 - NPCs/ExoMechs/Ares/AresGaussNuke.cs | 3 - NPCs/ExoMechs/Ares/AresLaserCannon.cs | 3 - NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs | 3 - NPCs/ExoMechs/Ares/AresTeslaCannon.cs | 3 - NPCs/ExoMechs/Artemis/Artemis.cs | 3 - NPCs/ExoMechs/Thanatos/ThanatosBody1.cs | 3 - NPCs/ExoMechs/Thanatos/ThanatosBody2.cs | 3 - NPCs/ExoMechs/Thanatos/ThanatosHead.cs | 3 - NPCs/ExoMechs/Thanatos/ThanatosTail.cs | 3 - NPCs/HiveMind/DankCreeper.cs | 4 - NPCs/HiveMind/HiveMind.cs | 3 - NPCs/Leviathan/Anahita.cs | 3 - NPCs/Leviathan/AquaticAberration.cs | 4 - NPCs/Leviathan/Leviathan.cs | 3 - NPCs/NormalNPCs/AeroSlime.cs | 4 - NPCs/NormalNPCs/ArmoredDiggerBody.cs | 4 - NPCs/NormalNPCs/ArmoredDiggerHead.cs | 4 - NPCs/NormalNPCs/ArmoredDiggerTail.cs | 4 - NPCs/NormalNPCs/AuroraSpirit.cs | 4 - NPCs/NormalNPCs/BloomSlime.cs | 4 - NPCs/NormalNPCs/Bohldohr.cs | 4 - NPCs/NormalNPCs/BucketZombie.cs | 4 - NPCs/NormalNPCs/CladCrab.cs | 4 - NPCs/NormalNPCs/CloudElemental.cs | 4 - NPCs/NormalNPCs/Cnidrion.cs | 4 - NPCs/NormalNPCs/CrawlerAmber.cs | 4 - NPCs/NormalNPCs/CrawlerAmethyst.cs | 4 - NPCs/NormalNPCs/CrawlerCrystal.cs | 4 - NPCs/NormalNPCs/CrawlerDiamond.cs | 4 - NPCs/NormalNPCs/CrawlerEmerald.cs | 4 - NPCs/NormalNPCs/CrawlerRuby.cs | 4 - NPCs/NormalNPCs/CrawlerSapphire.cs | 4 - NPCs/NormalNPCs/CrawlerTopaz.cs | 4 - NPCs/NormalNPCs/CrimulanBlightSlime.cs | 4 - NPCs/NormalNPCs/CryoSlime.cs | 4 - NPCs/NormalNPCs/Cryon.cs | 4 - NPCs/NormalNPCs/EbonianBlightSlime.cs | 4 - NPCs/NormalNPCs/Eidolist.cs | 4 - NPCs/NormalNPCs/FearlessGoldfishWarrior.cs | 4 - NPCs/NormalNPCs/Frogfish.cs | 4 - NPCs/NormalNPCs/Horse.cs | 4 - NPCs/NormalNPCs/IceClasper.cs | 4 - NPCs/NormalNPCs/ImpiousImmolator.cs | 4 - NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs | 4 - NPCs/NormalNPCs/MantisShrimp.cs | 4 - NPCs/NormalNPCs/OverloadedSoldier.cs | 4 - NPCs/NormalNPCs/PerennialSlime.cs | 4 - NPCs/NormalNPCs/PhantomSpirit.cs | 4 - NPCs/NormalNPCs/PhantomSpiritL.cs | 4 - NPCs/NormalNPCs/PhantomSpiritM.cs | 4 - NPCs/NormalNPCs/PhantomSpiritS.cs | 4 - NPCs/NormalNPCs/PlanterasFreeTentacle.cs | 4 - NPCs/NormalNPCs/ProfanedEnergyBody.cs | 4 - NPCs/NormalNPCs/Rimehound.cs | 4 - NPCs/NormalNPCs/Rotdog.cs | 4 - NPCs/NormalNPCs/ScornEater.cs | 4 - NPCs/NormalNPCs/ShockstormShuttle.cs | 4 - NPCs/NormalNPCs/Stormlion.cs | 4 - NPCs/NormalNPCs/Sunskater.cs | 4 - NPCs/NormalNPCs/WildBumblebirb.cs | 4 - NPCs/NormalNPCs/WulfrumAmplifier.cs | 4 - NPCs/NormalNPCs/WulfrumDrone.cs | 4 - NPCs/NormalNPCs/WulfrumGyrator.cs | 4 - NPCs/NormalNPCs/WulfrumHovercraft.cs | 4 - NPCs/NormalNPCs/WulfrumRover.cs | 4 - NPCs/OldDuke/OldDuke.cs | 3 - NPCs/OldDuke/OldDukeToothBall.cs | 4 - NPCs/OldDuke/SulphurousSharkron.cs | 4 - NPCs/Perforator/PerforatorBodyLarge.cs | 4 - NPCs/Perforator/PerforatorBodyMedium.cs | 4 - NPCs/Perforator/PerforatorBodySmall.cs | 4 - NPCs/Perforator/PerforatorHeadLarge.cs | 4 - NPCs/Perforator/PerforatorHeadMedium.cs | 4 - NPCs/Perforator/PerforatorHeadSmall.cs | 4 - NPCs/Perforator/PerforatorHive.cs | 3 - NPCs/Perforator/PerforatorTailLarge.cs | 4 - NPCs/Perforator/PerforatorTailMedium.cs | 4 - NPCs/Perforator/PerforatorTailSmall.cs | 4 - NPCs/PlagueEnemies/Melter.cs | 4 - NPCs/PlagueEnemies/PestilentSlime.cs | 4 - NPCs/PlagueEnemies/PlagueCharger.cs | 4 - NPCs/PlagueEnemies/PlagueChargerLarge.cs | 4 - NPCs/PlagueEnemies/PlaguebringerMiniboss.cs | 4 - NPCs/PlagueEnemies/Plagueshell.cs | 4 - NPCs/PlagueEnemies/Viruling.cs | 4 - .../PlagueHomingMissile.cs | 4 - NPCs/PlaguebringerGoliath/PlagueMine.cs | 4 - .../PlaguebringerGoliath.cs | 3 - NPCs/Polterghast/PolterPhantom.cs | 3 - NPCs/Polterghast/Polterghast.cs | 3 - .../ProfanedGuardianCommander.cs | 3 - .../ProfanedGuardianDefender.cs | 4 - .../ProfanedGuardianHealer.cs | 4 - NPCs/Providence/ProvSpawnDefense.cs | 4 - NPCs/Providence/ProvSpawnHealer.cs | 4 - NPCs/Providence/ProvSpawnOffense.cs | 4 - NPCs/Providence/Providence.cs | 3 - NPCs/Ravager/FlamePillar.cs | 4 - NPCs/Ravager/RavagerBody.cs | 3 - NPCs/Ravager/RavagerClawLeft.cs | 4 - NPCs/Ravager/RavagerClawRight.cs | 4 - NPCs/Ravager/RavagerHead.cs | 4 - NPCs/Ravager/RavagerHead2.cs | 4 - NPCs/Ravager/RavagerLegLeft.cs | 4 - NPCs/Ravager/RavagerLegRight.cs | 4 - NPCs/Ravager/RockPillar.cs | 4 - NPCs/Signus/CosmicLantern.cs | 4 - NPCs/Signus/CosmicMine.cs | 4 - NPCs/Signus/Signus.cs | 3 - NPCs/SlimeGod/CorruptSlimeSpawn.cs | 4 - NPCs/SlimeGod/CorruptSlimeSpawn2.cs | 4 - NPCs/SlimeGod/CrimsonSlimeSpawn.cs | 4 - NPCs/SlimeGod/CrimulanPaladin.cs | 3 - NPCs/SlimeGod/EbonianPaladin.cs | 3 - NPCs/SlimeGod/SlimeGodCore.cs | 3 - NPCs/SlimeGod/SplitCrimulanPaladin.cs | 3 - NPCs/SlimeGod/SplitEbonianPaladin.cs | 3 - NPCs/StormWeaver/StormWeaverBody.cs | 3 - NPCs/StormWeaver/StormWeaverHead.cs | 3 - NPCs/StormWeaver/StormWeaverTail.cs | 3 - NPCs/SulphurousSea/AnthozoanCrab.cs | 4 - NPCs/SulphurousSea/AquaticUrchin.cs | 4 - NPCs/SulphurousSea/BelchingCoral.cs | 4 - NPCs/SulphurousSea/Gnasher.cs | 4 - NPCs/SulphurousSea/Sulflounder.cs | 4 - NPCs/SulphurousSea/Toxicatfish.cs | 4 - NPCs/SulphurousSea/Trasher.cs | 4 - NPCs/SunkenSea/CarrionSwallower.cs | 4 - NPCs/SunkenSea/Clam.cs | 4 - NPCs/SunkenSea/EutrophicRay.cs | 4 - NPCs/SunkenSea/GhostBell.cs | 4 - NPCs/SunkenSea/GiantClam.cs | 4 - NPCs/SunkenSea/HauntedChum.cs | 3 - NPCs/SunkenSea/Jellyghoul.cs | 4 - NPCs/SunkenSea/KelpieSeadragon.cs | 3 - NPCs/SunkenSea/LazarusLampfish.cs | 3 - NPCs/SunkenSea/Leerslug.cs | 4 - NPCs/SunkenSea/PodobooKoi.cs | 4 - NPCs/SunkenSea/Polyperil.cs | 3 - NPCs/SunkenSea/PolyperilTentacle.cs | 3 - NPCs/SunkenSea/PrismBack.cs | 4 - NPCs/SunkenSea/SandProwler.cs | 4 - NPCs/SunkenSea/SandProwlerNested.cs | 4 - NPCs/SunkenSea/Sharkoon.cs | 4 - NPCs/SunkenSea/Steampod.cs | 4 - NPCs/SupremeCalamitas/SupremeCalamitas.cs | 3 - NPCs/SupremeCalamitas/SupremeCataclysm.cs | 3 - NPCs/SupremeCalamitas/SupremeCatastrophe.cs | 3 - NPCs/Yharon/Yharon.cs | 3 - Projectiles/CalamityGlobalProjectile.cs | 103 +--------------- 248 files changed, 2 insertions(+), 1133 deletions(-) diff --git a/NPCs/Abyss/BabyCannonballJellyfish.cs b/NPCs/Abyss/BabyCannonballJellyfish.cs index 43e00656d4..2383bb5224 100644 --- a/NPCs/Abyss/BabyCannonballJellyfish.cs +++ b/NPCs/Abyss/BabyCannonballJellyfish.cs @@ -53,10 +53,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/Bloatfish.cs b/NPCs/Abyss/Bloatfish.cs index 002ff2ebce..e739ea19e3 100644 --- a/NPCs/Abyss/Bloatfish.cs +++ b/NPCs/Abyss/Bloatfish.cs @@ -42,10 +42,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/BobbitWormHead.cs b/NPCs/Abyss/BobbitWormHead.cs index b9218ec8df..3f5c0e84ea 100644 --- a/NPCs/Abyss/BobbitWormHead.cs +++ b/NPCs/Abyss/BobbitWormHead.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/BoxJellyfish.cs b/NPCs/Abyss/BoxJellyfish.cs index fb20344f3a..50a1f17866 100644 --- a/NPCs/Abyss/BoxJellyfish.cs +++ b/NPCs/Abyss/BoxJellyfish.cs @@ -44,10 +44,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/CannonballJellyfish.cs b/NPCs/Abyss/CannonballJellyfish.cs index ce1ea981bd..e07162ad68 100644 --- a/NPCs/Abyss/CannonballJellyfish.cs +++ b/NPCs/Abyss/CannonballJellyfish.cs @@ -55,10 +55,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/ColossalSquid.cs b/NPCs/Abyss/ColossalSquid.cs index 2b7e4564fa..ea898a7f67 100644 --- a/NPCs/Abyss/ColossalSquid.cs +++ b/NPCs/Abyss/ColossalSquid.cs @@ -56,10 +56,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToWater = false; NPC.Calamity().canBreakPlayerDefense = true; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/Cuttlefish.cs b/NPCs/Abyss/Cuttlefish.cs index 3dde3202c5..bdebc2ba7f 100644 --- a/NPCs/Abyss/Cuttlefish.cs +++ b/NPCs/Abyss/Cuttlefish.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/DevilFish.cs b/NPCs/Abyss/DevilFish.cs index ab478d5acd..952a15dfcb 100644 --- a/NPCs/Abyss/DevilFish.cs +++ b/NPCs/Abyss/DevilFish.cs @@ -65,10 +65,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/DevilFishAlt.cs b/NPCs/Abyss/DevilFishAlt.cs index f1be9b6e3a..68cfb20eb1 100644 --- a/NPCs/Abyss/DevilFishAlt.cs +++ b/NPCs/Abyss/DevilFishAlt.cs @@ -55,10 +55,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/Abyss/EidolonWyrmBody.cs b/NPCs/Abyss/EidolonWyrmBody.cs index 02450d05e6..46268d84d5 100644 --- a/NPCs/Abyss/EidolonWyrmBody.cs +++ b/NPCs/Abyss/EidolonWyrmBody.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.Abyss NPC.dontCountMe = true; NPC.dontTakeDamage = true; NPC.chaseable = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/EidolonWyrmBodyAlt.cs b/NPCs/Abyss/EidolonWyrmBodyAlt.cs index bb6bcfa664..d63b9dd8ff 100644 --- a/NPCs/Abyss/EidolonWyrmBodyAlt.cs +++ b/NPCs/Abyss/EidolonWyrmBodyAlt.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.Abyss NPC.dontCountMe = true; NPC.dontTakeDamage = true; NPC.chaseable = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/EidolonWyrmHead.cs b/NPCs/Abyss/EidolonWyrmHead.cs index 3ad3252016..952e03e079 100644 --- a/NPCs/Abyss/EidolonWyrmHead.cs +++ b/NPCs/Abyss/EidolonWyrmHead.cs @@ -79,10 +79,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/EidolonWyrmTail.cs b/NPCs/Abyss/EidolonWyrmTail.cs index dba229a146..2b126c6a68 100644 --- a/NPCs/Abyss/EidolonWyrmTail.cs +++ b/NPCs/Abyss/EidolonWyrmTail.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.Abyss NPC.dontCountMe = true; NPC.dontTakeDamage = true; NPC.chaseable = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/GiantSquid.cs b/NPCs/Abyss/GiantSquid.cs index 5446678168..4fb8bd8269 100644 --- a/NPCs/Abyss/GiantSquid.cs +++ b/NPCs/Abyss/GiantSquid.cs @@ -54,10 +54,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/GulperEelBody.cs b/NPCs/Abyss/GulperEelBody.cs index d8366f56db..959a7d3fd5 100644 --- a/NPCs/Abyss/GulperEelBody.cs +++ b/NPCs/Abyss/GulperEelBody.cs @@ -50,10 +50,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/GulperEelBodyAlt.cs b/NPCs/Abyss/GulperEelBodyAlt.cs index 8ffd9061fa..c09437ce55 100644 --- a/NPCs/Abyss/GulperEelBodyAlt.cs +++ b/NPCs/Abyss/GulperEelBodyAlt.cs @@ -50,10 +50,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/GulperEelHead.cs b/NPCs/Abyss/GulperEelHead.cs index 5c3bad9db5..c031afc467 100644 --- a/NPCs/Abyss/GulperEelHead.cs +++ b/NPCs/Abyss/GulperEelHead.cs @@ -70,10 +70,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/GulperEelTail.cs b/NPCs/Abyss/GulperEelTail.cs index faae8d5302..0e4baffc0c 100644 --- a/NPCs/Abyss/GulperEelTail.cs +++ b/NPCs/Abyss/GulperEelTail.cs @@ -50,10 +50,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/Laserfish.cs b/NPCs/Abyss/Laserfish.cs index 04906775dd..d96d487a4c 100644 --- a/NPCs/Abyss/Laserfish.cs +++ b/NPCs/Abyss/Laserfish.cs @@ -50,10 +50,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/LuminousCorvina.cs b/NPCs/Abyss/LuminousCorvina.cs index 6b95e594c6..333399a810 100644 --- a/NPCs/Abyss/LuminousCorvina.cs +++ b/NPCs/Abyss/LuminousCorvina.cs @@ -59,10 +59,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/MirageJelly.cs b/NPCs/Abyss/MirageJelly.cs index 5147891755..ea78b758ad 100644 --- a/NPCs/Abyss/MirageJelly.cs +++ b/NPCs/Abyss/MirageJelly.cs @@ -61,10 +61,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = false; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/MorayEel.cs b/NPCs/Abyss/MorayEel.cs index 4cbaa373e4..46cbb367d7 100644 --- a/NPCs/Abyss/MorayEel.cs +++ b/NPCs/Abyss/MorayEel.cs @@ -49,10 +49,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/OarfishBody.cs b/NPCs/Abyss/OarfishBody.cs index b110c6b019..6e99430331 100644 --- a/NPCs/Abyss/OarfishBody.cs +++ b/NPCs/Abyss/OarfishBody.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/OarfishHead.cs b/NPCs/Abyss/OarfishHead.cs index 9d36a1bf4c..2520175760 100644 --- a/NPCs/Abyss/OarfishHead.cs +++ b/NPCs/Abyss/OarfishHead.cs @@ -61,10 +61,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/OarfishTail.cs b/NPCs/Abyss/OarfishTail.cs index e18c3657b6..3286a0a347 100644 --- a/NPCs/Abyss/OarfishTail.cs +++ b/NPCs/Abyss/OarfishTail.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Abyss/ReaperShark.cs b/NPCs/Abyss/ReaperShark.cs index 3152befe5a..5a0ac556ee 100644 --- a/NPCs/Abyss/ReaperShark.cs +++ b/NPCs/Abyss/ReaperShark.cs @@ -70,10 +70,6 @@ namespace CalamityMod.NPCs.Abyss if (Main.zenithWorld) // legg NPC.height = (int)(NPC.height * 1.5f); - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/SlabCrab.cs b/NPCs/Abyss/SlabCrab.cs index b85836d81a..5f416c8320 100644 --- a/NPCs/Abyss/SlabCrab.cs +++ b/NPCs/Abyss/SlabCrab.cs @@ -77,10 +77,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToWater = false; NPC.GravityIgnoresLiquid = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/ToxicMinnow.cs b/NPCs/Abyss/ToxicMinnow.cs index 5f54401431..04e5c38808 100644 --- a/NPCs/Abyss/ToxicMinnow.cs +++ b/NPCs/Abyss/ToxicMinnow.cs @@ -58,10 +58,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Abyss/Viperfish.cs b/NPCs/Abyss/Viperfish.cs index 8e5d0c06e6..96d27fa2cc 100644 --- a/NPCs/Abyss/Viperfish.cs +++ b/NPCs/Abyss/Viperfish.cs @@ -58,10 +58,6 @@ namespace CalamityMod.NPCs.Abyss NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/AcidEel.cs b/NPCs/AcidRain/AcidEel.cs index cf7c74ef66..28ba9079b6 100644 --- a/NPCs/AcidRain/AcidEel.cs +++ b/NPCs/AcidRain/AcidEel.cs @@ -85,10 +85,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/FlakCrab.cs b/NPCs/AcidRain/FlakCrab.cs index c9505ec7fe..c27962302d 100644 --- a/NPCs/AcidRain/FlakCrab.cs +++ b/NPCs/AcidRain/FlakCrab.cs @@ -60,10 +60,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/GammaSlime.cs b/NPCs/AcidRain/GammaSlime.cs index a901b64e48..71a732a3c4 100644 --- a/NPCs/AcidRain/GammaSlime.cs +++ b/NPCs/AcidRain/GammaSlime.cs @@ -64,10 +64,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/IrradiatedSlime.cs b/NPCs/AcidRain/IrradiatedSlime.cs index 4a47bcbc42..66d0cb8297 100644 --- a/NPCs/AcidRain/IrradiatedSlime.cs +++ b/NPCs/AcidRain/IrradiatedSlime.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/NuclearToad.cs b/NPCs/AcidRain/NuclearToad.cs index 5f50419754..4522f6d9f5 100644 --- a/NPCs/AcidRain/NuclearToad.cs +++ b/NPCs/AcidRain/NuclearToad.cs @@ -90,10 +90,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/Orthocera.cs b/NPCs/AcidRain/Orthocera.cs index ef3fd1d1f3..6a47a8c9d1 100644 --- a/NPCs/AcidRain/Orthocera.cs +++ b/NPCs/AcidRain/Orthocera.cs @@ -71,10 +71,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/Radiator.cs b/NPCs/AcidRain/Radiator.cs index 2aaa69c5f4..272718dd9b 100644 --- a/NPCs/AcidRain/Radiator.cs +++ b/NPCs/AcidRain/Radiator.cs @@ -58,10 +58,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/Skyfin.cs b/NPCs/AcidRain/Skyfin.cs index a1cf912c4f..f2363ac68b 100644 --- a/NPCs/AcidRain/Skyfin.cs +++ b/NPCs/AcidRain/Skyfin.cs @@ -67,10 +67,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/SulphurousSkater.cs b/NPCs/AcidRain/SulphurousSkater.cs index 759e49aa4e..f0ed36485c 100644 --- a/NPCs/AcidRain/SulphurousSkater.cs +++ b/NPCs/AcidRain/SulphurousSkater.cs @@ -73,10 +73,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) => writer.Write(Flying); diff --git a/NPCs/AcidRain/Trilobite.cs b/NPCs/AcidRain/Trilobite.cs index f85ec39507..26dfcc202a 100644 --- a/NPCs/AcidRain/Trilobite.cs +++ b/NPCs/AcidRain/Trilobite.cs @@ -62,10 +62,6 @@ namespace CalamityMod.NPCs.AcidRain NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AquaticScourge/AquaticScourgeBody.cs b/NPCs/AquaticScourge/AquaticScourgeBody.cs index 9f0e1092cc..00db54dfd7 100644 --- a/NPCs/AquaticScourge/AquaticScourgeBody.cs +++ b/NPCs/AquaticScourge/AquaticScourgeBody.cs @@ -66,9 +66,6 @@ namespace CalamityMod.NPCs.AquaticScourge NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs b/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs index fb580c1f23..c66d0fb21b 100644 --- a/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs +++ b/NPCs/AquaticScourge/AquaticScourgeBodyAlt.cs @@ -66,9 +66,6 @@ namespace CalamityMod.NPCs.AquaticScourge NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/AquaticScourge/AquaticScourgeHead.cs b/NPCs/AquaticScourge/AquaticScourgeHead.cs index b87098a280..20746f8f02 100644 --- a/NPCs/AquaticScourge/AquaticScourgeHead.cs +++ b/NPCs/AquaticScourge/AquaticScourgeHead.cs @@ -94,9 +94,6 @@ namespace CalamityMod.NPCs.AquaticScourge NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AquaticScourge/AquaticScourgeTail.cs b/NPCs/AquaticScourge/AquaticScourgeTail.cs index 4da7ca173c..328ddf987e 100644 --- a/NPCs/AquaticScourge/AquaticScourgeTail.cs +++ b/NPCs/AquaticScourge/AquaticScourgeTail.cs @@ -64,9 +64,6 @@ namespace CalamityMod.NPCs.AquaticScourge NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/Astral/Aries.cs b/NPCs/Astral/Aries.cs index 5dfecc0272..51e258d065 100644 --- a/NPCs/Astral/Aries.cs +++ b/NPCs/Astral/Aries.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/Astraglomerate.cs b/NPCs/Astral/Astraglomerate.cs index 0be0820f7c..ea002411d8 100644 --- a/NPCs/Astral/Astraglomerate.cs +++ b/NPCs/Astral/Astraglomerate.cs @@ -58,10 +58,6 @@ namespace CalamityMod.NPCs.Astral { NPC.scale = 3f; } - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/AstralProbe.cs b/NPCs/Astral/AstralProbe.cs index 741efed4a0..3732726744 100644 --- a/NPCs/Astral/AstralProbe.cs +++ b/NPCs/Astral/AstralProbe.cs @@ -58,10 +58,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/AstralSlime.cs b/NPCs/Astral/AstralSlime.cs index 20af8be840..45496a7894 100644 --- a/NPCs/Astral/AstralSlime.cs +++ b/NPCs/Astral/AstralSlime.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/AstralachneaGround.cs b/NPCs/Astral/AstralachneaGround.cs index 13373f41c5..7b44604b57 100644 --- a/NPCs/Astral/AstralachneaGround.cs +++ b/NPCs/Astral/AstralachneaGround.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.Astral } NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Astral/AstralachneaWall.cs b/NPCs/Astral/AstralachneaWall.cs index 9cf146f5d7..d8fa0cbe21 100644 --- a/NPCs/Astral/AstralachneaWall.cs +++ b/NPCs/Astral/AstralachneaWall.cs @@ -60,10 +60,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/Atlas.cs b/NPCs/Astral/Atlas.cs index 363ff9bb8b..cd7f5ef471 100644 --- a/NPCs/Astral/Atlas.cs +++ b/NPCs/Astral/Atlas.cs @@ -154,10 +154,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/FusionFeeder.cs b/NPCs/Astral/FusionFeeder.cs index f9373dd5c2..7b8c9ecd60 100644 --- a/NPCs/Astral/FusionFeeder.cs +++ b/NPCs/Astral/FusionFeeder.cs @@ -77,10 +77,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public static bool ValidMovementPosition(Tile tile) diff --git a/NPCs/Astral/Glomerling.cs b/NPCs/Astral/Glomerling.cs index ccbe4388c2..e8c08adf32 100644 --- a/NPCs/Astral/Glomerling.cs +++ b/NPCs/Astral/Glomerling.cs @@ -55,10 +55,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/Hadarian.cs b/NPCs/Astral/Hadarian.cs index 76e15717a4..441d30a317 100644 --- a/NPCs/Astral/Hadarian.cs +++ b/NPCs/Astral/Hadarian.cs @@ -60,10 +60,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/Mantis.cs b/NPCs/Astral/Mantis.cs index 07658108a6..97f91a0a05 100644 --- a/NPCs/Astral/Mantis.cs +++ b/NPCs/Astral/Mantis.cs @@ -61,10 +61,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/Nova.cs b/NPCs/Astral/Nova.cs index 31482df041..423e776b50 100644 --- a/NPCs/Astral/Nova.cs +++ b/NPCs/Astral/Nova.cs @@ -82,10 +82,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/SightseerCollider.cs b/NPCs/Astral/SightseerCollider.cs index 3689d48278..937bae3dad 100644 --- a/NPCs/Astral/SightseerCollider.cs +++ b/NPCs/Astral/SightseerCollider.cs @@ -60,10 +60,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/SightseerSpitter.cs b/NPCs/Astral/SightseerSpitter.cs index 7163f98338..bfb8aab2ea 100644 --- a/NPCs/Astral/SightseerSpitter.cs +++ b/NPCs/Astral/SightseerSpitter.cs @@ -62,10 +62,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Astral/StellarCulex.cs b/NPCs/Astral/StellarCulex.cs index f8ed4ceff0..80c4766163 100644 --- a/NPCs/Astral/StellarCulex.cs +++ b/NPCs/Astral/StellarCulex.cs @@ -61,10 +61,6 @@ namespace CalamityMod.NPCs.Astral NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 0a9463a6f0..7cc00bf5cf 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -114,9 +114,6 @@ namespace CalamityMod.NPCs.AstrumAureus NPC.scale *= 0.8f; if (Main.zenithWorld) NPC.scale *= 1.5f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AstrumDeus/AstrumDeusBody.cs b/NPCs/AstrumDeus/AstrumDeusBody.cs index 06ee233b40..7bf89ccdd3 100644 --- a/NPCs/AstrumDeus/AstrumDeusBody.cs +++ b/NPCs/AstrumDeus/AstrumDeusBody.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.AstrumDeus NPC.dontCountMe = true; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index 7c6cdb8e61..fe2f6e60b7 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -119,9 +119,6 @@ namespace CalamityMod.NPCs.AstrumDeus NPC.value /= 5; } - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AstrumDeus/AstrumDeusTail.cs b/NPCs/AstrumDeus/AstrumDeusTail.cs index bb252b80ae..9feb4201a8 100644 --- a/NPCs/AstrumDeus/AstrumDeusTail.cs +++ b/NPCs/AstrumDeus/AstrumDeusTail.cs @@ -72,9 +72,6 @@ namespace CalamityMod.NPCs.AstrumDeus NPC.dontCountMe = true; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/BrimstoneElemental/BrimstoneElemental.cs b/NPCs/BrimstoneElemental/BrimstoneElemental.cs index 982e79e6e9..d4ecf7dac0 100644 --- a/NPCs/BrimstoneElemental/BrimstoneElemental.cs +++ b/NPCs/BrimstoneElemental/BrimstoneElemental.cs @@ -88,9 +88,6 @@ namespace CalamityMod.NPCs.BrimstoneElemental NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Bumblebirb/DraconicSwarmer.cs b/NPCs/Bumblebirb/DraconicSwarmer.cs index 92dac2e1be..d7864abfea 100644 --- a/NPCs/Bumblebirb/DraconicSwarmer.cs +++ b/NPCs/Bumblebirb/DraconicSwarmer.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.Bumblebirb NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Bumblebirb/Dragonfolly.cs b/NPCs/Bumblebirb/Dragonfolly.cs index 6c1e18eb09..c67134220c 100644 --- a/NPCs/Bumblebirb/Dragonfolly.cs +++ b/NPCs/Bumblebirb/Dragonfolly.cs @@ -84,9 +84,6 @@ namespace CalamityMod.NPCs.Bumblebirb NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index 63eba39386..ccd3112f8f 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.CalClone NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/CalClone/SoulSeeker.cs b/NPCs/CalClone/SoulSeeker.cs index d6a78285ce..0ad70b310e 100644 --- a/NPCs/CalClone/SoulSeeker.cs +++ b/NPCs/CalClone/SoulSeeker.cs @@ -53,10 +53,6 @@ namespace CalamityMod.NPCs.CalClone NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index d768d4a57a..d2456dcbc5 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -220,20 +220,6 @@ namespace CalamityMod.NPCs private const double EnemyHPMultiplier = 1.25; /// Constant multiplier used to decrease the health and/or damage of pre-Hardmode Desert enemies. private const double DesertEnemyStatMultiplier = 0.75; - /// - /// Constant multiplier used to decrease vanilla boss health in Master Mode.
- /// When combined with the universal health multiplier, results in 27.5% more health than Expert Mode. - ///
- public const double MasterModeBossHPMultiplier = 0.85; - - /// Constant multiplier used to decrease enemy health in Master Mode. - public const double MasterModeEnemyHPMultiplier = 0.75; - /// Constant multiplier used to decrease enemy damage in Master Mode. - public const double MasterModeEnemyDamageMultiplier = 0.9; - /// Constant multiplier used to decrease enemy knockback resistance. - public const float ExpertModeEnemyKnockbackMultiplier = 0.05f; - /// - public const float MasterModeEnemyKnockbackMultiplier = 0.1f; /// Constant multiplier used for decreasing the health and damage of mechanical bosses if the Early Hardmode Progression Rework config is enabled. public const double EarlyHardmodeProgressionReworkFirstMechStatMultiplier_Classic = 0.8; @@ -3008,10 +2994,6 @@ namespace CalamityMod.NPCs } } - // Nerf KB resist in Expert and Master using this roundabout method - if (Main.expertMode) - AdjustExpertModeStatScaling(npc); - // Adjust a ton of enemy stats switch (npc.type) { @@ -3509,71 +3491,6 @@ namespace CalamityMod.NPCs // Buff enemy HP by 25% npc.lifeMax = (int)Math.Round(npc.lifeMax * EnemyHPMultiplier); - - // Nerf a shitload of Master Mode enemies - // HP is nerfed by 25% (this nerf is higher due to the player not dealing any more damage in Master) - // Damage is nerfed by 15% (this nerf is lower due to the player having 100% effective defense in Master) - if (Main.masterMode) - { - AdjustMasterModeStatScaling(npc); - npc.defDamage = npc.damage; - } - - break; - - case NPCID.AncientCultistSquidhead: - // This guy only gets Master Mode nerfs - // HP is nerfed by 25% (this nerf is higher due to the player not dealing any more damage in Master) - // Damage is nerfed by 15% (this nerf is lower due to the player having 100% effective defense in Master) - if (Main.masterMode) - { - AdjustMasterModeStatScaling(npc); - npc.defDamage = npc.damage; - } - break; - - case NPCID.KingSlime: - case NPCID.EyeofCthulhu: - case NPCID.EaterofWorldsHead: - case NPCID.EaterofWorldsBody: - case NPCID.EaterofWorldsTail: - case NPCID.BrainofCthulhu: - case NPCID.Creeper: - case NPCID.QueenBee: - case NPCID.SkeletronHead: - case NPCID.SkeletronHand: - case NPCID.Deerclops: - case NPCID.WallofFlesh: - case NPCID.WallofFleshEye: - case NPCID.QueenSlimeBoss: - case NPCID.Retinazer: - case NPCID.Spazmatism: - case NPCID.TheDestroyer: - case NPCID.TheDestroyerBody: - case NPCID.TheDestroyerTail: - case NPCID.SkeletronPrime: - case NPCID.PrimeCannon: - case NPCID.PrimeLaser: - case NPCID.PrimeSaw: - case NPCID.PrimeVice: - case NPCID.Plantera: - case NPCID.PlanterasTentacle: - case NPCID.Golem: - case NPCID.GolemHead: - case NPCID.GolemHeadFree: - case NPCID.GolemFistLeft: - case NPCID.GolemFistRight: - case NPCID.HallowBoss: - case NPCID.DukeFishron: - case NPCID.CultistBoss: - case NPCID.MoonLordCore: - case NPCID.MoonLordFreeEye: - case NPCID.MoonLordHand: - case NPCID.MoonLordHead: - - if (Main.masterMode) - AdjustMasterModeStatScaling(npc, true); - break; } } @@ -9637,37 +9554,6 @@ namespace CalamityMod.NPCs } #endregion - #region Adjust Difficulty Stat Scaling - // Adjust HP and damage in Master Mode - public static void AdjustMasterModeStatScaling(NPC npc, bool isABoss = false) - { - if (!Main.masterMode) - return; - - // Bosses and enemies have separate HP reduction multipliers - npc.lifeMax = (int)Math.Round(npc.lifeMax * (isABoss ? MasterModeBossHPMultiplier : MasterModeEnemyHPMultiplier)); - - // Bosses do not get their damage reduced - if (!isABoss) - npc.damage = (int)Math.Round(npc.damage * MasterModeEnemyDamageMultiplier); - } - - // Adjust only knockback resist in Expert Mode (this is also adjusted in Master Mode because Expert has to be enabled if Master is enabled) - public static void AdjustExpertModeStatScaling(NPC npc) - { - if (!Main.expertMode) - return; - - if (npc.knockBackResist <= 0f) - return; - - // Knockback resist is backasswards in this fucking game so we need to add to the knockBackResist variable here :^) - float knockBackResistMult = Main.masterMode ? MasterModeEnemyKnockbackMultiplier : ExpertModeEnemyKnockbackMultiplier; - float knockBackResistReduction = npc.knockBackResist * knockBackResistMult; - npc.knockBackResist += knockBackResistReduction; - } - #endregion - #region Bestiary public override void SetBestiary(NPC npc, BestiaryDatabase database, BestiaryEntry bestiaryEntry) { diff --git a/NPCs/CeaselessVoid/CeaselessVoid.cs b/NPCs/CeaselessVoid/CeaselessVoid.cs index feb32e1d75..a8d82f091a 100644 --- a/NPCs/CeaselessVoid/CeaselessVoid.cs +++ b/NPCs/CeaselessVoid/CeaselessVoid.cs @@ -81,9 +81,6 @@ namespace CalamityMod.NPCs.CeaselessVoid NPC.DeathSound = DeathSound; NPC.Calamity().canBreakPlayerDefense = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/CeaselessVoid/DarkEnergy.cs b/NPCs/CeaselessVoid/DarkEnergy.cs index ed609587c8..f630d4a070 100644 --- a/NPCs/CeaselessVoid/DarkEnergy.cs +++ b/NPCs/CeaselessVoid/DarkEnergy.cs @@ -59,10 +59,6 @@ namespace CalamityMod.NPCs.CeaselessVoid NPC.HitSound = SoundID.NPCHit53; NPC.DeathSound = SoundID.NPCDeath44; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crabulon/CrabShroom.cs b/NPCs/Crabulon/CrabShroom.cs index d31e1f70bc..11eead9cab 100644 --- a/NPCs/Crabulon/CrabShroom.cs +++ b/NPCs/Crabulon/CrabShroom.cs @@ -48,10 +48,6 @@ namespace CalamityMod.NPCs.Crabulon NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/Crabulon/Crabulon.cs b/NPCs/Crabulon/Crabulon.cs index 7b35903364..4265f19d2c 100644 --- a/NPCs/Crabulon/Crabulon.cs +++ b/NPCs/Crabulon/Crabulon.cs @@ -100,9 +100,6 @@ namespace CalamityMod.NPCs.Crabulon NPC.scale *= 1.5f; NPC.defense += 12; } - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/CalamityEye.cs b/NPCs/Crags/CalamityEye.cs index 622541bb79..1768c85347 100644 --- a/NPCs/Crags/CalamityEye.cs +++ b/NPCs/Crags/CalamityEye.cs @@ -47,10 +47,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/DespairStone.cs b/NPCs/Crags/DespairStone.cs index b9db14ce14..4f1da73435 100644 --- a/NPCs/Crags/DespairStone.cs +++ b/NPCs/Crags/DespairStone.cs @@ -55,10 +55,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/HeatSpirit.cs b/NPCs/Crags/HeatSpirit.cs index 1c14f41f6e..526a94c7f0 100644 --- a/NPCs/Crags/HeatSpirit.cs +++ b/NPCs/Crags/HeatSpirit.cs @@ -47,10 +47,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/InfernalCongealment.cs b/NPCs/Crags/InfernalCongealment.cs index e398dc8703..fa13faf64c 100644 --- a/NPCs/Crags/InfernalCongealment.cs +++ b/NPCs/Crags/InfernalCongealment.cs @@ -48,10 +48,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/RenegadeWarlock.cs b/NPCs/Crags/RenegadeWarlock.cs index b2d3445b4a..34346d250a 100644 --- a/NPCs/Crags/RenegadeWarlock.cs +++ b/NPCs/Crags/RenegadeWarlock.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/Scryllar.cs b/NPCs/Crags/Scryllar.cs index 22af9262fa..3b102b0c63 100644 --- a/NPCs/Crags/Scryllar.cs +++ b/NPCs/Crags/Scryllar.cs @@ -53,10 +53,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Crags/ScryllarRage.cs b/NPCs/Crags/ScryllarRage.cs index 310531060d..9bb4bafb9f 100644 --- a/NPCs/Crags/ScryllarRage.cs +++ b/NPCs/Crags/ScryllarRage.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Crags/SoulSlurper.cs b/NPCs/Crags/SoulSlurper.cs index 9e3be9a95a..3243ce624d 100644 --- a/NPCs/Crags/SoulSlurper.cs +++ b/NPCs/Crags/SoulSlurper.cs @@ -60,10 +60,6 @@ namespace CalamityMod.NPCs.Crags NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index 5e29bf0c3a..8f67ef754e 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -126,9 +126,6 @@ namespace CalamityMod.NPCs.Cryogen NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = false; } - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/DesertScourge/DesertNuisanceBody.cs b/NPCs/DesertScourge/DesertNuisanceBody.cs index 9b572476d2..07ffc224b6 100644 --- a/NPCs/DesertScourge/DesertNuisanceBody.cs +++ b/NPCs/DesertScourge/DesertNuisanceBody.cs @@ -64,9 +64,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) => false; diff --git a/NPCs/DesertScourge/DesertNuisanceBodyYoung.cs b/NPCs/DesertScourge/DesertNuisanceBodyYoung.cs index 9201fcf04e..bb18724fbc 100644 --- a/NPCs/DesertScourge/DesertNuisanceBodyYoung.cs +++ b/NPCs/DesertScourge/DesertNuisanceBodyYoung.cs @@ -64,9 +64,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) => false; diff --git a/NPCs/DesertScourge/DesertNuisanceHead.cs b/NPCs/DesertScourge/DesertNuisanceHead.cs index 5b1f4cf895..d31f0d5d6c 100644 --- a/NPCs/DesertScourge/DesertNuisanceHead.cs +++ b/NPCs/DesertScourge/DesertNuisanceHead.cs @@ -79,9 +79,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); - if (Main.zenithWorld) NPC.scale *= 2; } diff --git a/NPCs/DesertScourge/DesertNuisanceHeadYoung.cs b/NPCs/DesertScourge/DesertNuisanceHeadYoung.cs index 62e8c3c773..1db5079b54 100644 --- a/NPCs/DesertScourge/DesertNuisanceHeadYoung.cs +++ b/NPCs/DesertScourge/DesertNuisanceHeadYoung.cs @@ -71,9 +71,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); - if (Main.zenithWorld) NPC.scale *= 2; } diff --git a/NPCs/DesertScourge/DesertNuisanceTail.cs b/NPCs/DesertScourge/DesertNuisanceTail.cs index e06bd14066..af61513d30 100644 --- a/NPCs/DesertScourge/DesertNuisanceTail.cs +++ b/NPCs/DesertScourge/DesertNuisanceTail.cs @@ -46,9 +46,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) => false; diff --git a/NPCs/DesertScourge/DesertNuisanceTailYoung.cs b/NPCs/DesertScourge/DesertNuisanceTailYoung.cs index 90b0fc0dc7..07b792c929 100644 --- a/NPCs/DesertScourge/DesertNuisanceTailYoung.cs +++ b/NPCs/DesertScourge/DesertNuisanceTailYoung.cs @@ -46,9 +46,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) => false; diff --git a/NPCs/DesertScourge/DesertScourgeBody.cs b/NPCs/DesertScourge/DesertScourgeBody.cs index e6a8aed1fe..85933a5b17 100644 --- a/NPCs/DesertScourge/DesertScourgeBody.cs +++ b/NPCs/DesertScourge/DesertScourgeBody.cs @@ -71,9 +71,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) => false; diff --git a/NPCs/DesertScourge/DesertScourgeHead.cs b/NPCs/DesertScourge/DesertScourgeHead.cs index 0595e9e6dc..160b51789d 100644 --- a/NPCs/DesertScourge/DesertScourgeHead.cs +++ b/NPCs/DesertScourge/DesertScourgeHead.cs @@ -119,9 +119,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/DesertScourge/DesertScourgeTail.cs b/NPCs/DesertScourge/DesertScourgeTail.cs index d3ee5cce9e..58fc6ab045 100644 --- a/NPCs/DesertScourge/DesertScourgeTail.cs +++ b/NPCs/DesertScourge/DesertScourgeTail.cs @@ -51,9 +51,6 @@ namespace CalamityMod.NPCs.DesertScourge NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/DevourerofGods/CosmicGuardianBody.cs b/NPCs/DevourerofGods/CosmicGuardianBody.cs index 8041253706..1466430a21 100644 --- a/NPCs/DevourerofGods/CosmicGuardianBody.cs +++ b/NPCs/DevourerofGods/CosmicGuardianBody.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.DeathSound = SoundID.NPCDeath14; NPC.netAlways = true; NPC.dontCountMe = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/DevourerofGods/CosmicGuardianHead.cs b/NPCs/DevourerofGods/CosmicGuardianHead.cs index 6eb9fba049..3915489d33 100644 --- a/NPCs/DevourerofGods/CosmicGuardianHead.cs +++ b/NPCs/DevourerofGods/CosmicGuardianHead.cs @@ -65,10 +65,6 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.HitSound = SoundID.NPCHit4; NPC.DeathSound = SoundID.NPCDeath14; NPC.netAlways = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/DevourerofGods/CosmicGuardianTail.cs b/NPCs/DevourerofGods/CosmicGuardianTail.cs index be71961cd5..1b96f53359 100644 --- a/NPCs/DevourerofGods/CosmicGuardianTail.cs +++ b/NPCs/DevourerofGods/CosmicGuardianTail.cs @@ -49,10 +49,6 @@ namespace CalamityMod.NPCs.DevourerofGods NPC.DeathSound = SoundID.NPCDeath14; NPC.netAlways = true; NPC.dontCountMe = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/DevourerofGods/DevourerofGodsBody.cs b/NPCs/DevourerofGods/DevourerofGodsBody.cs index 25d2be171a..35b00db2ce 100644 --- a/NPCs/DevourerofGods/DevourerofGodsBody.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBody.cs @@ -91,9 +91,6 @@ namespace CalamityMod.NPCs.DevourerofGods if (CalamityWorld.LegendaryMode) NPC.scale *= 1.5f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index b33e0e5517..d992764865 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -215,9 +215,6 @@ namespace CalamityMod.NPCs.DevourerofGods if (CalamityWorld.LegendaryMode) NPC.scale *= 1.5f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/DevourerofGods/DevourerofGodsTail.cs b/NPCs/DevourerofGods/DevourerofGodsTail.cs index 2dd5f1834d..d25e1c4524 100644 --- a/NPCs/DevourerofGods/DevourerofGodsTail.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTail.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.DevourerofGods if (CalamityWorld.LegendaryMode) NPC.scale *= 1.5f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/ExoMechs/Apollo/Apollo.cs b/NPCs/ExoMechs/Apollo/Apollo.cs index b274341ca0..7211c06529 100644 --- a/NPCs/ExoMechs/Apollo/Apollo.cs +++ b/NPCs/ExoMechs/Apollo/Apollo.cs @@ -167,9 +167,6 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo NPC.BossBar = Main.BigBossProgressBar.NeverValid; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index d8fcf7c080..cfe07b9bbd 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -242,9 +242,6 @@ namespace CalamityMod.NPCs.ExoMechs.Ares NPC.BossBar = ModContent.GetInstance(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ExoMechs/Ares/AresGaussNuke.cs b/NPCs/ExoMechs/Ares/AresGaussNuke.cs index 7234ce1600..f87b02ccde 100644 --- a/NPCs/ExoMechs/Ares/AresGaussNuke.cs +++ b/NPCs/ExoMechs/Ares/AresGaussNuke.cs @@ -106,9 +106,6 @@ namespace CalamityMod.NPCs.ExoMechs.Ares NPC.hide = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/ExoMechs/Ares/AresLaserCannon.cs b/NPCs/ExoMechs/Ares/AresLaserCannon.cs index a81f63a56e..d2bca3300a 100644 --- a/NPCs/ExoMechs/Ares/AresLaserCannon.cs +++ b/NPCs/ExoMechs/Ares/AresLaserCannon.cs @@ -109,9 +109,6 @@ namespace CalamityMod.NPCs.ExoMechs.Ares NPC.hide = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs b/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs index 65d8a89c91..e0b2769c32 100644 --- a/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs +++ b/NPCs/ExoMechs/Ares/AresPlasmaFlamethrower.cs @@ -103,9 +103,6 @@ namespace CalamityMod.NPCs.ExoMechs.Ares NPC.hide = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/ExoMechs/Ares/AresTeslaCannon.cs b/NPCs/ExoMechs/Ares/AresTeslaCannon.cs index 50617f35d7..e6796f26a9 100644 --- a/NPCs/ExoMechs/Ares/AresTeslaCannon.cs +++ b/NPCs/ExoMechs/Ares/AresTeslaCannon.cs @@ -104,9 +104,6 @@ namespace CalamityMod.NPCs.ExoMechs.Ares NPC.hide = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/ExoMechs/Artemis/Artemis.cs b/NPCs/ExoMechs/Artemis/Artemis.cs index 58abe447e0..773dfae0af 100644 --- a/NPCs/ExoMechs/Artemis/Artemis.cs +++ b/NPCs/ExoMechs/Artemis/Artemis.cs @@ -196,9 +196,6 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis NPC.BossBar = ModContent.GetInstance(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ExoMechs/Thanatos/ThanatosBody1.cs b/NPCs/ExoMechs/Thanatos/ThanatosBody1.cs index f9381b3b1f..b63f70659d 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosBody1.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosBody1.cs @@ -88,9 +88,6 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos NPC.BossBar = Main.BigBossProgressBar.NeverValid; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/ExoMechs/Thanatos/ThanatosBody2.cs b/NPCs/ExoMechs/Thanatos/ThanatosBody2.cs index 2fb50e7c18..cda5c41620 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosBody2.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosBody2.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos NPC.BossBar = Main.BigBossProgressBar.NeverValid; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs index e211d48748..87d8eb9d85 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs @@ -192,9 +192,6 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos NPC.chaseable = false; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ExoMechs/Thanatos/ThanatosTail.cs b/NPCs/ExoMechs/Thanatos/ThanatosTail.cs index 90e279edff..5413bd2c6c 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosTail.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosTail.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos NPC.BossBar = Main.BigBossProgressBar.NeverValid; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadSlot(ref int index) diff --git a/NPCs/HiveMind/DankCreeper.cs b/NPCs/HiveMind/DankCreeper.cs index 117610775c..7b4007893f 100644 --- a/NPCs/HiveMind/DankCreeper.cs +++ b/NPCs/HiveMind/DankCreeper.cs @@ -40,10 +40,6 @@ namespace CalamityMod.NPCs.HiveMind NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index 4d73ca3def..9d342a1d85 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -210,9 +210,6 @@ namespace CalamityMod.NPCs.HiveMind NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Leviathan/Anahita.cs b/NPCs/Leviathan/Anahita.cs index 9fb0c6ff02..cefee8892e 100644 --- a/NPCs/Leviathan/Anahita.cs +++ b/NPCs/Leviathan/Anahita.cs @@ -89,9 +89,6 @@ namespace CalamityMod.NPCs.Leviathan if (Main.zenithWorld) NPC.scale *= 4f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Leviathan/AquaticAberration.cs b/NPCs/Leviathan/AquaticAberration.cs index efb3e7f858..6580b9e687 100644 --- a/NPCs/Leviathan/AquaticAberration.cs +++ b/NPCs/Leviathan/AquaticAberration.cs @@ -57,10 +57,6 @@ namespace CalamityMod.NPCs.Leviathan if (CalamityWorld.LegendaryMode) NPC.scale *= 1.3f; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 3aa8163835..2217e9e637 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -89,9 +89,6 @@ namespace CalamityMod.NPCs.Leviathan if (Main.zenithWorld) NPC.scale *= 0.3f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/AeroSlime.cs b/NPCs/NormalNPCs/AeroSlime.cs index a72b4648a6..a66642db72 100644 --- a/NPCs/NormalNPCs/AeroSlime.cs +++ b/NPCs/NormalNPCs/AeroSlime.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/ArmoredDiggerBody.cs b/NPCs/NormalNPCs/ArmoredDiggerBody.cs index a4ea0b9aeb..1a4ca0a8fe 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerBody.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerBody.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/NormalNPCs/ArmoredDiggerHead.cs b/NPCs/NormalNPCs/ArmoredDiggerHead.cs index c2ab126f4d..d7edd903ae 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerHead.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerHead.cs @@ -56,10 +56,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/ArmoredDiggerTail.cs b/NPCs/NormalNPCs/ArmoredDiggerTail.cs index 8aa015ef78..d062730e34 100644 --- a/NPCs/NormalNPCs/ArmoredDiggerTail.cs +++ b/NPCs/NormalNPCs/ArmoredDiggerTail.cs @@ -40,10 +40,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/NormalNPCs/AuroraSpirit.cs b/NPCs/NormalNPCs/AuroraSpirit.cs index adff77a47e..399a8f8e39 100644 --- a/NPCs/NormalNPCs/AuroraSpirit.cs +++ b/NPCs/NormalNPCs/AuroraSpirit.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/BloomSlime.cs b/NPCs/NormalNPCs/BloomSlime.cs index bc4f8c9849..e504466216 100644 --- a/NPCs/NormalNPCs/BloomSlime.cs +++ b/NPCs/NormalNPCs/BloomSlime.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Bohldohr.cs b/NPCs/NormalNPCs/Bohldohr.cs index 00d2b1d8b3..6d6227486c 100644 --- a/NPCs/NormalNPCs/Bohldohr.cs +++ b/NPCs/NormalNPCs/Bohldohr.cs @@ -32,10 +32,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/BucketZombie.cs b/NPCs/NormalNPCs/BucketZombie.cs index d0b4edf209..d33f66686e 100644 --- a/NPCs/NormalNPCs/BucketZombie.cs +++ b/NPCs/NormalNPCs/BucketZombie.cs @@ -35,10 +35,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool PreAI() diff --git a/NPCs/NormalNPCs/CladCrab.cs b/NPCs/NormalNPCs/CladCrab.cs index 286ae38309..80c9d3a734 100644 --- a/NPCs/NormalNPCs/CladCrab.cs +++ b/NPCs/NormalNPCs/CladCrab.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/NormalNPCs/CloudElemental.cs b/NPCs/NormalNPCs/CloudElemental.cs index 11bbb3861e..4201964249 100644 --- a/NPCs/NormalNPCs/CloudElemental.cs +++ b/NPCs/NormalNPCs/CloudElemental.cs @@ -91,10 +91,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToElectricity = false; NPC.Calamity().VulnerableToWater = false; NPC.Calamity().VulnerableToHeat = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Cnidrion.cs b/NPCs/NormalNPCs/Cnidrion.cs index 56a6b55f02..26e72906cc 100644 --- a/NPCs/NormalNPCs/Cnidrion.cs +++ b/NPCs/NormalNPCs/Cnidrion.cs @@ -48,10 +48,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerAmber.cs b/NPCs/NormalNPCs/CrawlerAmber.cs index a72c027c29..511f526db0 100644 --- a/NPCs/NormalNPCs/CrawlerAmber.cs +++ b/NPCs/NormalNPCs/CrawlerAmber.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerAmethyst.cs b/NPCs/NormalNPCs/CrawlerAmethyst.cs index ef1ba06395..10ce33672c 100644 --- a/NPCs/NormalNPCs/CrawlerAmethyst.cs +++ b/NPCs/NormalNPCs/CrawlerAmethyst.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerCrystal.cs b/NPCs/NormalNPCs/CrawlerCrystal.cs index 52bf6243b8..536048530f 100644 --- a/NPCs/NormalNPCs/CrawlerCrystal.cs +++ b/NPCs/NormalNPCs/CrawlerCrystal.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerDiamond.cs b/NPCs/NormalNPCs/CrawlerDiamond.cs index 2d5c45ced0..9e5401e063 100644 --- a/NPCs/NormalNPCs/CrawlerDiamond.cs +++ b/NPCs/NormalNPCs/CrawlerDiamond.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerEmerald.cs b/NPCs/NormalNPCs/CrawlerEmerald.cs index 57203f5712..9a41c328e0 100644 --- a/NPCs/NormalNPCs/CrawlerEmerald.cs +++ b/NPCs/NormalNPCs/CrawlerEmerald.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerRuby.cs b/NPCs/NormalNPCs/CrawlerRuby.cs index 661e93c8b7..0595799b42 100644 --- a/NPCs/NormalNPCs/CrawlerRuby.cs +++ b/NPCs/NormalNPCs/CrawlerRuby.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerSapphire.cs b/NPCs/NormalNPCs/CrawlerSapphire.cs index acc838a377..8a755a0812 100644 --- a/NPCs/NormalNPCs/CrawlerSapphire.cs +++ b/NPCs/NormalNPCs/CrawlerSapphire.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrawlerTopaz.cs b/NPCs/NormalNPCs/CrawlerTopaz.cs index ee69820a97..efcedde77f 100644 --- a/NPCs/NormalNPCs/CrawlerTopaz.cs +++ b/NPCs/NormalNPCs/CrawlerTopaz.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CrimulanBlightSlime.cs b/NPCs/NormalNPCs/CrimulanBlightSlime.cs index 71ef2aa14a..0848097ddb 100644 --- a/NPCs/NormalNPCs/CrimulanBlightSlime.cs +++ b/NPCs/NormalNPCs/CrimulanBlightSlime.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/CryoSlime.cs b/NPCs/NormalNPCs/CryoSlime.cs index d9aa5f45f2..7caa719098 100644 --- a/NPCs/NormalNPCs/CryoSlime.cs +++ b/NPCs/NormalNPCs/CryoSlime.cs @@ -39,10 +39,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Cryon.cs b/NPCs/NormalNPCs/Cryon.cs index 2ebe973bfc..b5e53192c3 100644 --- a/NPCs/NormalNPCs/Cryon.cs +++ b/NPCs/NormalNPCs/Cryon.cs @@ -35,10 +35,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/EbonianBlightSlime.cs b/NPCs/NormalNPCs/EbonianBlightSlime.cs index 98a2b2a496..930827d5f3 100644 --- a/NPCs/NormalNPCs/EbonianBlightSlime.cs +++ b/NPCs/NormalNPCs/EbonianBlightSlime.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Eidolist.cs b/NPCs/NormalNPCs/Eidolist.cs index 7fde916b9d..b83c364977 100644 --- a/NPCs/NormalNPCs/Eidolist.cs +++ b/NPCs/NormalNPCs/Eidolist.cs @@ -57,10 +57,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs b/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs index af1c94e9ad..ac0226bedc 100644 --- a/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs +++ b/NPCs/NormalNPCs/FearlessGoldfishWarrior.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Frogfish.cs b/NPCs/NormalNPCs/Frogfish.cs index f0d28063b9..1ac3284146 100644 --- a/NPCs/NormalNPCs/Frogfish.cs +++ b/NPCs/NormalNPCs/Frogfish.cs @@ -36,10 +36,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Horse.cs b/NPCs/NormalNPCs/Horse.cs index 23da274c57..6689e1f720 100644 --- a/NPCs/NormalNPCs/Horse.cs +++ b/NPCs/NormalNPCs/Horse.cs @@ -55,10 +55,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/IceClasper.cs b/NPCs/NormalNPCs/IceClasper.cs index dd5b9c3d62..0e7dc27d42 100644 --- a/NPCs/NormalNPCs/IceClasper.cs +++ b/NPCs/NormalNPCs/IceClasper.cs @@ -96,10 +96,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/ImpiousImmolator.cs b/NPCs/NormalNPCs/ImpiousImmolator.cs index 923a6e30ad..2b209fa667 100644 --- a/NPCs/NormalNPCs/ImpiousImmolator.cs +++ b/NPCs/NormalNPCs/ImpiousImmolator.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs b/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs index 38cd0a6c25..3ec2597317 100644 --- a/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs +++ b/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs @@ -44,10 +44,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void HitEffect(NPC.HitInfo hit) diff --git a/NPCs/NormalNPCs/MantisShrimp.cs b/NPCs/NormalNPCs/MantisShrimp.cs index 0bd649cac1..fbae880677 100644 --- a/NPCs/NormalNPCs/MantisShrimp.cs +++ b/NPCs/NormalNPCs/MantisShrimp.cs @@ -42,10 +42,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/OverloadedSoldier.cs b/NPCs/NormalNPCs/OverloadedSoldier.cs index 1419f7e2b8..09015debcf 100644 --- a/NPCs/NormalNPCs/OverloadedSoldier.cs +++ b/NPCs/NormalNPCs/OverloadedSoldier.cs @@ -39,10 +39,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PerennialSlime.cs b/NPCs/NormalNPCs/PerennialSlime.cs index eb62be6480..b861e26430 100644 --- a/NPCs/NormalNPCs/PerennialSlime.cs +++ b/NPCs/NormalNPCs/PerennialSlime.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PhantomSpirit.cs b/NPCs/NormalNPCs/PhantomSpirit.cs index 29e9400b94..5b49f48c57 100644 --- a/NPCs/NormalNPCs/PhantomSpirit.cs +++ b/NPCs/NormalNPCs/PhantomSpirit.cs @@ -35,10 +35,6 @@ namespace CalamityMod.NPCs.NormalNPCs Banner = NPC.type; BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PhantomSpiritL.cs b/NPCs/NormalNPCs/PhantomSpiritL.cs index c666e97af9..c5a7f83174 100644 --- a/NPCs/NormalNPCs/PhantomSpiritL.cs +++ b/NPCs/NormalNPCs/PhantomSpiritL.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.NormalNPCs Banner = ModContent.NPCType(); BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PhantomSpiritM.cs b/NPCs/NormalNPCs/PhantomSpiritM.cs index 6beacd3fc0..1806c9fd88 100644 --- a/NPCs/NormalNPCs/PhantomSpiritM.cs +++ b/NPCs/NormalNPCs/PhantomSpiritM.cs @@ -37,10 +37,6 @@ namespace CalamityMod.NPCs.NormalNPCs Banner = ModContent.NPCType(); BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PhantomSpiritS.cs b/NPCs/NormalNPCs/PhantomSpiritS.cs index 41b8e24088..7f8ee317de 100644 --- a/NPCs/NormalNPCs/PhantomSpiritS.cs +++ b/NPCs/NormalNPCs/PhantomSpiritS.cs @@ -36,10 +36,6 @@ namespace CalamityMod.NPCs.NormalNPCs Banner = ModContent.NPCType(); BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/PlanterasFreeTentacle.cs b/NPCs/NormalNPCs/PlanterasFreeTentacle.cs index bcb3f9070d..f516f4dfe1 100644 --- a/NPCs/NormalNPCs/PlanterasFreeTentacle.cs +++ b/NPCs/NormalNPCs/PlanterasFreeTentacle.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/NormalNPCs/ProfanedEnergyBody.cs b/NPCs/NormalNPCs/ProfanedEnergyBody.cs index 31fd92aaa5..811e7c8e23 100644 --- a/NPCs/NormalNPCs/ProfanedEnergyBody.cs +++ b/NPCs/NormalNPCs/ProfanedEnergyBody.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Rimehound.cs b/NPCs/NormalNPCs/Rimehound.cs index 6c1e55ff38..43c3bdcf60 100644 --- a/NPCs/NormalNPCs/Rimehound.cs +++ b/NPCs/NormalNPCs/Rimehound.cs @@ -56,10 +56,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Rotdog.cs b/NPCs/NormalNPCs/Rotdog.cs index 71a8eab684..2d177cfb3c 100644 --- a/NPCs/NormalNPCs/Rotdog.cs +++ b/NPCs/NormalNPCs/Rotdog.cs @@ -35,10 +35,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/ScornEater.cs b/NPCs/NormalNPCs/ScornEater.cs index f7ad22012d..6e9ef9f9b9 100644 --- a/NPCs/NormalNPCs/ScornEater.cs +++ b/NPCs/NormalNPCs/ScornEater.cs @@ -53,10 +53,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/ShockstormShuttle.cs b/NPCs/NormalNPCs/ShockstormShuttle.cs index 66e4382050..392a4bdd6e 100644 --- a/NPCs/NormalNPCs/ShockstormShuttle.cs +++ b/NPCs/NormalNPCs/ShockstormShuttle.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Stormlion.cs b/NPCs/NormalNPCs/Stormlion.cs index 54d7a9714c..94ad7894d4 100644 --- a/NPCs/NormalNPCs/Stormlion.cs +++ b/NPCs/NormalNPCs/Stormlion.cs @@ -39,10 +39,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/Sunskater.cs b/NPCs/NormalNPCs/Sunskater.cs index d866ccbd01..6082e29b01 100644 --- a/NPCs/NormalNPCs/Sunskater.cs +++ b/NPCs/NormalNPCs/Sunskater.cs @@ -47,10 +47,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WildBumblebirb.cs b/NPCs/NormalNPCs/WildBumblebirb.cs index b4311d3200..9ad32c868c 100644 --- a/NPCs/NormalNPCs/WildBumblebirb.cs +++ b/NPCs/NormalNPCs/WildBumblebirb.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WulfrumAmplifier.cs b/NPCs/NormalNPCs/WulfrumAmplifier.cs index 80a086b0d8..518d001806 100644 --- a/NPCs/NormalNPCs/WulfrumAmplifier.cs +++ b/NPCs/NormalNPCs/WulfrumAmplifier.cs @@ -64,10 +64,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToElectricity = true; if (Main.zenithWorld) NPC.scale = 1.5f; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WulfrumDrone.cs b/NPCs/NormalNPCs/WulfrumDrone.cs index 58beddcec3..f9de4356d3 100644 --- a/NPCs/NormalNPCs/WulfrumDrone.cs +++ b/NPCs/NormalNPCs/WulfrumDrone.cs @@ -81,10 +81,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WulfrumGyrator.cs b/NPCs/NormalNPCs/WulfrumGyrator.cs index 8427304eff..5c11d9effa 100644 --- a/NPCs/NormalNPCs/WulfrumGyrator.cs +++ b/NPCs/NormalNPCs/WulfrumGyrator.cs @@ -64,10 +64,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WulfrumHovercraft.cs b/NPCs/NormalNPCs/WulfrumHovercraft.cs index b278e299f7..bc742aff66 100644 --- a/NPCs/NormalNPCs/WulfrumHovercraft.cs +++ b/NPCs/NormalNPCs/WulfrumHovercraft.cs @@ -88,10 +88,6 @@ namespace CalamityMod.NPCs.NormalNPCs BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/NormalNPCs/WulfrumRover.cs b/NPCs/NormalNPCs/WulfrumRover.cs index 32f84de137..32c91a7c1d 100644 --- a/NPCs/NormalNPCs/WulfrumRover.cs +++ b/NPCs/NormalNPCs/WulfrumRover.cs @@ -68,10 +68,6 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.Calamity().VulnerableToElectricity = true; if (Main.zenithWorld) NPC.scale = 2f; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/OldDuke/OldDuke.cs b/NPCs/OldDuke/OldDuke.cs index 622e9dd92c..54f2db1ffb 100644 --- a/NPCs/OldDuke/OldDuke.cs +++ b/NPCs/OldDuke/OldDuke.cs @@ -110,9 +110,6 @@ namespace CalamityMod.NPCs.OldDuke NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/OldDuke/OldDukeToothBall.cs b/NPCs/OldDuke/OldDukeToothBall.cs index 8d259c4bd9..662e7c71ae 100644 --- a/NPCs/OldDuke/OldDukeToothBall.cs +++ b/NPCs/OldDuke/OldDukeToothBall.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.OldDuke NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/OldDuke/SulphurousSharkron.cs b/NPCs/OldDuke/SulphurousSharkron.cs index b239e96ef1..0aa8634c7e 100644 --- a/NPCs/OldDuke/SulphurousSharkron.cs +++ b/NPCs/OldDuke/SulphurousSharkron.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.OldDuke NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/Perforator/PerforatorBodyLarge.cs b/NPCs/Perforator/PerforatorBodyLarge.cs index db22520def..cdf85ca5fc 100644 --- a/NPCs/Perforator/PerforatorBodyLarge.cs +++ b/NPCs/Perforator/PerforatorBodyLarge.cs @@ -72,10 +72,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Perforator/PerforatorBodyMedium.cs b/NPCs/Perforator/PerforatorBodyMedium.cs index afd7e863d3..c55f7f7356 100644 --- a/NPCs/Perforator/PerforatorBodyMedium.cs +++ b/NPCs/Perforator/PerforatorBodyMedium.cs @@ -72,10 +72,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Perforator/PerforatorBodySmall.cs b/NPCs/Perforator/PerforatorBodySmall.cs index e4fb6bfe2c..02c83c47b5 100644 --- a/NPCs/Perforator/PerforatorBodySmall.cs +++ b/NPCs/Perforator/PerforatorBodySmall.cs @@ -67,10 +67,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Perforator/PerforatorHeadLarge.cs b/NPCs/Perforator/PerforatorHeadLarge.cs index 079628ecca..490949c1c6 100644 --- a/NPCs/Perforator/PerforatorHeadLarge.cs +++ b/NPCs/Perforator/PerforatorHeadLarge.cs @@ -85,10 +85,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Perforator/PerforatorHeadMedium.cs b/NPCs/Perforator/PerforatorHeadMedium.cs index 73444f1ff0..88cfa95580 100644 --- a/NPCs/Perforator/PerforatorHeadMedium.cs +++ b/NPCs/Perforator/PerforatorHeadMedium.cs @@ -83,10 +83,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Perforator/PerforatorHeadSmall.cs b/NPCs/Perforator/PerforatorHeadSmall.cs index 9f8fe4cd70..af6c850ffd 100644 --- a/NPCs/Perforator/PerforatorHeadSmall.cs +++ b/NPCs/Perforator/PerforatorHeadSmall.cs @@ -85,10 +85,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Perforator/PerforatorHive.cs b/NPCs/Perforator/PerforatorHive.cs index ebbe684f05..5e1032532b 100644 --- a/NPCs/Perforator/PerforatorHive.cs +++ b/NPCs/Perforator/PerforatorHive.cs @@ -84,9 +84,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Perforator/PerforatorTailLarge.cs b/NPCs/Perforator/PerforatorTailLarge.cs index a3a538a28d..dc19841b3c 100644 --- a/NPCs/Perforator/PerforatorTailLarge.cs +++ b/NPCs/Perforator/PerforatorTailLarge.cs @@ -67,10 +67,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/Perforator/PerforatorTailMedium.cs b/NPCs/Perforator/PerforatorTailMedium.cs index f1441e0896..76125c7858 100644 --- a/NPCs/Perforator/PerforatorTailMedium.cs +++ b/NPCs/Perforator/PerforatorTailMedium.cs @@ -72,10 +72,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Perforator/PerforatorTailSmall.cs b/NPCs/Perforator/PerforatorTailSmall.cs index 78e5b72c02..b808b7af4b 100644 --- a/NPCs/Perforator/PerforatorTailSmall.cs +++ b/NPCs/Perforator/PerforatorTailSmall.cs @@ -67,10 +67,6 @@ namespace CalamityMod.NPCs.Perforator NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override bool? DrawHealthBar(byte hbPosition, ref float scale, ref Vector2 position) diff --git a/NPCs/PlagueEnemies/Melter.cs b/NPCs/PlagueEnemies/Melter.cs index 065874a933..dea1fd8d09 100644 --- a/NPCs/PlagueEnemies/Melter.cs +++ b/NPCs/PlagueEnemies/Melter.cs @@ -41,10 +41,6 @@ namespace CalamityMod.NPCs.PlagueEnemies NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/PestilentSlime.cs b/NPCs/PlagueEnemies/PestilentSlime.cs index 72f79c03b4..2ef07a61a0 100644 --- a/NPCs/PlagueEnemies/PestilentSlime.cs +++ b/NPCs/PlagueEnemies/PestilentSlime.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.PlagueEnemies BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/PlagueCharger.cs b/NPCs/PlagueEnemies/PlagueCharger.cs index c7ae9751ce..9ee6463812 100644 --- a/NPCs/PlagueEnemies/PlagueCharger.cs +++ b/NPCs/PlagueEnemies/PlagueCharger.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.PlagueEnemies BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/PlagueChargerLarge.cs b/NPCs/PlagueEnemies/PlagueChargerLarge.cs index d3666be1d0..14d694065b 100644 --- a/NPCs/PlagueEnemies/PlagueChargerLarge.cs +++ b/NPCs/PlagueEnemies/PlagueChargerLarge.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.PlagueEnemies BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/PlaguebringerMiniboss.cs b/NPCs/PlagueEnemies/PlaguebringerMiniboss.cs index 0374f876c4..83903bb0d6 100644 --- a/NPCs/PlagueEnemies/PlaguebringerMiniboss.cs +++ b/NPCs/PlagueEnemies/PlaguebringerMiniboss.cs @@ -61,10 +61,6 @@ namespace CalamityMod.NPCs.PlagueEnemies { NPC.scale = 2f; } - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/Plagueshell.cs b/NPCs/PlagueEnemies/Plagueshell.cs index 55d9b3004b..a5ff148bcf 100644 --- a/NPCs/PlagueEnemies/Plagueshell.cs +++ b/NPCs/PlagueEnemies/Plagueshell.cs @@ -39,10 +39,6 @@ namespace CalamityMod.NPCs.PlagueEnemies NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlagueEnemies/Viruling.cs b/NPCs/PlagueEnemies/Viruling.cs index d8e5832bbd..426f0116ee 100644 --- a/NPCs/PlagueEnemies/Viruling.cs +++ b/NPCs/PlagueEnemies/Viruling.cs @@ -40,10 +40,6 @@ namespace CalamityMod.NPCs.PlagueEnemies NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs index 7b264b2ddc..fd4826d020 100644 --- a/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs +++ b/NPCs/PlaguebringerGoliath/PlagueHomingMissile.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath NPC.noTileCollide = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/PlaguebringerGoliath/PlagueMine.cs b/NPCs/PlaguebringerGoliath/PlagueMine.cs index 6146ad8433..a2ed21c379 100644 --- a/NPCs/PlaguebringerGoliath/PlagueMine.cs +++ b/NPCs/PlaguebringerGoliath/PlagueMine.cs @@ -44,10 +44,6 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath NPC.DeathSound = SoundID.NPCDeath14; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index 42ac3efb90..9281228a76 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -105,9 +105,6 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath NPC.DeathSound = SoundID.NPCDeath14; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Polterghast/PolterPhantom.cs b/NPCs/Polterghast/PolterPhantom.cs index c388f8f5fd..4debb61586 100644 --- a/NPCs/Polterghast/PolterPhantom.cs +++ b/NPCs/Polterghast/PolterPhantom.cs @@ -57,9 +57,6 @@ namespace CalamityMod.NPCs.Polterghast NPC.HitSound = SoundID.NPCHit36; NPC.DeathSound = SoundID.NPCDeath39; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void BossHeadRotation(ref float rotation) diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index 5bd7df5b36..34c8d983cf 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -124,9 +124,6 @@ namespace CalamityMod.NPCs.Polterghast NPC.HitSound = HitSound; NPC.DeathSound = SoundID.NPCDeath39; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs index 67639e3cc1..f1b31b2df7 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs @@ -89,9 +89,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs index 53af9efb83..1c4285e11a 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs @@ -76,10 +76,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs index a2fdabec4d..6b993aa7a1 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs @@ -89,10 +89,6 @@ namespace CalamityMod.NPCs.ProfanedGuardians NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Providence/ProvSpawnDefense.cs b/NPCs/Providence/ProvSpawnDefense.cs index ee8f6aa180..eb17e4fab3 100644 --- a/NPCs/Providence/ProvSpawnDefense.cs +++ b/NPCs/Providence/ProvSpawnDefense.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.Providence NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/Providence/ProvSpawnHealer.cs b/NPCs/Providence/ProvSpawnHealer.cs index a89548e32b..349951bee9 100644 --- a/NPCs/Providence/ProvSpawnHealer.cs +++ b/NPCs/Providence/ProvSpawnHealer.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.Providence NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/Providence/ProvSpawnOffense.cs b/NPCs/Providence/ProvSpawnOffense.cs index e9295deaa6..79901f95c9 100644 --- a/NPCs/Providence/ProvSpawnOffense.cs +++ b/NPCs/Providence/ProvSpawnOffense.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.Providence NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index b86d61febf..109b45d510 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -263,9 +263,6 @@ namespace CalamityMod.NPCs.Providence if (CalamityWorld.LegendaryMode) NPC.scale *= 0.25f; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Ravager/FlamePillar.cs b/NPCs/Ravager/FlamePillar.cs index 403a1c974a..bf7a2fda1d 100644 --- a/NPCs/Ravager/FlamePillar.cs +++ b/NPCs/Ravager/FlamePillar.cs @@ -44,10 +44,6 @@ namespace CalamityMod.NPCs.Ravager NPC.DeathSound = SoundID.NPCDeath14; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void FindFrame(int frameHeight) diff --git a/NPCs/Ravager/RavagerBody.cs b/NPCs/Ravager/RavagerBody.cs index 2dfa0d6f63..736f120786 100644 --- a/NPCs/Ravager/RavagerBody.cs +++ b/NPCs/Ravager/RavagerBody.cs @@ -100,9 +100,6 @@ namespace CalamityMod.NPCs.Ravager NPC.DeathSound = DeathSound; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Ravager/RavagerClawLeft.cs b/NPCs/Ravager/RavagerClawLeft.cs index 84cda3e20c..745eb70286 100644 --- a/NPCs/Ravager/RavagerClawLeft.cs +++ b/NPCs/Ravager/RavagerClawLeft.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RavagerClawRight.cs b/NPCs/Ravager/RavagerClawRight.cs index b8855ebe09..170c064e17 100644 --- a/NPCs/Ravager/RavagerClawRight.cs +++ b/NPCs/Ravager/RavagerClawRight.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RavagerHead.cs b/NPCs/Ravager/RavagerHead.cs index 30bb9c4e1e..c5dbdbb6cc 100644 --- a/NPCs/Ravager/RavagerHead.cs +++ b/NPCs/Ravager/RavagerHead.cs @@ -49,10 +49,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RavagerHead2.cs b/NPCs/Ravager/RavagerHead2.cs index b2aaf4dd89..d66745ec30 100644 --- a/NPCs/Ravager/RavagerHead2.cs +++ b/NPCs/Ravager/RavagerHead2.cs @@ -47,10 +47,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RavagerLegLeft.cs b/NPCs/Ravager/RavagerLegLeft.cs index 6c55b7750e..604f17c88c 100644 --- a/NPCs/Ravager/RavagerLegLeft.cs +++ b/NPCs/Ravager/RavagerLegLeft.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RavagerLegRight.cs b/NPCs/Ravager/RavagerLegRight.cs index 41f8232445..bb22821249 100644 --- a/NPCs/Ravager/RavagerLegRight.cs +++ b/NPCs/Ravager/RavagerLegRight.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.Ravager } NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Ravager/RockPillar.cs b/NPCs/Ravager/RockPillar.cs index a301f8827d..fbfe1ee64b 100644 --- a/NPCs/Ravager/RockPillar.cs +++ b/NPCs/Ravager/RockPillar.cs @@ -36,10 +36,6 @@ namespace CalamityMod.NPCs.Ravager NPC.DeathSound = SoundID.NPCDeath14; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/Signus/CosmicLantern.cs b/NPCs/Signus/CosmicLantern.cs index fbb89d335d..cf8356ea68 100644 --- a/NPCs/Signus/CosmicLantern.cs +++ b/NPCs/Signus/CosmicLantern.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.Signus NPC.HitSound = SoundID.NPCHit53; NPC.DeathSound = SoundID.NPCDeath44; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Signus/CosmicMine.cs b/NPCs/Signus/CosmicMine.cs index 69af4f8c13..b09675a920 100644 --- a/NPCs/Signus/CosmicMine.cs +++ b/NPCs/Signus/CosmicMine.cs @@ -38,10 +38,6 @@ namespace CalamityMod.NPCs.Signus NPC.HitSound = SoundID.NPCHit53; NPC.DeathSound = SoundID.NPCDeath44; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index d9640e402a..a71f658b44 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -89,9 +89,6 @@ namespace CalamityMod.NPCs.Signus NPC.HitSound = SoundID.NPCHit49; NPC.DeathSound = SoundID.NPCDeath51; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SlimeGod/CorruptSlimeSpawn.cs b/NPCs/SlimeGod/CorruptSlimeSpawn.cs index 474c9f9480..1b3065c5fe 100644 --- a/NPCs/SlimeGod/CorruptSlimeSpawn.cs +++ b/NPCs/SlimeGod/CorruptSlimeSpawn.cs @@ -40,10 +40,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SlimeGod/CorruptSlimeSpawn2.cs b/NPCs/SlimeGod/CorruptSlimeSpawn2.cs index b22feaf472..2dfa89ad9c 100644 --- a/NPCs/SlimeGod/CorruptSlimeSpawn2.cs +++ b/NPCs/SlimeGod/CorruptSlimeSpawn2.cs @@ -40,10 +40,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/SlimeGod/CrimsonSlimeSpawn.cs b/NPCs/SlimeGod/CrimsonSlimeSpawn.cs index 3c21567a51..652074b50e 100644 --- a/NPCs/SlimeGod/CrimsonSlimeSpawn.cs +++ b/NPCs/SlimeGod/CrimsonSlimeSpawn.cs @@ -39,10 +39,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SlimeGod/CrimulanPaladin.cs b/NPCs/SlimeGod/CrimulanPaladin.cs index f461f3d54c..f282473c9b 100644 --- a/NPCs/SlimeGod/CrimulanPaladin.cs +++ b/NPCs/SlimeGod/CrimulanPaladin.cs @@ -49,9 +49,6 @@ namespace CalamityMod.NPCs.SlimeGod AIType = -1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SlimeGod/EbonianPaladin.cs b/NPCs/SlimeGod/EbonianPaladin.cs index a49d3555ce..e46d7cec1a 100644 --- a/NPCs/SlimeGod/EbonianPaladin.cs +++ b/NPCs/SlimeGod/EbonianPaladin.cs @@ -55,9 +55,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index ce90a162f8..7cb9a5240b 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -109,9 +109,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SlimeGod/SplitCrimulanPaladin.cs b/NPCs/SlimeGod/SplitCrimulanPaladin.cs index 6bf583da4e..6ff6104ed6 100644 --- a/NPCs/SlimeGod/SplitCrimulanPaladin.cs +++ b/NPCs/SlimeGod/SplitCrimulanPaladin.cs @@ -58,9 +58,6 @@ namespace CalamityMod.NPCs.SlimeGod AIType = -1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SlimeGod/SplitEbonianPaladin.cs b/NPCs/SlimeGod/SplitEbonianPaladin.cs index 64344a009e..f6fb30c3a2 100644 --- a/NPCs/SlimeGod/SplitEbonianPaladin.cs +++ b/NPCs/SlimeGod/SplitEbonianPaladin.cs @@ -58,9 +58,6 @@ namespace CalamityMod.NPCs.SlimeGod NPC.DeathSound = SoundID.NPCDeath1; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToSickness = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/StormWeaver/StormWeaverBody.cs b/NPCs/StormWeaver/StormWeaverBody.cs index 4e7b558647..e8d3e9309a 100644 --- a/NPCs/StormWeaver/StormWeaverBody.cs +++ b/NPCs/StormWeaver/StormWeaverBody.cs @@ -73,9 +73,6 @@ namespace CalamityMod.NPCs.StormWeaver NPC.scale *= 0.7f; NPC.Calamity().VulnerableToElectricity = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index 57ac9cf977..903126d03b 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -125,9 +125,6 @@ namespace CalamityMod.NPCs.StormWeaver NPC.scale *= 0.7f; NPC.Calamity().VulnerableToElectricity = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/StormWeaver/StormWeaverTail.cs b/NPCs/StormWeaver/StormWeaverTail.cs index 5d16fee8aa..6c52c62b22 100644 --- a/NPCs/StormWeaver/StormWeaverTail.cs +++ b/NPCs/StormWeaver/StormWeaverTail.cs @@ -72,9 +72,6 @@ namespace CalamityMod.NPCs.StormWeaver NPC.scale *= 0.7f; NPC.Calamity().VulnerableToElectricity = false; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SulphurousSea/AnthozoanCrab.cs b/NPCs/SulphurousSea/AnthozoanCrab.cs index 2c4804bbdd..b1e816ffd4 100644 --- a/NPCs/SulphurousSea/AnthozoanCrab.cs +++ b/NPCs/SulphurousSea/AnthozoanCrab.cs @@ -51,10 +51,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/AquaticUrchin.cs b/NPCs/SulphurousSea/AquaticUrchin.cs index bdcea410e6..7aa8b8cb5a 100644 --- a/NPCs/SulphurousSea/AquaticUrchin.cs +++ b/NPCs/SulphurousSea/AquaticUrchin.cs @@ -46,10 +46,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/BelchingCoral.cs b/NPCs/SulphurousSea/BelchingCoral.cs index 4034dc9a41..84938091ca 100644 --- a/NPCs/SulphurousSea/BelchingCoral.cs +++ b/NPCs/SulphurousSea/BelchingCoral.cs @@ -49,10 +49,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/Gnasher.cs b/NPCs/SulphurousSea/Gnasher.cs index 828b72422d..c9ab7d25d6 100644 --- a/NPCs/SulphurousSea/Gnasher.cs +++ b/NPCs/SulphurousSea/Gnasher.cs @@ -48,10 +48,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/Sulflounder.cs b/NPCs/SulphurousSea/Sulflounder.cs index 52d003d45a..10b51db4fe 100644 --- a/NPCs/SulphurousSea/Sulflounder.cs +++ b/NPCs/SulphurousSea/Sulflounder.cs @@ -45,10 +45,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/Toxicatfish.cs b/NPCs/SulphurousSea/Toxicatfish.cs index 8e3d11ea47..5ae2c83db4 100644 --- a/NPCs/SulphurousSea/Toxicatfish.cs +++ b/NPCs/SulphurousSea/Toxicatfish.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[2] { ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SulphurousSea/Trasher.cs b/NPCs/SulphurousSea/Trasher.cs index eb6d2b20c1..6a7788ecb5 100644 --- a/NPCs/SulphurousSea/Trasher.cs +++ b/NPCs/SulphurousSea/Trasher.cs @@ -52,10 +52,6 @@ namespace CalamityMod.NPCs.SulphurousSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/CarrionSwallower.cs b/NPCs/SunkenSea/CarrionSwallower.cs index 82f8a7ca67..0d092cd892 100644 --- a/NPCs/SunkenSea/CarrionSwallower.cs +++ b/NPCs/SunkenSea/CarrionSwallower.cs @@ -43,10 +43,6 @@ namespace CalamityMod.NPCs.SunkenSea SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; //Banner = NPC.type; //BannerItem = ModContent.ItemType(); - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SunkenSea/Clam.cs b/NPCs/SunkenSea/Clam.cs index bb0ceb3f0e..04ceaf2fb2 100644 --- a/NPCs/SunkenSea/Clam.cs +++ b/NPCs/SunkenSea/Clam.cs @@ -107,10 +107,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[3] { ModContent.GetInstance().Type, ModContent.GetInstance().Type, ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/EutrophicRay.cs b/NPCs/SunkenSea/EutrophicRay.cs index ce3fe26a48..919ba85fac 100644 --- a/NPCs/SunkenSea/EutrophicRay.cs +++ b/NPCs/SunkenSea/EutrophicRay.cs @@ -92,10 +92,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/GhostBell.cs b/NPCs/SunkenSea/GhostBell.cs index 31c82d1488..9590d10b40 100644 --- a/NPCs/SunkenSea/GhostBell.cs +++ b/NPCs/SunkenSea/GhostBell.cs @@ -104,10 +104,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = false; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/GiantClam.cs b/NPCs/SunkenSea/GiantClam.cs index 67822c3cf0..434b6b0f31 100644 --- a/NPCs/SunkenSea/GiantClam.cs +++ b/NPCs/SunkenSea/GiantClam.cs @@ -79,10 +79,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/HauntedChum.cs b/NPCs/SunkenSea/HauntedChum.cs index b065138b84..a0b1ebf8d9 100644 --- a/NPCs/SunkenSea/HauntedChum.cs +++ b/NPCs/SunkenSea/HauntedChum.cs @@ -44,9 +44,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.noGravity = true; NPC.noTileCollide = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void AI() diff --git a/NPCs/SunkenSea/Jellyghoul.cs b/NPCs/SunkenSea/Jellyghoul.cs index 22d502e83c..d9d6a532e0 100644 --- a/NPCs/SunkenSea/Jellyghoul.cs +++ b/NPCs/SunkenSea/Jellyghoul.cs @@ -68,10 +68,6 @@ namespace CalamityMod.NPCs.SunkenSea // Banner = NPC.type; //BannerItem = ModContent.ItemType(); SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/KelpieSeadragon.cs b/NPCs/SunkenSea/KelpieSeadragon.cs index af135e515c..9f3c186c89 100644 --- a/NPCs/SunkenSea/KelpieSeadragon.cs +++ b/NPCs/SunkenSea/KelpieSeadragon.cs @@ -80,9 +80,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/LazarusLampfish.cs b/NPCs/SunkenSea/LazarusLampfish.cs index 8dbf194024..5c666ac521 100644 --- a/NPCs/SunkenSea/LazarusLampfish.cs +++ b/NPCs/SunkenSea/LazarusLampfish.cs @@ -102,9 +102,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/Leerslug.cs b/NPCs/SunkenSea/Leerslug.cs index d95830fd0d..e80dce77e4 100644 --- a/NPCs/SunkenSea/Leerslug.cs +++ b/NPCs/SunkenSea/Leerslug.cs @@ -67,10 +67,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void ReceiveExtraAI(BinaryReader reader) diff --git a/NPCs/SunkenSea/PodobooKoi.cs b/NPCs/SunkenSea/PodobooKoi.cs index 0b6dcdb2e2..22b3f9f7c3 100644 --- a/NPCs/SunkenSea/PodobooKoi.cs +++ b/NPCs/SunkenSea/PodobooKoi.cs @@ -102,10 +102,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToWater = true; //Banner = NPC.type; //BannerItem = ModContent.ItemType(); - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/Polyperil.cs b/NPCs/SunkenSea/Polyperil.cs index dd6144516b..d0931479ff 100644 --- a/NPCs/SunkenSea/Polyperil.cs +++ b/NPCs/SunkenSea/Polyperil.cs @@ -75,9 +75,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SunkenSea/PolyperilTentacle.cs b/NPCs/SunkenSea/PolyperilTentacle.cs index 5c3be05d15..67400d3445 100644 --- a/NPCs/SunkenSea/PolyperilTentacle.cs +++ b/NPCs/SunkenSea/PolyperilTentacle.cs @@ -65,9 +65,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.value = 0; // Banner = NPC.type; // BannerItem = ModContent.ItemType(); - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SunkenSea/PrismBack.cs b/NPCs/SunkenSea/PrismBack.cs index 3b23f038bb..44b03d44c7 100644 --- a/NPCs/SunkenSea/PrismBack.cs +++ b/NPCs/SunkenSea/PrismBack.cs @@ -80,10 +80,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/SandProwler.cs b/NPCs/SunkenSea/SandProwler.cs index 8864d2a5f5..6aa9a401ee 100644 --- a/NPCs/SunkenSea/SandProwler.cs +++ b/NPCs/SunkenSea/SandProwler.cs @@ -118,10 +118,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToWater = false; NPC.waterMovementSpeed = 1; NPC.GravityIgnoresLiquid = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/SandProwlerNested.cs b/NPCs/SunkenSea/SandProwlerNested.cs index 421bb088f3..a083cfd7f1 100644 --- a/NPCs/SunkenSea/SandProwlerNested.cs +++ b/NPCs/SunkenSea/SandProwlerNested.cs @@ -103,10 +103,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); - NPC.waterMovementSpeed = 1f; } diff --git a/NPCs/SunkenSea/Sharkoon.cs b/NPCs/SunkenSea/Sharkoon.cs index 7b967eb4e4..488b3b0c88 100644 --- a/NPCs/SunkenSea/Sharkoon.cs +++ b/NPCs/SunkenSea/Sharkoon.cs @@ -199,10 +199,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; NPC.Calamity().VulnerableToWater = false; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } #endregion diff --git a/NPCs/SunkenSea/Steampod.cs b/NPCs/SunkenSea/Steampod.cs index 64e154dd6f..1bce51ca4a 100644 --- a/NPCs/SunkenSea/Steampod.cs +++ b/NPCs/SunkenSea/Steampod.cs @@ -91,10 +91,6 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToWater = true; NPC.Calamity().VulnerableToCold = true; - - // Scale stats in Expert and Master - CalamityGlobalNPC.AdjustExpertModeStatScaling(NPC); - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } public override void ReceiveExtraAI(BinaryReader reader) diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 4df9d70e29..43971f00dc 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -274,9 +274,6 @@ namespace CalamityMod.NPCs.SupremeCalamitas NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SupremeCalamitas/SupremeCataclysm.cs b/NPCs/SupremeCalamitas/SupremeCataclysm.cs index f20fb06bb9..3254b036d4 100644 --- a/NPCs/SupremeCalamitas/SupremeCataclysm.cs +++ b/NPCs/SupremeCalamitas/SupremeCataclysm.cs @@ -94,9 +94,6 @@ namespace CalamityMod.NPCs.SupremeCalamitas NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.localAI[1] = 500; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs index 596c9706a8..4a0edd09e5 100644 --- a/NPCs/SupremeCalamitas/SupremeCatastrophe.cs +++ b/NPCs/SupremeCalamitas/SupremeCatastrophe.cs @@ -87,9 +87,6 @@ namespace CalamityMod.NPCs.SupremeCalamitas NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.localAI[1] = 500; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index 1df0ab61b2..c62980823c 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -123,9 +123,6 @@ namespace CalamityMod.NPCs.Yharon NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; - - // Scale HP in Master - CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC, true); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index be502f90dd..b37e5fb2a4 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -737,11 +737,6 @@ namespace CalamityMod.Projectiles { if (projectile.localAI[0] == 0f) { - if (Main.masterMode && !CalamityPlayer.areThereAnyDamnBosses) - projectile.damage = (int)Math.Round(projectile.damage * CalamityGlobalNPC.MasterModeEnemyDamageMultiplier); - if (!CalamityPlayer.areThereAnyDamnBosses) - projectile.damage = (int)Math.Round(projectile.damage * 0.65); - SoundEngine.PlaySound(SoundID.Item17, projectile.Center); projectile.localAI[0] = 1f; for (int i = 0; i < 8; i++) @@ -770,11 +765,6 @@ namespace CalamityMod.Projectiles { if (projectile.localAI[0] == 0f) { - if (Main.masterMode && !CalamityPlayer.areThereAnyDamnBosses) - projectile.damage = (int)Math.Round(projectile.damage * CalamityGlobalNPC.MasterModeEnemyDamageMultiplier); - if (!CalamityPlayer.areThereAnyDamnBosses) - projectile.damage = (int)Math.Round(projectile.damage * 0.65); - SoundEngine.PlaySound(SoundID.Item171, projectile.Center); projectile.localAI[0] = 1f; for (int i = 0; i < 8; i++) @@ -3109,97 +3099,6 @@ namespace CalamityMod.Projectiles if (projectile.type == ProjectileID.Nail && Main.expertMode) projectile.damage /= 2; - // Nerf all these Master Mode enemy projectiles - if (Main.masterMode && !CalamityPlayer.areThereAnyDamnBosses) - { - switch (projectile.type) - { - case ProjectileID.DemonSickle: - case ProjectileID.HarpyFeather: - case ProjectileID.JavelinHostile: - case ProjectileID.SalamanderSpit: - case ProjectileID.SkeletonBone: - case ProjectileID.IceSpike: - case ProjectileID.JungleSpike: - case ProjectileID.PinkLaser: - case ProjectileID.FrostBlastHostile: - case ProjectileID.GoldenShowerHostile: - case ProjectileID.RainNimbus: - case ProjectileID.FlamingArrow: - case ProjectileID.BulletDeadeye: - case ProjectileID.CannonballHostile: - case ProjectileID.UnholyTridentHostile: - case ProjectileID.FrostBeam: - case ProjectileID.CursedFlameHostile: - case ProjectileID.Stinger: - case ProjectileID.BloodNautilusTears: - case ProjectileID.RockGolemRock: - case ProjectileID.IcewaterSpit: - case ProjectileID.RocketSkeleton: - case ProjectileID.SniperBullet: - case ProjectileID.DrManFlyFlask: - case ProjectileID.DesertDjinnCurse: - case ProjectileID.InfernoHostileBlast: - case ProjectileID.InfernoHostileBolt: - case ProjectileID.Shadowflames: - case ProjectileID.ShadowBeamHostile: - case ProjectileID.PaladinsHammerHostile: - case ProjectileID.LostSoulHostile: - case ProjectileID.RuneBlast: - case ProjectileID.DandelionSeed: - case ProjectileID.SandnadoHostile: - case ProjectileID.SandnadoHostileMark: - case ProjectileID.SnowBallHostile: - case ProjectileID.EyeLaser: - case ProjectileID.Nail: - case ProjectileID.BrainScramblerBolt: - case ProjectileID.GigaZapperSpear: - case ProjectileID.MartianWalkerLaser: - case ProjectileID.RayGunnerLaser: - case ProjectileID.MartianTurretBolt: - case ProjectileID.NebulaSphere: - case ProjectileID.NebulaLaser: - case ProjectileID.NebulaBolt: - case ProjectileID.StardustJellyfishSmall: - case ProjectileID.StardustSoldierLaser: - case ProjectileID.Twinkle: - case ProjectileID.VortexAcid: - case ProjectileID.VortexLaser: - case ProjectileID.VortexLightning: - case ProjectileID.VortexVortexLightning: - case ProjectileID.FlamingWood: - case ProjectileID.GreekFire1: - case ProjectileID.GreekFire2: - case ProjectileID.GreekFire3: - case ProjectileID.FlamingScythe: - case ProjectileID.OrnamentHostile: - case ProjectileID.OrnamentHostileShrapnel: - case ProjectileID.PineNeedleHostile: - case ProjectileID.FrostShard: - case ProjectileID.FrostWave: - case ProjectileID.Missile: - case ProjectileID.Present: - case ProjectileID.Spike: - case ProjectileID.SaucerDeathray: - case ProjectileID.SaucerLaser: - case ProjectileID.SaucerMissile: - case ProjectileID.SaucerScrap: - case ProjectileID.DD2GoblinBomb: - case ProjectileID.DD2JavelinHostile: - case ProjectileID.DD2JavelinHostileT3: - case ProjectileID.DD2DarkMageBolt: - case ProjectileID.DD2DrakinShot: - case ProjectileID.DD2OgreSmash: - case ProjectileID.DD2OgreSpit: - case ProjectileID.DD2OgreStomp: - case ProjectileID.DD2LightningBugZap: - case ProjectileID.DD2BetsyFireball: - case ProjectileID.DD2BetsyFlameBreath: - projectile.damage = (int)Math.Round(projectile.damage * CalamityGlobalNPC.MasterModeEnemyDamageMultiplier); - break; - } - } - // Nerf several Hardmode enemy projectiles because they deal way too much damage if (!CalamityPlayer.areThereAnyDamnBosses) { @@ -3217,6 +3116,8 @@ namespace CalamityMod.Projectiles case ProjectileID.FrostBeam: case ProjectileID.CursedFlameHostile: case ProjectileID.Stinger: + case ProjectileID.BloodShot: + case ProjectileID.BloodNautilusShot: case ProjectileID.BloodNautilusTears: case ProjectileID.RockGolemRock: case ProjectileID.IcewaterSpit: