From 2eec2e5434e0e232b2eefaec34401e862eacb435 Mon Sep 17 00:00:00 2001 From: Storm2103 Date: Fri, 20 Jan 2023 12:50:20 -0600 Subject: [PATCH] Balancing Stormfront Razor (spam) Damage buffed to 43 from 25 Nerfed lightning Electrified duration from 3 seconds to 2 Knife can now inflict electrified for 45 frames Lighting now emits a cyan light instead of white (works as long as you don't have most flasks as their particles' light overwrite it) --- Items/Weapons/Rogue/StormfrontRazor.cs | 2 +- Projectiles/Rogue/StormfrontLightning.cs | 6 +++--- Projectiles/Rogue/StormfrontRazorProjectile.cs | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Items/Weapons/Rogue/StormfrontRazor.cs b/Items/Weapons/Rogue/StormfrontRazor.cs index be99715062..218083c3fb 100644 --- a/Items/Weapons/Rogue/StormfrontRazor.cs +++ b/Items/Weapons/Rogue/StormfrontRazor.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Rogue Item.rare = ItemRarityID.Pink; Item.useAnimation = 20; Item.useTime = 20; - Item.damage = 25; + Item.damage = 43; Item.knockBack = 7f; Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 8f; diff --git a/Projectiles/Rogue/StormfrontLightning.cs b/Projectiles/Rogue/StormfrontLightning.cs index 6f01dfc57e..186dafd780 100644 --- a/Projectiles/Rogue/StormfrontLightning.cs +++ b/Projectiles/Rogue/StormfrontLightning.cs @@ -98,7 +98,7 @@ namespace CalamityMod.Projectiles.Rogue HasPlayedSound = true; } - Lighting.AddLight(Projectile.Center, Color.White.ToVector3()); + Lighting.AddLight(Projectile.Center, new Color(Main.rand.Next(20, 100), 204, 250).ToVector3()); if (Projectile.frameCounter >= Projectile.extraUpdates * 2) { Projectile.frameCounter = 0; @@ -174,13 +174,13 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { SoundEngine.PlaySound(SoundID.Item93, Projectile.position); - target.AddBuff(BuffID.Electrified, 180); + target.AddBuff(BuffID.Electrified, 120); } public override void OnHitPvp(Player target, int damage, bool crit) { SoundEngine.PlaySound(SoundID.Item93, Projectile.position); - target.AddBuff(BuffID.Electrified, 180); + target.AddBuff(BuffID.Electrified, 120); } public override bool PreDraw(ref Color lightColor) diff --git a/Projectiles/Rogue/StormfrontRazorProjectile.cs b/Projectiles/Rogue/StormfrontRazorProjectile.cs index 878d087a26..20870365f2 100644 --- a/Projectiles/Rogue/StormfrontRazorProjectile.cs +++ b/Projectiles/Rogue/StormfrontRazorProjectile.cs @@ -62,6 +62,7 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { + target.AddBuff(BuffID.Electrified, 45); if (Main.rand.NextBool(10)) { int d = Dust.NewDust(Projectile.Center, Projectile.width, Projectile.height, 226, 0f, 0f, 100, new Color(Main.rand.Next(20, 100), 204, 250), 1f); @@ -93,6 +94,7 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitPvp(Player target, int damage, bool crit) { + target.AddBuff(BuffID.Electrified, 45); if (Main.rand.NextBool(10)) { int d = Dust.NewDust(Projectile.Center, Projectile.width, Projectile.height, 226, 0f, 0f, 100, new Color(Main.rand.Next(20,100), 204, 250), 1f);