Post-Golem gun + ammo balancing

This commit is contained in:
CongratsIsTrash committed 2024-05-25 01:59:09 -04:00
1 parent 06253eb887
commit efb4ded73a
6 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Ammo
{
public new string LocalizationCategory => "Items.Ammo";
public static int SplitBulletBonusDamage = 10;
public static int SplitBulletBonusDamage = 16;
public override void SetStaticDefaults()
{
+3 -3
View File
@@ -14,10 +14,10 @@ namespace CalamityMod.Items.Weapons.Ranged
{
Item.width = 82;
Item.height = 28;
Item.damage = 80;
Item.damage = 77;
Item.DamageType = DamageClass.Ranged;
Item.useTime = 9;
Item.useAnimation = 9;
Item.useTime = 10;
Item.useAnimation = 10;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 5f;
+4 -4
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
Item.width = 76;
Item.height = 32;
Item.damage = 50;
Item.damage = 54;
Item.DamageType = DamageClass.Ranged;
Item.useTime = 22;
Item.useAnimation = 22;
@@ -35,11 +35,11 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
int numBullets = Main.rand.NextBool() ? 4 : 3;
int numBullets = 4;
for (int index = 0; index < numBullets; ++index)
{
float SpeedX = velocity.X + Main.rand.Next(-75, 76) * 0.05f;
float SpeedY = velocity.Y + Main.rand.Next(-75, 76) * 0.05f;
float SpeedX = velocity.X + (index == 0 ? 0 : Main.rand.Next(-75, 76) * 0.05f);
float SpeedY = velocity.Y + (index == 0 ? 0 : Main.rand.Next(-75, 76) * 0.05f);
if (type == ProjectileID.Bullet)
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<RealmRavagerBullet>(), damage, knockback, player.whoAmI);
+2 -2
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Ranged
rotIncrease += 0.1f * (rotDirection ? -1 : 1);
Projectile.velocity *= 0.982f;
Projectile.velocity *= 0.984f;
if (Projectile.localAI[0] > 100f && Projectile.localAI[0] < 300 && Projectile.localAI[0] % 9 == 0)
{
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Ranged
WaterFlavoredParticle subTrail = new WaterFlavoredParticle(Projectile.Center + velocity * 4.5f + addedPlacement, velocity * 7, false, 6, 0.65f, Color.SkyBlue);
GeneralParticleHandler.SpawnParticle(subTrail);
}
int onHitDamage = Owner.CalcIntDamage<RangedDamageClass>(0.36f * Projectile.damage);
int onHitDamage = (int)(Projectile.damage * 0.5f);
Owner.ApplyDamageToNPC(target, onHitDamage, 0f, 0, false);
}
}
+2 -2
View File
@@ -108,7 +108,7 @@ namespace CalamityMod.Projectiles.Ranged
{
for (int b = 0; b < 3; b++)
{
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, -oldVelocity.RotatedByRandom(0.5f) * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.35), 0f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, -oldVelocity.RotatedByRandom(0.5f) * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.1), 0f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
}
}
return true;
@@ -130,7 +130,7 @@ namespace CalamityMod.Projectiles.Ranged
for (int b = 0; b < 3; b++)
{
Vector2 velocity = Projectile.velocity.RotatedByRandom(0.5f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.15), Projectile.knockBack * 2f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.1), Projectile.knockBack * 2f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
}
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Ranged
Projectile.penetrate = -1;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 10;
Projectile.damage /= 2;
Projectile.damage /= 3;
Projectile.Damage();
}
}