From a2c4affc274797f3b3c6dd5eef7d9fcc7c694451 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Sat, 16 Nov 2024 00:59:39 -0500 Subject: [PATCH] Some Galaxia balancing --- DataStructures/Attunement.cs | 6 +++++- Items/Weapons/Melee/FourSeasonsGalaxia.cs | 21 +++++++------------ Projectiles/Melee/Galaxia_AndromedasStride.cs | 4 +++- Projectiles/Melee/Galaxia_AriesWrath.cs | 2 +- Projectiles/Melee/Galaxia_PolarisGaze.cs | 6 +++--- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/DataStructures/Attunement.cs b/DataStructures/Attunement.cs index aed7afc63a..6fef85f3c7 100644 --- a/DataStructures/Attunement.cs +++ b/DataStructures/Attunement.cs @@ -1,4 +1,4 @@ -using CalamityMod.Buffs.DamageOverTime; +using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Enums; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Projectiles.Melee; @@ -576,6 +576,7 @@ namespace CalamityMod.DataStructures item.shootSpeed = 12f; item.UseSound = null; item.noMelee = true; + item.reuseDelay = 30; } } @@ -600,6 +601,7 @@ namespace CalamityMod.DataStructures item.shootSpeed = 12f; item.UseSound = null; item.noMelee = true; + item.reuseDelay = 30; } } @@ -624,6 +626,7 @@ namespace CalamityMod.DataStructures item.shootSpeed = 12f; item.UseSound = null; item.noMelee = true; + item.reuseDelay = 10; } } @@ -649,6 +652,7 @@ namespace CalamityMod.DataStructures item.shootSpeed = 12f; item.UseSound = null; item.noMelee = true; + item.reuseDelay = 30; } } diff --git a/Items/Weapons/Melee/FourSeasonsGalaxia.cs b/Items/Weapons/Melee/FourSeasonsGalaxia.cs index 102141adc6..d52d93adad 100644 --- a/Items/Weapons/Melee/FourSeasonsGalaxia.cs +++ b/Items/Weapons/Melee/FourSeasonsGalaxia.cs @@ -40,34 +40,27 @@ namespace CalamityMod.Items.Weapons.Melee public static float PhoenixAttunement_FullChargeDamageBoost = 2.1f; public static float PhoenixAttunement_ThrowDamageBoost = 3.2f; - public static int PolarisAttunement_BaseDamage = 350; - public static int PolarisAttunement_FullChargeDamage = 600; + public static int PolarisAttunement_BaseDamage = 400; + public static int PolarisAttunement_FullChargeDamage = 630; public static int PolarisAttunement_ShredIFrames = 10; public static int PolarisAttunement_LocalIFrames = 30; //Be warned its got one extra update so all the iframes should be divided in 2 public static int PolarisAttunement_LocalIFramesCharged = 16; public static float PolarisAttunement_SlashDamageBoost = 6f; //Keep in mind the slice always crits public static int PolarisAttunement_SlashIFrames = 20; public static float PolarisAttunement_ShotDamageBoost = 0.8f; //The shots fired if the dash connects - public static float PolarisAttunement_ShredChargeupGain = 1f; //How much charge is gainted per second. + public static float PolarisAttunement_ShredChargeupGain = 1f; //How much charge is gained per second. - public static int AndromedaAttunement_BaseDamage = 1200; + public static int AndromedaAttunement_BaseDamage = 1120; public static int AndromedaAttunement_DashHitIFrames = 20; - public static float AndromedaAttunement_FullChargeBoost = 6f; //The EXTRA damage boost. So putting 1 here will make it deal double damage. Putting 0.5 here will make it deal 1.5x the damage. + public static float AndromedaAttunement_FullChargeMult = 3.5f; //The maxmimum damage multiplier of the lunge. Note that the lunge always crits. public static float AndromedaAttunement_StarDamageMultiplier = 1f; - public static float AndromedaAttunement_ChargeupBoltDamageMultiplier = 0.2f; //The shots fired as it charges + public static float AndromedaAttunement_ChargeupBoltDamageMultiplier = 0.2f; //Damage of shots fired as it charges - public static int AriesAttunement_BaseDamage = 300; + public static int AriesAttunement_BaseDamage = 375; public static int AriesAttunement_LocalIFrames = 10; public static int AriesAttunement_Reach = 650; public static float AriesAttunement_ChainDamageReduction = 0.2f; public static float AriesAttunement_OnHitBoltDamageReduction = 0.5f; - - public static int CancerPassiveDamage = 725; - public static int CancerPassiveLifeSteal = 3; - public static float CancerPassiveLifeStealProc = 0.4f; - public static int CapricornPassiveDebuffTime = 200; - - #endregion public override string Texture => "CalamityMod/Items/Weapons/Melee/Galaxia"; //Base sprite for stuff like item browser and shit. yeah diff --git a/Projectiles/Melee/Galaxia_AndromedasStride.cs b/Projectiles/Melee/Galaxia_AndromedasStride.cs index 83953994bc..969bd3ddea 100644 --- a/Projectiles/Melee/Galaxia_AndromedasStride.cs +++ b/Projectiles/Melee/Galaxia_AndromedasStride.cs @@ -218,7 +218,9 @@ namespace CalamityMod.Projectiles.Melee public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { - modifiers.SourceDamage *= 1f + FourSeasonsGalaxia.AndromedaAttunement_FullChargeBoost * (float)Math.Pow(Charge / MaxCharge, 2); + // Lunge always critically strikes + modifiers.SetCrit(); + modifiers.SourceDamage *= (FourSeasonsGalaxia.AndromedaAttunement_FullChargeMult * (float)Math.Pow(Charge / MaxCharge, 2)); } public override bool PreDraw(ref Color lightColor) diff --git a/Projectiles/Melee/Galaxia_AriesWrath.cs b/Projectiles/Melee/Galaxia_AriesWrath.cs index 01b0079f53..390b306607 100644 --- a/Projectiles/Melee/Galaxia_AriesWrath.cs +++ b/Projectiles/Melee/Galaxia_AriesWrath.cs @@ -120,7 +120,7 @@ namespace CalamityMod.Projectiles.Melee { if (Owner.CantUseHoldout() || Owner.HeldItem.type != ItemType()) { - //Kill the projectile if too far away from the player or close enough to get "re-absorbed) + // Kill the projectile if too far away from the player or close enough to get "re-absorbed") if ((Owner.Center - Projectile.Center).Length() < 30f || (Owner.Center - Projectile.Center).Length() > 2000f || Projectile.velocity.Length() > 100f) Projectile.Kill(); diff --git a/Projectiles/Melee/Galaxia_PolarisGaze.cs b/Projectiles/Melee/Galaxia_PolarisGaze.cs index bcb136aa46..cd526e98c4 100644 --- a/Projectiles/Melee/Galaxia_PolarisGaze.cs +++ b/Projectiles/Melee/Galaxia_PolarisGaze.cs @@ -129,12 +129,12 @@ namespace CalamityMod.Projectiles.Melee if (Main.rand.NextBool()) { Vector2 smokeSpeed = direction.RotatedByRandom(MathHelper.PiOver4 * 0.3f) * Main.rand.NextFloat(10f, 30f) * (ShredRatio * 0.5f + 1f); - Particle smoke = new HeavySmokeParticle(Projectile.Center, smokeSpeed + Owner.velocity, Color.Lerp(Color.Purple, Color.Indigo, (float)Math.Sin(Main.GlobalTimeWrappedHourly * 6f)), 30, Main.rand.NextFloat(0.6f, 1.2f) * (ShredRatio * 0.5f + 1f), 0.8f, 0, false, 0, true); + Particle smoke = new HeavySmokeParticle(Projectile.Center, smokeSpeed + Owner.velocity, Color.Lerp(Color.Purple, Color.Indigo, (float)Math.Sin(Main.GlobalTimeWrappedHourly * 6f)), 30, Main.rand.NextFloat(0.5f, 1f) * (ShredRatio * 0.5f + 1f), 0.6f, 0, false, 0, true); GeneralParticleHandler.SpawnParticle(smoke); if (Main.rand.NextBool(3)) { - Particle smokeGlow = new HeavySmokeParticle(Projectile.Center, smokeSpeed + Owner.velocity, Main.hslToRgb(0.55f, 1, 0.5f + 0.2f * ShredRatio), 20, Main.rand.NextFloat(0.4f, 0.7f) * (ShredRatio * 0.5f + 1f), 0.8f, 0, true, 0.01f, true); + Particle smokeGlow = new HeavySmokeParticle(Projectile.Center, smokeSpeed + Owner.velocity, Main.hslToRgb(0.55f, 1, 0.5f + 0.2f * ShredRatio), 20, Main.rand.NextFloat(0.35f, 0.6f) * (ShredRatio * 0.5f + 1f), 0.6f, 0, true, 0.01f, true); GeneralParticleHandler.SpawnParticle(smokeGlow); } } @@ -153,7 +153,7 @@ namespace CalamityMod.Projectiles.Melee //Scaling based on shred Projectile.localNPCHitCooldown = FourSeasonsGalaxia.PolarisAttunement_LocalIFrames - (int)(MathHelper.Lerp(0, FourSeasonsGalaxia.PolarisAttunement_LocalIFrames - FourSeasonsGalaxia.PolarisAttunement_LocalIFramesCharged, ShredRatio)); //Increase the hit frequency - Projectile.scale = 1f + (ShredRatio * 1f); //SWAGGER + Projectile.scale = 1f + (ShredRatio * 1.5f); //SWAGGER if ((Wheel == null || !Wheel.active) && Dashing)