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)
This commit is contained in:
Storm2103 committed 2023-01-20 12:50:20 -06:00
1 parent 52c5628f06
commit 2eec2e5434
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -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<StormfrontRazorProjectile>();
Item.shootSpeed = 8f;
+3 -3
View File
@@ -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)
@@ -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);