From 12d59da0ce9c653ea4eaea6d27d67d7ec2d6a7ff Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Mon, 14 Jun 2021 01:10:04 -0400 Subject: [PATCH] Hypothermia spam nerfed by 5%, SS no longer broken, fixed shard split math --- Items/Weapons/Rogue/Hypothermia.cs | 4 ++-- Projectiles/Rogue/HypothermiaChunk.cs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Items/Weapons/Rogue/Hypothermia.cs b/Items/Weapons/Rogue/Hypothermia.cs index 2737e60500..a25a797fe1 100644 --- a/Items/Weapons/Rogue/Hypothermia.cs +++ b/Items/Weapons/Rogue/Hypothermia.cs @@ -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); diff --git a/Projectiles/Rogue/HypothermiaChunk.cs b/Projectiles/Rogue/HypothermiaChunk.cs index 8d74297fc9..27ce72b179 100644 --- a/Projectiles/Rogue/HypothermiaChunk.cs +++ b/Projectiles/Rogue/HypothermiaChunk.cs @@ -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(), (int)(projectile.damage * 0.33f), projectile.knockBack * 0.75f, Main.myPlayer, Main.rand.Next(4), 1f); + Projectile.NewProjectile(projectile.Center, velocity, ModContent.ProjectileType(), (int)(projectile.damage * 0.33f), projectile.knockBack * 0.75f, Main.myPlayer, Main.rand.Next(4), 1f); } } }