damage fixes and weapon balancing

This commit is contained in:
termigator1359 committed 2019-12-07 21:30:46 -05:00
1 parent ddee313bd0
commit 704a0106b9
12 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SafeSetDefaults()
{
item.width = 42;
item.damage = 350;
item.damage = 438;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 15;
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<JawsProjectile>();
item.shootSpeed = 20f;
item.shootSpeed = 25f;
item.Calamity().postMoonLordRarity = 13;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SafeSetDefaults()
{
item.width = 36;
item.damage = 70;
item.damage = 94;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 10;
+1 -1
View File
@@ -20,7 +20,7 @@ Stealth strikes don't slow down and souls always deal full damage");
public override void SafeSetDefaults()
{
item.damage = 150;
item.damage = 75;
item.knockBack = 5f;
item.width = 62;
+1 -1
View File
@@ -105,7 +105,7 @@ namespace CalamityMod.Projectiles.Magic
// Spawn a Helium Flash on impact
int type = ModContent.ProjectileType<HeliumFlashBlast>();
int damage = HeliumFlash.BaseDamage;
int damage = projectile.damage;
float kb = 9.5f;
Projectile.NewProjectile(projectile.Center, Vector2.Zero, type, damage, kb, projectile.owner, 0f, 0f);
}
+2 -2
View File
@@ -77,14 +77,14 @@ namespace CalamityMod.Projectiles.Rogue
{
Vector2 shrapnelVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-3, 12f))).RotatedByRandom((double)MathHelper.ToRadians(30f));
Projectile.NewProjectile(projectile.Center, projectile.velocity + shrapnelVelocity,
ModContent.ProjectileType<BarrelShrapnel>(), BlastBarrel.BaseDamage, 3f, projectile.owner);
ModContent.ProjectileType<BarrelShrapnel>(), projectile.damage, 3f, projectile.owner);
}
else
{
Vector2 fireVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-3, 12f))).RotatedByRandom((double)MathHelper.ToRadians(40f));
int fireIndex = Projectile.NewProjectile(projectile.Center, projectile.velocity + fireVelocity,
Main.rand.Next(ProjectileID.MolotovFire, ProjectileID.MolotovFire3 + 1),
BlastBarrel.BaseDamage, 1f, projectile.owner);
projectile.damage, 1f, projectile.owner);
Main.projectile[fireIndex].Calamity().forceRogue = true;
Main.projectile[fireIndex].penetrate = -1;
Main.projectile[fireIndex].usesLocalNPCImmunity = true;
@@ -48,7 +48,7 @@ namespace CalamityMod.Projectiles.Rogue
framesNeeded /= 6f - projectile.penetrate + 1f; //1 is to prevent division by zero. The more hits, the more afterimages
if (projectile.timeLeft % (int)framesNeeded == 0f)
{
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), CelestialReaper.BaseDamage, 2f, projectile.owner);
Projectile.NewProjectile(projectile.Center, projectile.velocity, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage, 2f, projectile.owner);
}
}
}
@@ -64,7 +64,7 @@ namespace CalamityMod.Projectiles.Rogue
for (float i = 0f; i < 7f; i += 1f)
{
float angle = MathHelper.TwoPi * i / 7f;
Projectile.NewProjectile(projectile.Center, angle.ToRotationVector2() * 12f, ModContent.ProjectileType<CelestialReaperAfterimage>(), CelestialReaper.BaseDamage, 2f, projectile.owner);
Projectile.NewProjectile(projectile.Center, angle.ToRotationVector2() * 12f, ModContent.ProjectileType<CelestialReaperAfterimage>(), projectile.damage, 2f, projectile.owner);
}
}
}
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.Rogue
Point result;
if (WorldUtils.Find(projectile.Top.ToTileCoordinates(), Searches.Chain((GenSearch)new Searches.Down(80), (GenCondition)new Conditions.IsSolid()), out result))
{
Projectile.NewProjectile(result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<BlueFlamePillar>(), ConsecratedWater.BaseDamage, 2f, projectile.owner);
Projectile.NewProjectile(result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<BlueFlamePillar>(), projectile.damage, 2f, projectile.owner);
}
}
//stealth strike
@@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Rogue
Point result;
if (WorldUtils.Find((projectile.Top + i * Main.rand.NextFloat(56f, 108f) * Vector2.UnitX).ToTileCoordinates(), Searches.Chain((GenSearch)new Searches.Down(80), (GenCondition)new Conditions.IsSolid()), out result))
{
Projectile.NewProjectile(result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<BlueFlamePillar>(), ConsecratedWater.BaseDamage, 2f, projectile.owner);
Projectile.NewProjectile(result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<BlueFlamePillar>(), projectile.damage, 2f, projectile.owner);
}
}
}
+2 -2
View File
@@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (projectile.Calamity().stealthStrike)
{
int stealthSoul = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<Phantom>(), projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f);
int stealthSoul = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<Phantom>(), (int)((float)projectile.damage * 0.75f), projectile.knockBack, projectile.owner, 0f, 0f);
Main.projectile[stealthSoul].Calamity().forceRogue = true;
Main.projectile[stealthSoul].usesLocalNPCImmunity = true;
Main.projectile[stealthSoul].localNPCHitCooldown = -2;
@@ -68,7 +68,7 @@ namespace CalamityMod.Projectiles.Rogue
{
double damageMult = 1.0;
damageMult = (double)(projectile.timeLeft) / 300.0;
double newDamage = projectile.damage * damageMult;
double newDamage = projectile.damage * damageMult * 0.75;
int soul = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<Phantom>(), (int)newDamage, projectile.knockBack, projectile.owner, 0f, 0f);
Main.projectile[soul].Calamity().forceRogue = true;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Rogue
projectile.timeLeft = 360;
projectile.tileCollide = false;
projectile.usesIDStaticNPCImmunity = true;
projectile.idStaticNPCHitCooldown = 10;
projectile.idStaticNPCHitCooldown = 15;
projectile.coldDamage = true;
projectile.Calamity().rogue = true;
+1 -1
View File
@@ -171,7 +171,7 @@ namespace CalamityMod.Projectiles.Typeless
// Three death lasers (aka "Nebula Shots") swarm the target.
int laserID = ModContent.ProjectileType<NebulaShot>();
int laserDamage = (int)(0.2f * GalaxySmasherMelee.BaseDamage);
int laserDamage = (int)(0.2f * projectile.damage);
float laserKB = 2.5f;
int numLasers = 3;
for (int i = 0; i < numLasers; ++i)
+1 -1
View File
@@ -144,7 +144,7 @@ namespace CalamityMod.Projectiles.Typeless
private void SpawnEnergyBlade()
{
int bladeID = ModContent.ProjectileType<NanoblackSplit>();
int bladeDamage = NanoblackReaperMelee.BaseDamage / 5;
int bladeDamage = projectile.damage / 5;
float bladeKB = 3f;
float spin = (projectile.direction <= 0) ? -1f : 1f;
float d = 16f;
@@ -150,7 +150,7 @@ namespace CalamityMod.Projectiles.Typeless
projectile.netUpdate = true;
int numFlares = 2;
int flareDamage = (int)(0.3f * StellarContemptMelee.BaseDamage);
int flareDamage = (int)(0.3f * projectile.damage);
float flareKB = 4f;
for (int i = 0; i < numFlares; ++i)
{