nerfs
This commit is contained in:
1 parent
edf60fb883
commit
30c8d1d53a
9 files changed
+23
-18
No files matched your search
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 50;
|
||||
item.damage = 130;
|
||||
item.damage = 100;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
item.autoReuse = true;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 60;
|
||||
item.damage = 100;
|
||||
item.damage = 98;
|
||||
item.melee = true;
|
||||
item.useAnimation = 25;
|
||||
item.useTime = 25;
|
||||
@@ -74,8 +74,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
num80 = num72 / num80;
|
||||
}
|
||||
|
||||
int num107 = 2;
|
||||
for (int num108 = 0; num108 < num107; num108++)
|
||||
for (int num108 = 0; num108 < Main.rand.Next(1,3); num108++)
|
||||
{
|
||||
vector2 = new Vector2(player.position.X + (float)player.width * 0.5f + (float)(Main.rand.Next(201) * -(float)player.direction) + ((float)Main.mouseX + Main.screenPosition.X - player.position.X), player.MountedCenter.Y - 600f);
|
||||
vector2.X = (vector2.X + player.Center.X) / 2f + (float)Main.rand.Next(-200, 201);
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
item.width = 50;
|
||||
item.height = 48;
|
||||
item.damage = 112;
|
||||
item.damage = 100;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
item.autoReuse = true;
|
||||
|
||||
@@ -16,17 +16,17 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Luminous Striker");
|
||||
Tooltip.SetDefault("Throws a stardust javelin trailed by rising stardust shards\n"
|
||||
Tooltip.SetDefault("Send the stars back to where they belong\n"
|
||||
+"Throws a stardust javelin trailed by rising stardust shards\n"
|
||||
+"Explodes into additional stardust shards upon hitting enemies\n"
|
||||
+"Stealth Strikes cause the stardust shards to fly alongside the javelin instead of rising\n"
|
||||
+"'Send the stars back to where they belong'");
|
||||
+"Stealth Strikes cause the stardust shards to fly alongside the javelin instead of rising");
|
||||
}
|
||||
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
item.width = 86;
|
||||
item.height = 102;
|
||||
item.damage = 135;
|
||||
item.damage = 149;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
item.useAnimation = 30;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
item.width = 48;
|
||||
item.damage = 360;
|
||||
item.damage = 280;
|
||||
item.noMelee = true;
|
||||
item.consumable = true;
|
||||
item.noUseGraphic = true;
|
||||
|
||||
@@ -30,6 +30,9 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (projectile.ai[0] == 1f) //(True) Ark of the Ancients
|
||||
projectile.penetrate = 2;
|
||||
|
||||
Lighting.AddLight(projectile.Center, (255 - projectile.alpha) * 0.3f / 255f, (255 - projectile.alpha) * 0.4f / 255f, (255 - projectile.alpha) * 1f / 255f);
|
||||
if (projectile.localAI[1] > 7f)
|
||||
{
|
||||
|
||||
@@ -30,6 +30,9 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (projectile.ai[0] == 1f) //True Ark of the Ancients
|
||||
projectile.penetrate = 2;
|
||||
|
||||
Lighting.AddLight(projectile.Center, (255 - projectile.alpha) * 0.3f / 255f, (255 - projectile.alpha) * 0.4f / 255f, (255 - projectile.alpha) * 1f / 255f);
|
||||
if (projectile.localAI[1] > 7f)
|
||||
{
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.AddBuff(BuffID.CursedInferno, 300);
|
||||
target.AddBuff(BuffID.CursedInferno, 180);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
public override void AI()
|
||||
{
|
||||
CalamityPlayer modPlayer = Main.player[projectile.owner].Calamity();
|
||||
if(projectile.ai[0] == 0f && modPlayer.StealthStrikeAvailable())
|
||||
if (projectile.ai[0] == 0f && modPlayer.StealthStrikeAvailable())
|
||||
{
|
||||
projectile.Calamity().stealthStrike = true;
|
||||
stealthStrike = true;
|
||||
@@ -43,7 +43,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
|
||||
shardRainTimer--;
|
||||
if (Main.rand.Next(4) == 0)
|
||||
if (Main.rand.NextBool(4))
|
||||
Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 176, projectile.velocity.X * 0.5f, projectile.velocity.Y * 0.5f);
|
||||
|
||||
projectile.rotation = (float)Math.Atan2((double)projectile.velocity.Y, (double)projectile.velocity.X) + 0.785f;
|
||||
@@ -52,12 +52,12 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
{
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
{
|
||||
if(stealthStrike)
|
||||
if (stealthStrike)
|
||||
{
|
||||
Projectile.NewProjectile(projectile.Center.X + Main.rand.NextFloat(-15f, 15f), projectile.Center.Y + Main.rand.NextFloat(-15f, 15f), projectile.velocity.X, projectile.velocity.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.5), projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X + Main.rand.NextFloat(-15f, 15f), projectile.Center.Y + Main.rand.NextFloat(-15f, 15f), projectile.velocity.X, projectile.velocity.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.25), projectile.knockBack * 0.25f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
else
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, projectile.velocity.X * 0f, -2f, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.5), projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, projectile.velocity.X * 0f, -2f, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.25), projectile.knockBack * 0.25f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
shardRainTimer = 4;
|
||||
}
|
||||
@@ -82,7 +82,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
speed.Normalize();
|
||||
speed *= ((float)Main.rand.Next(30, 61) * 0.1f) * 2f;
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speed.X, speed.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.5), projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speed.X, speed.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.25), projectile.knockBack * 0.25f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
speed.Normalize();
|
||||
speed *= ((float)Main.rand.Next(30, 61) * 0.1f) * 2f;
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speed.X, speed.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.5), projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speed.X, speed.Y, ModContent.ProjectileType<LuminousShard>(), (int)((double)projectile.damage * 0.25), projectile.knockBack * 0.25f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user