From d6ef9daadeca32ebf0c2dd5724712311cd519801 Mon Sep 17 00:00:00 2001 From: doze-zoze Date: Tue, 3 Mar 2026 20:09:46 -0600 Subject: [PATCH] Misc Changes - Volcanic Sand places Volcanic Sand properly now - Evolution no longer spams infinite shards during silva revive - Sandgun buff (22 -> 30 damage, it was too weak for the difficulty of dealing with it. Still retains the fire rate nerf) - Astral Sand ammo +5 damage, splits 50% -> 100% damage - Fuel Cell Bundle 25 -> 22 damage - 45% -> 60% damage on Plaguebringer armor (making it so Plaguebringer does not need to run an extra Papyrus Scarab to be able to even compete with spooky) - Adjusted various hive pack effects - Rampart & Deific star-bees no longer gain 1 pierce and 20% less damage, but instead spawns 50% more star-bees (6 -> 9 & 12 -> 18) - Plaguebringer Armor 50% -> 100% chance to add an extra bee - Plaguenade 25% -> 50% more bees (much of the damage comes from the explosion itself, which is unchanged by pack) - Hive missile 50% -> 100% chance to add an extra bee (same as above reason) - Hive Nuke 15% -> 25% more bees (same as above) - Fuel Cell Bundle +15% -> +25% fire rate (cancels out with the dmg nerf for neutral power with hive pack, but nerf to non-hive pack fuel cell) - Alchemical Decanter no longer has bee cooldown reduced, but instead 10 -> 15 damage on bees (1 frame cooldown reduction made no difference on almost any weapons) --- CalPlayer/CalamityPlayerHitHurt.cs | 8 +++----- CalPlayer/CalamityPlayerOnHit.cs | 4 ++-- Items/Armor/Plaguebringer/PlaguebringerCarapace.cs | 2 +- Items/Armor/Plaguebringer/PlaguebringerPistons.cs | 2 +- Items/Armor/Plaguebringer/PlaguebringerVisor.cs | 2 +- Items/CalamityGlobalItemTweaks.cs | 2 +- Items/Placeables/Astral/AstralSand.cs | 2 +- Items/Weapons/Summon/FuelCellBundle.cs | 2 +- Projectiles/Ranged/HiveMissile.cs | 2 +- Projectiles/Ranged/HiveNuke.cs | 2 +- Projectiles/Rogue/PlaguenadeProj.cs | 2 +- Projectiles/Summon/PlaguebringerMK2.cs | 2 +- Projectiles/Summon/PlaguebringerSummon.cs | 2 +- Projectiles/Typeless/SandBall.cs | 4 ++-- 14 files changed, 18 insertions(+), 20 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index ebe0417e36..0b35c0dffc 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -848,7 +848,7 @@ namespace CalamityMod.CalPlayer float cooldownDurationScalar = MathHelper.Clamp((actualProjDamage - dodgeDamageGateValue) / (float)maxCooldownDurationDamageValue, 0f, 1f); // The Evolution - if (evolution) + if (evolution && !Player.HasBuff()) { if (Player.whoAmI == Main.myPlayer) { @@ -2408,10 +2408,10 @@ namespace CalamityMod.CalPlayer if (dAmulet) { var source = Player.GetSource_Accessory_OnHurt(FindAccessory(), hurtInfo.DamageSource); - int projAmount = (rampartOfDeities ? 12 : 6); + var projAmount = (rampartOfDeities ? 12 : 6) * (Player.strongBees ? 1.5f : 1f); for (int n = 0; n < projAmount; n++) { - int deificProjDamage = (int)(Player.GetBestClassDamage().ApplyTo(DeificAmulet.StarDamage) * (Player.strongBees ? 0.85f : 1f)); + int deificProjDamage = (int)(Player.GetBestClassDamage().ApplyTo(DeificAmulet.StarDamage)); Projectile onHitProj = Main.projectile[Projectile.NewProjectile(source, Player.Center, new Vector2(0,-15 * (rampartOfDeities && n % 2 == 0 ? 0.75f: 1.25f)).RotatedBy(MathHelper.TwoPi/projAmount*n), ModContent.ProjectileType(), deificProjDamage, 4f, Player.whoAmI)]; if (onHitProj.whoAmI.WithinBounds(Main.maxProjectiles)) @@ -2422,8 +2422,6 @@ namespace CalamityMod.CalPlayer onHitProj.tileCollide = false; onHitProj.extraUpdates = 1; onHitProj.Calamity().conditionalHomingRange = 600f; - if (Player.strongBees) - onHitProj.penetrate += 1; } } } diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 268d775a34..430281f13b 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -695,14 +695,14 @@ namespace CalamityMod.CalPlayer if (alchFlask && AlchFlaskCooldown == 0 && proj.type != ProjectileType()) { - int seekerDamage = (int)Player.GetBestClassDamage().ApplyTo(10); + int seekerDamage = (int)Player.GetBestClassDamage().ApplyTo(Player.strongBees ? 15 : 10); Vector2 seekerVelocity = new Vector2(5, 5).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1.2f); Projectile bee = Projectile.NewProjectileDirect(source, position, seekerVelocity, ProjectileType(), seekerDamage, 0f, Player.whoAmI, -20, 30, 2); bee.ArmorPenetration = 20; bee.penetrate = 2; bee.extraUpdates = 1; - AlchFlaskCooldown = Player.strongBees ? 6 : 7; + AlchFlaskCooldown = 7; } bool lifeAndShieldCondition = Player.statLife >= Player.statLifeMax2 && (!HasAnyEnergyShield || TotalEnergyShielding >= TotalMaxShieldDurability); diff --git a/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs index 43566922ae..50c282e3db 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerCarapace.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer public new string LocalizationCategory => "Items.Armor.Hardmode"; public static int MinionSlotBoost = 1; - public static float SummonDamageBoost = 0.15f; + public static float SummonDamageBoost = 0.20f; public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent()); public override void SetStaticDefaults() diff --git a/Items/Armor/Plaguebringer/PlaguebringerPistons.cs b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs index 1ae9a366f0..2bd239bc58 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerPistons.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerPistons.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer public new string LocalizationCategory => "Items.Armor.Hardmode"; public static int MinionSlotBoost = 1; - public static float SummonDamageBoost = 0.15f; + public static float SummonDamageBoost = 0.20f; public static float MoveSpeedBoost = 0.15f; public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent(), MoveSpeedBoost.ToPercent()); diff --git a/Items/Armor/Plaguebringer/PlaguebringerVisor.cs b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs index df326df8c0..3bf9a5e25f 100644 --- a/Items/Armor/Plaguebringer/PlaguebringerVisor.cs +++ b/Items/Armor/Plaguebringer/PlaguebringerVisor.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer public new string LocalizationCategory => "Items.Armor.Hardmode"; public static int MinionSlotBoost = 1; - public static float SummonDamageBoost = 0.15f; + public static float SummonDamageBoost = 0.20f; public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent()); // Set Bonus diff --git a/Items/CalamityGlobalItemTweaks.cs b/Items/CalamityGlobalItemTweaks.cs index 6c604ce7de..94410c1bc9 100644 --- a/Items/CalamityGlobalItemTweaks.cs +++ b/Items/CalamityGlobalItemTweaks.cs @@ -211,7 +211,7 @@ namespace CalamityMod.Items { ItemID.RedRyder, Do(DamageExact(24)) }, { ItemID.RedsYoyo, Do(DamageExact(48)) }, // Red's Throw and Valkyrie Yoyo have the same stats { ItemID.RocketLauncher, Do(DamageExact(60), ShootSpeedExact(9)) }, - { ItemID.Sandgun, Do(DamageExact(22), UseExact(20)) }, + { ItemID.Sandgun, Do(UseExact(20)) }, { ItemID.SapphireStaff, Do(DamageExact(25)) }, { ItemID.ScourgeoftheCorruptor, Do(DamageExact(63)) }, { ItemID.Seedler, Do(UseMeleeSpeed, DamageExact(45), ShootSpeedExact(16)) }, diff --git a/Items/Placeables/Astral/AstralSand.cs b/Items/Placeables/Astral/AstralSand.cs index a7e732363b..a317457627 100644 --- a/Items/Placeables/Astral/AstralSand.cs +++ b/Items/Placeables/Astral/AstralSand.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Items.Placeables.Astral Item.ResearchUnlockCount = 100; ItemTrader.ChlorophyteExtractinator.AddOption_OneWay(Type, 1, ItemID.SandBlock, 1); - ItemID.Sets.SandgunAmmoProjectileData[Type] = new(ModContent.ProjectileType(), 0); + ItemID.Sets.SandgunAmmoProjectileData[Type] = new(ModContent.ProjectileType(), 5); } public override void SetDefaults() diff --git a/Items/Weapons/Summon/FuelCellBundle.cs b/Items/Weapons/Summon/FuelCellBundle.cs index 5a39da29cf..5c3e05a492 100644 --- a/Items/Weapons/Summon/FuelCellBundle.cs +++ b/Items/Weapons/Summon/FuelCellBundle.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Summon Item.width = 32; Item.height = 32; Item.mana = 10; - Item.damage = 25; + Item.damage = 22; Item.useStyle = ItemUseStyleID.Swing; Item.useAnimation = Item.useTime = 36; Item.noMelee = true; diff --git a/Projectiles/Ranged/HiveMissile.cs b/Projectiles/Ranged/HiveMissile.cs index a95485dbed..0a84bc428e 100644 --- a/Projectiles/Ranged/HiveMissile.cs +++ b/Projectiles/Ranged/HiveMissile.cs @@ -156,7 +156,7 @@ namespace CalamityMod.Projectiles.Ranged dust2.color = Main.rand.NextBool(3) ? EffectsColor : StaticEffectsColor; } var projAmount = isClusterRocket ? 3f : 2f; - if (Main.player[Projectile.owner].strongBees && Main.rand.NextBool()) + if (Main.player[Projectile.owner].strongBees) projAmount++; for (int k = 0; k < projAmount; k++) { diff --git a/Projectiles/Ranged/HiveNuke.cs b/Projectiles/Ranged/HiveNuke.cs index 42d6a91781..af0b2be614 100644 --- a/Projectiles/Ranged/HiveNuke.cs +++ b/Projectiles/Ranged/HiveNuke.cs @@ -241,7 +241,7 @@ namespace CalamityMod.Projectiles.Ranged var projAmount = isClusterRocket ? 30f : 20f; if (Main.player[Projectile.owner].strongBees) - projAmount *= 1.15f; + projAmount *= 1.25f; for (int k = 0; k < projAmount; k++) { int BEES = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, new Vector2(10, 10).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 0.8f), ModContent.ProjectileType(), (int)(Projectile.damage * (isClusterRocket ? 0.03f : 0.04f)), 0f, Projectile.owner, 0f, 0f, isClusterRocket ? 2f : 1f); diff --git a/Projectiles/Rogue/PlaguenadeProj.cs b/Projectiles/Rogue/PlaguenadeProj.cs index 8dd4b9c786..6f39328766 100644 --- a/Projectiles/Rogue/PlaguenadeProj.cs +++ b/Projectiles/Rogue/PlaguenadeProj.cs @@ -74,7 +74,7 @@ namespace CalamityMod.Projectiles.Rogue Player player = Main.player[Projectile.owner]; int projAmt = Projectile.Calamity().stealthStrike ? 28 : 20; if (player.strongBees) - projAmt += Projectile.Calamity().stealthStrike ? 7 : 5; + projAmt = (int)(projAmt * 1.5f); for (int projIndex = 0; projIndex < projAmt; projIndex++) { float speedX = (float)Main.rand.Next(-35, 36) * 0.02f; diff --git a/Projectiles/Summon/PlaguebringerMK2.cs b/Projectiles/Summon/PlaguebringerMK2.cs index e1a38ea092..c7149d9a70 100644 --- a/Projectiles/Summon/PlaguebringerMK2.cs +++ b/Projectiles/Summon/PlaguebringerMK2.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles.Summon else Projectile.velocity = Projectile.SafeDirectionTo(destination) * Projectile.Distance(destination) / 36f; - int timeNeeded = (int)(MathHelper.Lerp(60f, 18f, MathHelper.Clamp(Projectile.localAI[1] / 320f, 0f, 1f)) * (player.strongBees ? 0.85f : 1f)); + int timeNeeded = (int)(MathHelper.Lerp(60f, 18f, MathHelper.Clamp(Projectile.localAI[1] / 320f, 0f, 1f)) * (player.strongBees ? 0.75f : 1f)); if (Projectile.ai[0] >= timeNeeded && Main.myPlayer == Projectile.owner) { Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, diff --git a/Projectiles/Summon/PlaguebringerSummon.cs b/Projectiles/Summon/PlaguebringerSummon.cs index ffa626a95c..66667c4cdf 100644 --- a/Projectiles/Summon/PlaguebringerSummon.cs +++ b/Projectiles/Summon/PlaguebringerSummon.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Projectiles.Summon if (Projectile.ai[0] % 12 == 11) { int beeCount = Main.rand.Next(1, 3); - if (Owner.strongBees && Main.rand.NextBool(3)) + if (Owner.strongBees) ++beeCount; for (int i = 0; i < beeCount; i++) diff --git a/Projectiles/Typeless/SandBall.cs b/Projectiles/Typeless/SandBall.cs index 218b99706d..1e56f608aa 100644 --- a/Projectiles/Typeless/SandBall.cs +++ b/Projectiles/Typeless/SandBall.cs @@ -120,7 +120,7 @@ namespace CalamityMod.Projectiles.Typeless if (Projectile.ai[2] != 1) { for (var i = 0; i < 4; i++) - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity.RotatedByRandom(0.75f) * Main.rand.NextFloat(0.5f,0.75f), ModContent.ProjectileType(), (int)(Projectile.damage * 0.5f), Projectile.knockBack, Projectile.owner, ai2: 1); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity.RotatedByRandom(0.75f) * Main.rand.NextFloat(0.5f,0.75f), ModContent.ProjectileType(), (int)(Projectile.damage), Projectile.knockBack, Projectile.owner, ai2: 1); } } @@ -242,7 +242,7 @@ namespace CalamityMod.Projectiles.Typeless public class VolcanicSandBallGun : SandBall { public override string Texture => "CalamityMod/Projectiles/Typeless/SandBallVolcanic"; - public override int TileType => ModContent.TileType(); + public override int TileType => ModContent.TileType(); public override int ItemType => ModContent.ItemType(); public override int DustType => -1;