Hypothermia spam nerfed by 5%, SS no longer broken, fixed shard split math

This commit is contained in:
Ozzatron committed 2021-06-14 01:10:04 -04:00
1 parent 10494c8bf6
commit 12d59da0ce
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = ItemRarityID.Red;
item.damage = 206;
item.damage = 197;
item.useAnimation = 21;
item.useTime = 3;
item.reuseDelay = 1;
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
if (player.Calamity().StealthStrikeAvailable())
{
int stealthDamage = (int)(damage * 7f); // was 2.635x
int stealthDamage = (int)(damage * 2.5f); // was 2.635x
for (int i = 0; i < 4; ++i)
{
Vector2 chunkVelocity = new Vector2(speedX, speedY).RotatedByRandom(0.07f) * Main.rand.NextFloat(1.1f, 1.18f);
+3 -2
View File
@@ -58,10 +58,11 @@ namespace CalamityMod.Projectiles.Rogue
}
if (projectile.owner == Main.myPlayer)
{
for (int i = 0; i < Main.rand.Next(1,4); i++)
int numSplits = Main.rand.NextBool() ? 4 : 3;
for (int i = 0; i < numSplits; ++i)
{
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);
int shard = Projectile.NewProjectile(projectile.Center, velocity, ModContent.ProjectileType<HypothermiaShard>(), (int)(projectile.damage * 0.33f), projectile.knockBack * 0.75f, Main.myPlayer, Main.rand.Next(4), 1f);
Projectile.NewProjectile(projectile.Center, velocity, ModContent.ProjectileType<HypothermiaShard>(), (int)(projectile.damage * 0.33f), projectile.knockBack * 0.75f, Main.myPlayer, Main.rand.Next(4), 1f);
}
}
}