Levi Amber and Slag Pauldron buffs
Levi amber dash velocity increased to 20% and reduced dash delay by 33% but no longer gives dr while dashing. Slag Pauldron gives 10% dr while dashing instead of 5% and inflicts armor crunch instead of brimstone flames when you directly hit with the dash effect.
This commit is contained in:
1 parent
35e7b6416c
commit
2bedc44646
4 files changed
+14
-11
No files matched your search
@@ -229,12 +229,14 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (lAmbergris)
|
||||
{
|
||||
if (Player.miscCounter % 3 == 2 && Player.dashDelay > 0) // Reduced dash cooldown by 33%
|
||||
Player.dashDelay--;
|
||||
|
||||
if (Player.dashDelay == -1)// TODO: prevent working with special dashes, this was inconsitent with my old solution so I didn't keep it. not huge deal)
|
||||
{
|
||||
Player.endurance += 0.05f;
|
||||
if (!HasIncreasedDashFirstFrame)
|
||||
{
|
||||
Player.velocity.X *= 1.15f;
|
||||
Player.velocity.X *= 1.2f;
|
||||
Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center + Player.velocity * 1.5f, Vector2.Zero, ModContent.ProjectileType<LeviAmberDash>(), 75, 20f, Player.whoAmI);
|
||||
HasIncreasedDashFirstFrame = true;
|
||||
}
|
||||
@@ -255,10 +257,10 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
float sparkscale = (Player.velocity.X * Player.direction * 0.07f);
|
||||
Vector2 SparkVelocity1 = Player.velocity.RotatedBy(Player.direction * 2, default) * 0.1f - Player.velocity / 2f;
|
||||
SparkParticle spark = new SparkParticle(Player.Center + Player.velocity.RotatedBy(2f * Player.direction) * 1.5f, SparkVelocity1, false, Main.rand.Next(11, 13), sparkscale, Main.rand.NextBool() ? Color.DarkTurquoise : Color.DodgerBlue);
|
||||
LineParticle spark = new LineParticle(Player.Center + Player.velocity.RotatedBy(2f * Player.direction) * 1.5f, SparkVelocity1, false, Main.rand.Next(11, 13), sparkscale, Main.rand.NextBool() ? Color.DarkTurquoise : Color.DodgerBlue);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
Vector2 SparkVelocity2 = Player.velocity.RotatedBy(Player.direction * -2, default) * 0.1f - Player.velocity / 2f;
|
||||
SparkParticle spark2 = new SparkParticle(Player.Center + Player.velocity.RotatedBy(-2f * Player.direction) * 1.5f, SparkVelocity2, false, Main.rand.Next(11, 13), sparkscale, Main.rand.NextBool() ? Color.DarkTurquoise : Color.DodgerBlue);
|
||||
LineParticle spark2 = new LineParticle(Player.Center + Player.velocity.RotatedBy(-2f * Player.direction) * 1.5f, SparkVelocity2, false, Main.rand.Next(11, 13), sparkscale, Main.rand.NextBool() ? Color.DarkTurquoise : Color.DodgerBlue);
|
||||
GeneralParticleHandler.SpawnParticle(spark2);
|
||||
}
|
||||
if (Player.miscCounter % 4 == 0 && Player.velocity != Vector2.Zero) //every other frame spawn the hitbox
|
||||
@@ -272,7 +274,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
if (Player.dashDelay == -1)// TODO: prevent working with special dashes, this was inconsitent with my old solution so I didn't keep it. not huge deal)
|
||||
{
|
||||
Player.endurance += 0.05f;
|
||||
Player.endurance += 0.1f;
|
||||
if (!HasReducedDashFirstFrame) // Dash isn't reduced, this is used to determine the first frame of dashing
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.DD2_BetsyFireballImpact with { Volume = 0.4f , PitchVariance = 0.4f }, Player.Center);
|
||||
|
||||
@@ -1001,8 +1001,8 @@ LeviathanAmbergris: {
|
||||
DisplayName: Leviathan Ambergris
|
||||
Tooltip:
|
||||
'''
|
||||
15% increased dash velocity
|
||||
You gain 5% damage reduction while dashing
|
||||
20% increased dash velocity
|
||||
Delay after dashing is reduced by 33%
|
||||
Your dashes are empowered by water, knocking back and damaging nearby enemies with viscous currents
|
||||
'''
|
||||
}
|
||||
@@ -1543,7 +1543,8 @@ SlagsplitterPauldron: {
|
||||
DisplayName: Slagsplitter Pauldron
|
||||
Tooltip:
|
||||
'''
|
||||
You gain 5% damage reduction while dashing
|
||||
You gain 10% damage reduction while dashing
|
||||
Enemies you dash through are afflicted with Armor Crunch
|
||||
Your dashes are empowered by fire, shredding enemies near you with violent explosions
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
target.velocity.X += 4.2f * Owner.direction;
|
||||
}
|
||||
target.AddBuff(BuffID.Wet, 300);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DamageOverTime.RiptideDebuff>(), 60);
|
||||
SoundEngine.PlaySound(SoundID.Item85 with { Volume = 0.6f, PitchVariance = 0.4f }, Projectile.Center);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DamageOverTime.RiptideDebuff>(), 180);
|
||||
SoundEngine.PlaySound(SoundID.Item85 with { Volume = 0.4f, PitchVariance = 0.4f }, Projectile.Center);
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
int bloodLifetime = Main.rand.Next(20, 26);
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.AddBuff(BuffID.OnFire3, 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.DamageOverTime.BrimstoneFlames>(), 240);
|
||||
target.AddBuff(ModContent.BuffType<Buffs.StatDebuffs.ArmorCrunch>(), 300);
|
||||
SoundEngine.PlaySound(SoundID.DD2_ExplosiveTrapExplode with { Volume = 0.6f, PitchVariance = 0.4f }, Projectile.Center);
|
||||
|
||||
for (int i = 0; i <= 8; i++)
|
||||
|
||||
Reference in new issue
Block a user