From 1cf6468dbc78e1d00470eaa50960122314d1e86b Mon Sep 17 00:00:00 2001 From: Xyk Date: Tue, 10 Feb 2026 23:00:52 -0800 Subject: [PATCH 1/2] Arc Flash crit scaling fix --- CalPlayer/CalamityPlayerOnHit.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index c321b322d5..24c643bda7 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -205,7 +205,7 @@ namespace CalamityMod.CalPlayer bool spawnChance = (Main.rand.Next(100) < ArcFlashRing.LightningSpawnPercent); if (arcFlashRing && spawnChance) { - int damage = (int)(hit.Damage * ArcFlashRing.LightningDamageMult * (hit.Crit ? 0.5f : 1) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) + int damage = (int)(hit.Damage * ArcFlashRing.LightningDamageMult * (hit.Crit ? (1 / (Player.Calamity().critDamage + 2)) : 1) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) Projectile bolt = Projectile.NewProjectileDirect(source, target.Center, Vector2.Zero, ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI); bolt.DamageType = hit.DamageType; @@ -411,7 +411,7 @@ namespace CalamityMod.CalPlayer { 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 - int damage = (int)(hit.Damage * ArcFlashRing.LightningDamageMult * (hit.Crit ? 0.5f : 1) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) + int damage = (int)(hit.Damage * ArcFlashRing.LightningDamageMult * (hit.Crit ? (1 / (Player.Calamity().critDamage + 2)) : 1) / (Player.Calamity().adrenalineModeActive ? Player.Calamity().GetAdrenalineDamage() + 1 : 1)); // 400% damage (uneffected by crits and adrenaline) Projectile bolt = Projectile.NewProjectileDirect(source, target.Center, Vector2.Zero, ProjectileType(), damage, 0f, Player.whoAmI, target.whoAmI, (globalProj.showArcFlash ? 0 : 1)); bolt.DamageType = hit.DamageType; From 3597cc9666308ae475773b6e46c18735d4420293 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Wed, 11 Feb 2026 14:46:38 -0500 Subject: [PATCH 2/2] Removed several GFB gimmicks that are simply dealing absurd damage This eliminates the following: * All Arsenal weapons having zero cooldown on special attacks * Dragon's Breath mag dealing 250k damage * Grand Dad's increased damage and knockback * Hellkite's infinite charge (along with visual effect scaling, because this was simply a visual hazard) * The Hive nuke spawning more bees * Luxor's Gift having no cooldown on spawning projectiles * Seafoam Bomb firing faster and stealth strikes splitting into way more cluster bombs * Slick Cane having a much higher stealth money cap * Star of Destruction's explosion dealing more damage but damaging the player * Supernova's explosion dealing much more damage but pulling the player in and damaging the player * Xyk's Blessing death effect damage * Also changes Halibut Cannon to fire its full 25-35 bullets when hitting the 20% chance in GFB instead of 1 bullet --- CalPlayer/CalamityPlayerHitHurt.cs | 2 +- CalPlayer/CalamityPlayerMiscEffects.cs | 2 - Items/Weapons/Ranged/HalibutCannon.cs | 6 +-- Items/Weapons/Rogue/SeafoamBomb.cs | 7 --- ...Mods.CalamityMod.Items.Weapons.Rogue.hjson | 11 +---- .../en-US/Mods.CalamityMod.Misc.hjson | 1 - Projectiles/Melee/GrandDadHoldout.cs | 6 +-- Projectiles/Melee/HellkiteHoldout.cs | 45 +++++-------------- Projectiles/Ranged/DragonsBreathHoldout.cs | 2 +- Projectiles/Ranged/HiveNuke.cs | 2 +- Projectiles/Rogue/DestructionExplosion.cs | 6 --- Projectiles/Rogue/DestructionStar.cs | 18 +++----- Projectiles/Rogue/SeafoamBombProj.cs | 2 +- Projectiles/Rogue/SlickCaneProjectile.cs | 4 +- Projectiles/Rogue/SupernovaBoom.cs | 16 +------ Projectiles/Rogue/SupernovaStealthBoom.cs | 6 --- Projectiles/Typeless/Luxor.cs | 5 --- 17 files changed, 32 insertions(+), 109 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index ba3a3815b5..df6c24e6df 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -173,7 +173,7 @@ namespace CalamityMod.CalPlayer // Xyk vanity death animation if (XykVisualsBlue || XykVisualsOrange) { - Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.Zero, ModContent.ProjectileType(), Main.zenithWorld ? Main.rand.Next(5000, 50000 + 1) : 0, 0, Player.whoAmI); + Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.Zero, ModContent.ProjectileType(), 0, 0, Player.whoAmI); } if (holyInferno) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index ea54524371..4df5850fde 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2201,8 +2201,6 @@ namespace CalamityMod.CalPlayer if (arsenalCooldown > 0) arsenalCooldown--; - if (Main.zenithWorld) - arsenalCooldown = 0; if (killModeCooldown > 0) killModeCooldown--; if (ascendantInsigniaCooldown > 0 && ascendantInsigniaBuffTime <= 0) diff --git a/Items/Weapons/Ranged/HalibutCannon.cs b/Items/Weapons/Ranged/HalibutCannon.cs index 82e65e004e..c97d932eaf 100644 --- a/Items/Weapons/Ranged/HalibutCannon.cs +++ b/Items/Weapons/Ranged/HalibutCannon.cs @@ -40,9 +40,9 @@ namespace CalamityMod.Items.Weapons.Ranged { SoundEngine.PlaySound(SoundID.Item38, player.Center); - // Really jammed in GFB - if (Main.zenithWorld) - return Main.rand.NextBool(5); + // Really jammed in GFB (only fires 20% of the time) + if (Main.zenithWorld && Main.rand.Next(5) < 4) + return false; int bulletAmt = Main.rand.Next(25, 36); for (int index = 0; index < bulletAmt; ++index) diff --git a/Items/Weapons/Rogue/SeafoamBomb.cs b/Items/Weapons/Rogue/SeafoamBomb.cs index b7666b5cd4..6f79585cf6 100644 --- a/Items/Weapons/Rogue/SeafoamBomb.cs +++ b/Items/Weapons/Rogue/SeafoamBomb.cs @@ -31,12 +31,6 @@ namespace CalamityMod.Items.Weapons.Rogue Item.shootSpeed = 7f; Item.DamageType = RogueDamageClass.Instance; } - public override float UseSpeedMultiplier(Player player) - { - if (Main.zenithWorld) // It's S tier - return 6; - return 1f; - } public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { if (player.Calamity().StealthStrikeAvailable()) // Stealth strikes throw a cluster bomb, the throw count is increased to insure that bubble fusing works @@ -56,7 +50,6 @@ namespace CalamityMod.Items.Weapons.Rogue } return false; } - public override void ModifyTooltips(List list) => list.FindAndReplace("[GFB]", this.GetLocalizedValue(Main.zenithWorld ? "TooltipGFB" : "TooltipNormal")); public override void AddRecipes() { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson index 08215fe009..78b6ad646f 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson @@ -978,22 +978,13 @@ ScourgeoftheSeas: { SeafoamBomb: { DisplayName: Seafoam Bomb - Tooltip: "[GFB]" - TooltipNormal: + Tooltip: ''' Hurls a lightweight bomb which bursts into a foam bubble Foam bubbles combine in pairs to form huge bubbles Huge bubbles pop into small homing suds after a delay Stealth strikes are cluster bombs that release eight normal bombs ''' - TooltipGFB: - ''' - Rapidly hurls a lightweight bomb which bursts into a foam bubble - Foam bubbles combine in pairs to form huge bubbles - Huge bubbles pop into small homing suds after a delay - Stealth strikes are cluster bombs that release 38 normal bombs - [c/256b93:'Right back in S tier!'] - ''' } SealedSingularity: { diff --git a/Localization/en-US/Mods.CalamityMod.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Misc.hjson index 9390417a75..8d617226ec 100644 --- a/Localization/en-US/Mods.CalamityMod.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Misc.hjson @@ -48,7 +48,6 @@ AutocannonHot: OUCH! HOT! NoComputer: No decryption computer installed ArkParry: Parry! BurningSeaBurn: It burns... -LightsWarning: I've gotta give you a flashing lights warning on this one NotSafe: Y O U A R E N O T S A F E HecBoop: boop! ClockworkTick: Tick diff --git a/Projectiles/Melee/GrandDadHoldout.cs b/Projectiles/Melee/GrandDadHoldout.cs index f1151eec3a..cd7d39d564 100644 --- a/Projectiles/Melee/GrandDadHoldout.cs +++ b/Projectiles/Melee/GrandDadHoldout.cs @@ -250,14 +250,14 @@ namespace CalamityMod.Projectiles.Melee // Launch the suckers Vector2 launchVel = Utils.DirectionTo(Owner.Center, Owner.Calamity().mouseWorld); - float launchPower = (Main.zenithWorld ? 50 : 30) * (rightClicked ? 2 : 1); + float launchPower = 30 * (rightClicked ? 2 : 1); target.MoveNPC(launchVel, launchPower * 0.5f, true); // Remove knockback resist, just like it used to target.knockBackResist = 1; - // Apply tile collison damage (is boosted on GFB and even further if both final bosses are gone) - float damageMults = ((DownedBossSystem.downedCalamitas && DownedBossSystem.downedExoMechs) ? 5 : 1) * (Main.zenithWorld ? 77 : 1) * (rightClicked ? 3 : 1); + // Apply tile collison damage (is boosted even further if both final bosses are gone) + float damageMults = ((DownedBossSystem.downedCalamitas && DownedBossSystem.downedExoMechs) ? 5 : 1) * (rightClicked ? 3 : 1); int damage = (int)(Projectile.damage * damageMults); target.GetGlobalNPC().ApplyCollisionDamage(target, Owner, damage, launchVel * launchPower, 5f, true); } diff --git a/Projectiles/Melee/HellkiteHoldout.cs b/Projectiles/Melee/HellkiteHoldout.cs index a9a8633e1d..07c121065c 100644 --- a/Projectiles/Melee/HellkiteHoldout.cs +++ b/Projectiles/Melee/HellkiteHoldout.cs @@ -36,9 +36,6 @@ namespace CalamityMod.Projectiles.Melee public int useAnim; // Used as your use time stat since checking the held item use time gets jank if your attack speed changes mid swing public int storedUseAnim; // Used to check your use time when you began using the item and to reset use time when needed public int swingCount = 0; - public float GFBMulti = 1; // GFB infinite charge particle and damage multiplier - public int GFBCharge = 0; // GFB charge counter - public bool GFBFlashWarning = false; public int pierceReduction = 0; // Used to reduce damage when striking many enemies with a single swing public bool chargedSwing = false; // True if you have a charged swing fully charged @@ -135,19 +132,15 @@ namespace CalamityMod.Projectiles.Melee if (chargeTimer < chargeTimerMax && !chargedSwing) chargeTimer++; - if (Main.zenithWorld) - { - GFBCharge++; - } Vector2 particleVel = (Owner.Center - particlePos).SafeNormalize(Vector2.UnitX) * -15; particlePos += Main.rand.NextVector2Circular(20, 20); Dust dust2 = Dust.NewDustPerfect(particlePos, DustID.RainbowMk2, particleVel * Main.rand.NextFloat(0.2f, 1)); - dust2.scale = Main.rand.NextFloat(0.65f, 1.15f) * fadeIn * GFBMulti; + dust2.scale = Main.rand.NextFloat(0.65f, 1.15f) * fadeIn; dust2.noGravity = true; dust2.color = Main.rand.NextBool(3) ? Color.Orange : Color.OrangeRed; - Particle spark3 = new GlowOrbParticle(particlePos, particleVel * Main.rand.NextFloat(0.2f, 1.5f), false, 22, Main.rand.NextFloat(0.2f, 0.4f) * fadeIn * GFBMulti, Main.rand.NextBool(3) ? Color.Red : Color.OrangeRed); + Particle spark3 = new GlowOrbParticle(particlePos, particleVel * Main.rand.NextFloat(0.2f, 1.5f), false, 22, Main.rand.NextFloat(0.2f, 0.4f) * fadeIn, Main.rand.NextBool(3) ? Color.Red : Color.OrangeRed); GeneralParticleHandler.SpawnParticle(spark3); if (SoundEngine.TryGetActiveSound(AudSlot, out var ChargeSound) && ChargeSound.IsPlaying) @@ -161,7 +154,7 @@ namespace CalamityMod.Projectiles.Melee AudSlot = SoundEngine.PlaySound(Hellkite.ChargeSound with { Volume = 0.01f, Pitch = 0, IsLooped = true }, Projectile.Center); } } - if (chargeTimer == chargeTimerMax || GFBCharge >= (MathHelper.Clamp(chargeTimerMax - (GFBMulti * GFBMulti * 2), 12, 80)) && GFBCharge > 0) + if (chargeTimer == chargeTimerMax) { particlePos = Owner.Center + (bladePos).RotatedBy(FinalRotation + MathHelper.ToRadians(-45)); SoundEngine.PlaySound(Hellkite.FullChargeSound with { Volume = 0.9f, PitchVariance = 0.2f }, Projectile.Center); @@ -169,20 +162,6 @@ namespace CalamityMod.Projectiles.Melee useAnim = storedUseAnim / 3; chargeTimer++; - if (Main.zenithWorld) - { - if (chargeTimerMax - (GFBMulti * GFBMulti * 2) <= 12 && !GFBFlashWarning) - { - SoundStyle w = new("CalamityMod/Sounds/Custom/PlagueSounds/PBGNukeWarning"); - SoundEngine.PlaySound(w with { Volume = 0.5f, Pitch = 1f }, Projectile.Center); - Main.NewText(CalamityUtils.GetTextValue("Misc.LightsWarning"), Color.Orange); - GFBFlashWarning = true; - } - GFBMulti += 0.5f; - Projectile.scale += 0.03f; - GFBCharge = 0; - } - for (int i = 0; i < 20; i++) { Particle spark2 = new LineParticle(particlePos, new Vector2(8, 8).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1f), false, 30, Main.rand.NextFloat(0.3f, 0.8f), Main.rand.NextBool(3) ? Color.Red : Color.OrangeRed); @@ -232,8 +211,6 @@ namespace CalamityMod.Projectiles.Melee postSwing = false; if (AnimationProgress == 0) { - GFBMulti = 1; - GFBCharge = 0; Projectile.scale = 1; Animation = 0; doSwing = false; @@ -376,36 +353,36 @@ namespace CalamityMod.Projectiles.Melee if (Projectile.numHits == 0) { SoundEngine.PlaySound(Hellkite.HitSoundBig with { Volume = 1f }, Projectile.Center); - Owner.SetScreenshake(8.5f * GFBMulti); + Owner.SetScreenshake(8.5f); bool photos = CalamityClientConfig.Instance.Photosensitivity; if (!photos) { for (int i = 0; i < 3; i++) { - Particle blastRing = new CustomPulse(target.Center, Vector2.Zero, Color.OrangeRed, "CalamityMod/Particles/BloomCircle", Vector2.One, Main.rand.NextFloat(-10, 10), 2f * (i + 1) * GFBMulti, 1f, (GFBFlashWarning && !photos) ? (int)(18 * GFBMulti) : 18, true); + Particle blastRing = new CustomPulse(target.Center, Vector2.Zero, Color.OrangeRed, "CalamityMod/Particles/BloomCircle", Vector2.One, Main.rand.NextFloat(-10, 10), 2f * (i + 1), 1f, 18, true); GeneralParticleHandler.SpawnParticle(blastRing); - Particle blastRing2 = new CustomPulse(target.Center, Vector2.Zero, Color.White, "CalamityMod/Particles/BloomCircle", Vector2.One, Main.rand.NextFloat(-10, 10), 1f * (i + 1) * GFBMulti, 0.5f, (GFBFlashWarning && !photos) ? (int)(18 * GFBMulti) : 18, true); + Particle blastRing2 = new CustomPulse(target.Center, Vector2.Zero, Color.White, "CalamityMod/Particles/BloomCircle", Vector2.One, Main.rand.NextFloat(-10, 10), 1f * (i + 1), 0.5f, 18, true); GeneralParticleHandler.SpawnParticle(blastRing2); } } for (int i = 0; i < 2; i++) { - Particle spark = new GlowSparkParticle(target.Center, (Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -25 * (i == 0 ? -1 : 1), false, 12, 0.08f * (photos ? 1f : GFBMulti), Color.OrangeRed, new Vector2(3, 0.8f), true); + Particle spark = new GlowSparkParticle(target.Center, (Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -25 * (i == 0 ? -1 : 1), false, 12, 0.08f, Color.OrangeRed, new Vector2(3, 0.8f), true); GeneralParticleHandler.SpawnParticle(spark); } for (int i = 0; i < 15; i++) { - Particle spark2 = new SparkParticle(target.Center, ((Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -40).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 1f), true, 40, Main.rand.NextFloat(0.5f, 1.2f) * GFBMulti, Main.rand.NextBool(3) ? Color.Orange : Color.OrangeRed); + Particle spark2 = new SparkParticle(target.Center, ((Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -40).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 1f), true, 40, Main.rand.NextFloat(0.5f, 1.2f), Main.rand.NextBool(3) ? Color.Orange : Color.OrangeRed); GeneralParticleHandler.SpawnParticle(spark2); if (Main.rand.NextBool()) { - Particle spark3 = new AltSparkParticle(target.Center, ((Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -40).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 1f), true, 40, Main.rand.NextFloat(0.5f, 1.2f) * GFBMulti, Color.DarkRed); + Particle spark3 = new AltSparkParticle(target.Center, ((Owner.Center - Owner.Calamity().mouseWorld).SafeNormalize(Vector2.UnitY) * -40).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 1f), true, 40, Main.rand.NextFloat(0.5f, 1.2f), Color.DarkRed); GeneralParticleHandler.SpawnParticle(spark3); } Dust dust2 = Dust.NewDustPerfect(target.Center, DustID.FireworksRGB, new Vector2(20, 20).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 1)); - dust2.scale = Main.rand.NextFloat(0.55f, 0.85f) * GFBMulti; + dust2.scale = Main.rand.NextFloat(0.55f, 0.85f); dust2.noGravity = true; dust2.color = Main.rand.NextBool(3) ? Color.Orange : Color.OrangeRed; } @@ -424,7 +401,7 @@ namespace CalamityMod.Projectiles.Melee float minMult = 0.25f; int hitsToMinMult = 10; float damageMult = Utils.Remap(pierceReduction, 0, hitsToMinMult, 1, minMult, true); - modifiers.SourceDamage *= (chargedSwing ? (2.9f * GFBMulti + critDamage) : 1) * damageMult; + modifiers.SourceDamage *= (chargedSwing ? (2.9f + critDamage) : 1) * damageMult; } public override bool PreDraw(ref Color lightColor) { diff --git a/Projectiles/Ranged/DragonsBreathHoldout.cs b/Projectiles/Ranged/DragonsBreathHoldout.cs index 8b11715fbe..5ee69fd17a 100644 --- a/Projectiles/Ranged/DragonsBreathHoldout.cs +++ b/Projectiles/Ranged/DragonsBreathHoldout.cs @@ -64,7 +64,7 @@ namespace CalamityMod.Projectiles.Ranged SoundEngine.PlaySound(bigShot with { PitchVariance = 0.15f, Volume = 0.75f }, Projectile.Center); if (Main.myPlayer == Projectile.owner) - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, (Projectile.velocity.SafeNormalize(Vector2.UnitX) * 6).RotatedBy(-2.3f * Projectile.direction), ModContent.ProjectileType(), Main.zenithWorld ? 250000 : 1, Projectile.knockBack, Projectile.owner, 1); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, (Projectile.velocity.SafeNormalize(Vector2.UnitX) * 6).RotatedBy(-2.3f * Projectile.direction), ModContent.ProjectileType(), 1, Projectile.knockBack, Projectile.owner, 1); hasLaunchedMag = true; } } diff --git a/Projectiles/Ranged/HiveNuke.cs b/Projectiles/Ranged/HiveNuke.cs index 4603c31b0b..6217386ab8 100644 --- a/Projectiles/Ranged/HiveNuke.cs +++ b/Projectiles/Ranged/HiveNuke.cs @@ -238,7 +238,7 @@ namespace CalamityMod.Projectiles.Ranged dust.alpha = Main.rand.Next(90, 220 + 1); } } - for (int k = 0; k < (int)((Main.zenithWorld ? 100 : 20) * (isClusterRocket ? 1.5f : 1)); k++) + for (int k = 0; k < (isClusterRocket ? 30 : 20); 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); if (BEES.WithinBounds(Main.maxProjectiles)) diff --git a/Projectiles/Rogue/DestructionExplosion.cs b/Projectiles/Rogue/DestructionExplosion.cs index aeb01ad6f6..5a3653546f 100644 --- a/Projectiles/Rogue/DestructionExplosion.cs +++ b/Projectiles/Rogue/DestructionExplosion.cs @@ -27,12 +27,6 @@ namespace CalamityMod.Projectiles.Rogue } public override void AI() { - if (Main.zenithWorld) - { - Projectile.hostile = true; - Projectile.friendly = true; - } - if (Projectile.ai[0] == 1) { ExplosionRadius = 800; diff --git a/Projectiles/Rogue/DestructionStar.cs b/Projectiles/Rogue/DestructionStar.cs index 0d25bf3cf0..f8aff95cac 100644 --- a/Projectiles/Rogue/DestructionStar.cs +++ b/Projectiles/Rogue/DestructionStar.cs @@ -153,7 +153,7 @@ namespace CalamityMod.Projectiles.Rogue internal void Explode(bool big) { - float sizeBonus = big ? Main.zenithWorld ? 6 : 2 : 1; + float sizeBonus = big ? 2 : 1; float bigExplosionDamage = 3f; Player Owner = Main.player[Projectile.owner]; Particle orb = new CustomPulse(Projectile.Center, Vector2.Zero, Color.LightGreen with { A = 0 }, "CalamityMod/Particles/LargeBloom", new Vector2(1, 1), Main.rand.NextFloat(-10, 10), 0f, 0.82f * sizeBonus, 11); @@ -164,9 +164,9 @@ namespace CalamityMod.Projectiles.Rogue orb2.DrawLayer = GeneralDrawLayer.AfterEverything; - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * (big ? Main.zenithWorld ? bigExplosionDamage * 4f : bigExplosionDamage : Projectile.Calamity().stealthStrike ? 0.25f : 1f)), Projectile.knockBack * 1.5f, Projectile.owner); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * (big ? bigExplosionDamage : Projectile.Calamity().stealthStrike ? 0.25f : 1f)), Projectile.knockBack * 1.5f, Projectile.owner); - if (!Main.zenithWorld || !big) + if (!big) { SoundStyle explo = new("CalamityMod/Sounds/Item/MeldExplosion"); SoundEngine.PlaySound(explo with { Volume = 0.9f }, Projectile.Center); @@ -179,15 +179,11 @@ namespace CalamityMod.Projectiles.Rogue if (big) { - if (!Main.zenithWorld) - { - SoundStyle explo2 = new("CalamityMod/Sounds/Item/EarthMeteor"); - SoundEngine.PlaySound(explo2 with { Volume = 0.9f, Pitch = -0.2f }, Projectile.Center); - - SoundStyle explo3 = new("CalamityMod/Sounds/Item/ExobladeDashImpact"); - SoundEngine.PlaySound(explo3 with { Volume = 0.9f, Pitch = -0.2f }, Projectile.Center); - } + SoundStyle explo2 = new("CalamityMod/Sounds/Item/EarthMeteor"); + SoundEngine.PlaySound(explo2 with { Volume = 0.9f, Pitch = -0.2f }, Projectile.Center); + SoundStyle explo3 = new("CalamityMod/Sounds/Item/ExobladeDashImpact"); + SoundEngine.PlaySound(explo3 with { Volume = 0.9f, Pitch = -0.2f }, Projectile.Center); } Particle bolt2 = new CustomPulse(Projectile.Center, Vector2.Zero, Color.LightGreen, "CalamityMod/Particles/BloomRing", Vector2.One, Main.rand.NextFloat(-10f, 10f), 0f, 2.56f * 1.3f * sizeBonus, 18); diff --git a/Projectiles/Rogue/SeafoamBombProj.cs b/Projectiles/Rogue/SeafoamBombProj.cs index ea6787c932..0847680f32 100644 --- a/Projectiles/Rogue/SeafoamBombProj.cs +++ b/Projectiles/Rogue/SeafoamBombProj.cs @@ -72,7 +72,7 @@ namespace CalamityMod.Projectiles.Rogue float throwCount = Projectile.localAI[0]; if (Main.myPlayer == Projectile.owner) { - for (int i = 0; i < (Main.zenithWorld ? 38 : 8); i++) + for (int i = 0; i < 8; i++) { throwCount++; Vector2 vel = (Vector2.UnitY * -5).RotatedByRandom(0.6f) * Main.rand.NextFloat(0.8f, 1.3f); diff --git a/Projectiles/Rogue/SlickCaneProjectile.cs b/Projectiles/Rogue/SlickCaneProjectile.cs index 061241ef8a..2f3d5524ad 100644 --- a/Projectiles/Rogue/SlickCaneProjectile.cs +++ b/Projectiles/Rogue/SlickCaneProjectile.cs @@ -142,12 +142,12 @@ namespace CalamityMod.Projectiles.Rogue } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { - // Boost dmg in proportion to money, caps at 1 plat. Much higher cap in GFB cuz it would be funny + // Boost dmg in proportion to money, caps at 1 plat. if (Projectile.Calamity().stealthStrike) { Player player = Main.player[Projectile.owner]; double money = Utils.CoinsCount(out bool overflow, player.inventory); - double cap = Main.zenithWorld ? 100000000 : 1000000; + double cap = 1000000; if (money >= cap) money = cap; if (money != 0) diff --git a/Projectiles/Rogue/SupernovaBoom.cs b/Projectiles/Rogue/SupernovaBoom.cs index 7a48ea630d..9d920c69f4 100644 --- a/Projectiles/Rogue/SupernovaBoom.cs +++ b/Projectiles/Rogue/SupernovaBoom.cs @@ -116,15 +116,6 @@ namespace CalamityMod.Projectiles.Rogue } if (currentFrame == 13) { - if (Main.zenithWorld) - { - if (Vector2.Distance(Owner.Center, Projectile.Center) < radius) - { - Vector2 velToApply = Owner.Center.DirectionFrom(Projectile.Center).SafeNormalize(Vector2.UnitX) * 30; - Owner.velocity = velToApply + (velToApply.Y <= 0 ? new Vector2(0, -15) : Vector2.Zero); - } - } - Projectile.velocity = Vector2.Zero; Owner.SetScreenshake(5f); @@ -166,13 +157,8 @@ namespace CalamityMod.Projectiles.Rogue } } - if (currentFrame < 13) // suck in enemies, or you if it's GFB + if (currentFrame < 13) // suck in enemies { - if (Main.zenithWorld) - { - if (Vector2.Distance(Owner.Center, Projectile.Center) > 40 && Vector2.Distance(Owner.Center, Projectile.Center) < 600) - Owner.Center += Owner.Center.DirectionTo(Projectile.Center).SafeNormalize(Vector2.UnitX) * 22; - } for (int i = 0; i < Main.maxNPCs; i++) { NPC target = Main.npc[i]; diff --git a/Projectiles/Rogue/SupernovaStealthBoom.cs b/Projectiles/Rogue/SupernovaStealthBoom.cs index b78d856f42..21f394d99a 100644 --- a/Projectiles/Rogue/SupernovaStealthBoom.cs +++ b/Projectiles/Rogue/SupernovaStealthBoom.cs @@ -134,12 +134,6 @@ namespace CalamityMod.Projectiles.Rogue if (time == 80) { radius = 2500; - if (Main.zenithWorld) - { - Projectile.hostile = true; - Projectile.friendly = true; - Projectile.damage *= 100; - } SoundEngine.PlaySound(Supernova.StealthExplosionSound with { Pitch = Projectile.ai[2] }, Projectile.Center); Projectile.numHits = 0; diff --git a/Projectiles/Typeless/Luxor.cs b/Projectiles/Typeless/Luxor.cs index ddafd4ff7b..024fc70532 100644 --- a/Projectiles/Typeless/Luxor.cs +++ b/Projectiles/Typeless/Luxor.cs @@ -135,11 +135,6 @@ namespace CalamityMod.Projectiles.Typeless case 5: attackSpeed = LuxorsGift.rogueAttackSpeed; attackDamage = LuxorsGift.rogueDamage; projType = ModContent.ProjectileType(); break; } float powerMult = Utils.GetLerpValue(-120, 140, attackSpeed, true); // An intensity multiplier based on the fire rate of the mode - if (Main.zenithWorld) // Just like old times - { - attackSpeed = 0; - attackDamage = Math.Max(1, (int)(Owner.HeldItem.damage * Utils.Remap(Owner.HeldItem.useAnimation, 3, 120, 0.025f, 1f, false))); - } for (int i = 0; i < (int)(20 * powerMult); i++) // Firing dust {