weapon balancing
2.0999
This commit is contained in:
1 parent
a7f536dbdc
commit
d23219e39d
4 files changed
+17
-23
No files matched your search
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 130;
|
||||
item.damage = 120;
|
||||
item.crit += 25;
|
||||
item.ranged = true;
|
||||
item.width = 40;
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
{
|
||||
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BigNuke>(), (int)((double)damage * 2.5), knockBack, player.whoAmI, 0.0f, 0.0f);
|
||||
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BigNuke>(), (int)((double)damage * 2.0999), knockBack, player.whoAmI, 0.0f, 0.0f);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 160;
|
||||
item.damage = 150;
|
||||
item.ranged = true;
|
||||
item.width = 96;
|
||||
item.height = 40;
|
||||
|
||||
@@ -64,6 +64,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
projectile.penetrate = -1;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 10;
|
||||
projectile.damage /= 2;
|
||||
projectile.Damage();
|
||||
Main.PlaySound(2, (int)projectile.Center.X, (int)projectile.Center.Y, 14);
|
||||
for (int num621 = 0; num621 < 90; num621++)
|
||||
@@ -96,29 +97,22 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
scaleFactor10 = 1f;
|
||||
}
|
||||
int num626 = Gore.NewGore(new Vector2(projectile.position.X + (float)(projectile.width / 2) - 24f, projectile.position.Y + (float)(projectile.height / 2) - 24f), default, Main.rand.Next(61, 64), 1f);
|
||||
Main.gore[num626].velocity *= scaleFactor10;
|
||||
Gore expr_13AB6_cp_0 = Main.gore[num626];
|
||||
expr_13AB6_cp_0.velocity.X += 1f;
|
||||
Gore expr_13AD6_cp_0 = Main.gore[num626];
|
||||
expr_13AD6_cp_0.velocity.Y += 1f;
|
||||
Gore gore = Main.gore[num626];
|
||||
gore.velocity *= scaleFactor10;
|
||||
gore.velocity.X += 1f;
|
||||
gore.velocity.Y += 1f;
|
||||
num626 = Gore.NewGore(new Vector2(projectile.position.X + (float)(projectile.width / 2) - 24f, projectile.position.Y + (float)(projectile.height / 2) - 24f), default, Main.rand.Next(61, 64), 1f);
|
||||
Main.gore[num626].velocity *= scaleFactor10;
|
||||
Gore expr_13B79_cp_0 = Main.gore[num626];
|
||||
expr_13B79_cp_0.velocity.X -= 1f;
|
||||
Gore expr_13B99_cp_0 = Main.gore[num626];
|
||||
expr_13B99_cp_0.velocity.Y += 1f;
|
||||
gore.velocity *= scaleFactor10;
|
||||
gore.velocity.X -= 1f;
|
||||
gore.velocity.Y += 1f;
|
||||
num626 = Gore.NewGore(new Vector2(projectile.position.X + (float)(projectile.width / 2) - 24f, projectile.position.Y + (float)(projectile.height / 2) - 24f), default, Main.rand.Next(61, 64), 1f);
|
||||
Main.gore[num626].velocity *= scaleFactor10;
|
||||
Gore expr_13C3C_cp_0 = Main.gore[num626];
|
||||
expr_13C3C_cp_0.velocity.X += 1f;
|
||||
Gore expr_13C5C_cp_0 = Main.gore[num626];
|
||||
expr_13C5C_cp_0.velocity.Y -= 1f;
|
||||
gore.velocity *= scaleFactor10;
|
||||
gore.velocity.X += 1f;
|
||||
gore.velocity.Y -= 1f;
|
||||
num626 = Gore.NewGore(new Vector2(projectile.position.X + (float)(projectile.width / 2) - 24f, projectile.position.Y + (float)(projectile.height / 2) - 24f), default, Main.rand.Next(61, 64), 1f);
|
||||
Main.gore[num626].velocity *= scaleFactor10;
|
||||
Gore expr_13CFF_cp_0 = Main.gore[num626];
|
||||
expr_13CFF_cp_0.velocity.X -= 1f;
|
||||
Gore expr_13D1F_cp_0 = Main.gore[num626];
|
||||
expr_13D1F_cp_0.velocity.Y -= 1f;
|
||||
gore.velocity *= scaleFactor10;
|
||||
gore.velocity.X -= 1f;
|
||||
gore.velocity.Y -= 1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user