Some Galaxia balancing

This commit is contained in:
CongratsIsTrash committed 2024-11-16 00:59:39 -05:00
1 parent 602babea57
commit a2c4affc27
5 files changed
+19 -20

No files matched your search

+5 -1
View File
@@ -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;
}
}
+7 -14
View File
@@ -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
@@ -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)
+1 -1
View File
@@ -120,7 +120,7 @@ namespace CalamityMod.Projectiles.Melee
{
if (Owner.CantUseHoldout() || Owner.HeldItem.type != ItemType<FourSeasonsGalaxia>())
{
//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();
+3 -3
View File
@@ -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)