weapon balancing

This commit is contained in:
termigator1359 committed 2019-12-29 21:45:07 -05:00
1 parent a063c773f1
commit df61c2fb54
6 files changed
+16 -15

No files matched your search

+3 -3
View File
@@ -24,12 +24,12 @@ namespace CalamityMod.Items.Weapons.Melee
{
item.useStyle = 3;
item.useTurn = false;
item.useAnimation = 23;
item.useTime = 23;
item.useAnimation = 18;
item.useTime = 18;
item.width = 44;
item.height = 44;
item.damage = 720;
item.damage = 920;
item.melee = true;
item.knockBack = 9f;
+1 -1
View File
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.Melee
{
public class DragonPow : ModItem
{
public static int BaseDamage = 6000;
public static int BaseDamage = 4400;
public static float Speed = 13f;
public static float ReturnSpeed = 20f;
public static float SparkSpeed = 0.6f;
+4 -3
View File
@@ -40,13 +40,14 @@ namespace CalamityMod.Items.Weapons.Rogue
{
if (player.Calamity().StealthStrikeAvailable()) //setting the stealth strike
{
int spread = 4;
for (int i = 0; i < 5; i++)
int spread = 10;
for (int i = 0; i < 3; i++)
{
Vector2 perturbedspeed = new Vector2(speedX + Main.rand.Next(-3,4), speedY + Main.rand.Next(-3,4)).RotatedBy(MathHelper.ToRadians(spread));
int proj = Projectile.NewProjectile(position.X, position.Y, perturbedspeed.X, perturbedspeed.Y, type, damage / 2, knockBack, player.whoAmI, 0f, 0f);
Main.projectile[proj].Calamity().stealthStrike = true;
spread -= Main.rand.Next(1,4);
Main.projectile[proj].penetrate = 6;
spread -= Main.rand.Next(5,8);
}
return false;
}
+3 -3
View File
@@ -20,12 +20,12 @@ Stealth strikes leak tar as they fly");
public override void SafeSetDefaults()
{
item.width = 30;
item.damage = 47;
item.damage = 55;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 25;
item.useAnimation = 24;
item.useStyle = 1;
item.useTime = 25;
item.useTime = 24;
item.knockBack = 5f;
item.UseSound = SoundID.Item106;
item.autoReuse = true;
+1 -1
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.Rogue
Vector2 value17 = new Vector2((float)Main.rand.Next(-100, 101), (float)Main.rand.Next(-100, 101));
value17.Normalize();
value17 *= (float)Main.rand.Next(10, 201) * 0.01f;
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value17.X, value17.Y, ModContent.ProjectileType<DesecratedBubble>(), (int)(projectile.damage * 0.7), 1f, projectile.owner, (projectile.Calamity().stealthStrike ? 1f : 0f), 1f);
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value17.X, value17.Y, ModContent.ProjectileType<DesecratedBubble>(), (int)(projectile.damage * 0.5), 1f, projectile.owner, (projectile.Calamity().stealthStrike ? 1f : 0f), 1f);
}
}
}
+4 -4
View File
@@ -24,8 +24,6 @@ namespace CalamityMod.Projectiles.Rogue
projectile.aiStyle = 68;
projectile.timeLeft = 180;
projectile.Calamity().rogue = true;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = -1;
}
public override void AI()
@@ -37,7 +35,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (projectile.owner == Main.myPlayer)
{
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, projectile.velocity.X * 0f, projectile.velocity.Y * 0f, ModContent.ProjectileType<TotalityTar>(), (int)((double)projectile.damage * 0.5), projectile.knockBack, projectile.owner, 0f, 0f);
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, projectile.velocity.X * 0f, projectile.velocity.Y * 0f, ModContent.ProjectileType<TotalityTar>(), (int)((double)projectile.damage * 0.6), projectile.knockBack, projectile.owner, 0f, 0f);
}
tarTimer = 10;
}
@@ -60,6 +58,8 @@ namespace CalamityMod.Projectiles.Rogue
public override void Kill(int timeLeft)
{
Main.PlaySound(13, (int) projectile.position.X, (int) projectile.position.Y, 1, 1f, 0.0f);
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
Vector2 vector2 = new Vector2(20f, 20f);
for (int index = 0; index < 5; ++index)
Dust.NewDust(projectile.Center - vector2 / 2f, (int) vector2.X, (int) vector2.Y, 191, 0.0f, 0.0f, 0, Color.Red, 1f);
@@ -91,7 +91,7 @@ namespace CalamityMod.Projectiles.Rogue
}
value15.Normalize();
value15 *= (float)Main.rand.Next(70, 101) * 0.1f;
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value15.X, value15.Y, ModContent.ProjectileType<TotalityTar>(), (int)((double)projectile.damage * 0.5), 0f, Main.myPlayer, 0f, 0f);
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value15.X, value15.Y, ModContent.ProjectileType<TotalityTar>(), (int)((double)projectile.damage * 0.6), 0f, Main.myPlayer, 0f, 0f);
}
}
}