From ebf79e3545ccf495f5f2eb0df73655ff8c0ce5d7 Mon Sep 17 00:00:00 2001 From: Storm2103 Date: Fri, 30 Jun 2023 16:44:48 -0600 Subject: [PATCH] - Nerfed Daedalus Rogue's projectile spam shenanigans - BUTCHERED (and this time hopefully for good) Dragon Scales (thing needs a rework but this works for now) - Nerfed Sand Dollar's stealth strike multiplier from 2.25f to 1f, I should have never buffed it THIS much - Nerfed Duststorm in a bottle's projectile amounts --- CalPlayer/CalamityPlayerOnHit.cs | 1 + Items/Weapons/Rogue/SandDollar.cs | 2 +- Projectiles/CalamityGlobalProjectile.cs | 2 +- Projectiles/Rogue/DuststormInABottleProj.cs | 8 ++++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 0f160292a4..284963ace1 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -813,6 +813,7 @@ namespace CalamityMod.CalPlayer Main.projectile[projectileIndex].netUpdate = true; Main.projectile[projectileIndex].usesIDStaticNPCImmunity = true; Main.projectile[projectileIndex].idStaticNPCHitCooldown = 30; + Main.projectile[projectileIndex].scale = Main.projectile[projectileIndex].scale / 3; } } diff --git a/Items/Weapons/Rogue/SandDollar.cs b/Items/Weapons/Rogue/SandDollar.cs index 2401fc085d..50bf0be518 100644 --- a/Items/Weapons/Rogue/SandDollar.cs +++ b/Items/Weapons/Rogue/SandDollar.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.Rogue } } - public override float StealthDamageMultiplier => 2.25f; + public override float StealthDamageMultiplier => 1f; public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index b122e7d8e4..312d736dcd 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -2281,7 +2281,7 @@ namespace CalamityMod.Projectiles { if (Main.player[projectile.owner].miscCounter % 30 == 0 && projectile.FinalExtraUpdate()) { - if (projectile.owner == Main.myPlayer && player.ownedProjectileCounts[ProjectileID.CrystalShard] < 30) + if (projectile.owner == Main.myPlayer && player.ownedProjectileCounts[ProjectileID.CrystalShard] < 15) { // Daedalus Rogue Crystals: 2 x 25%, soft cap starts at 120 base damage int crystalDamage = CalamityUtils.DamageSoftCap(projectile.damage * 0.25, 30); diff --git a/Projectiles/Rogue/DuststormInABottleProj.cs b/Projectiles/Rogue/DuststormInABottleProj.cs index f19463efbf..3c520b452e 100644 --- a/Projectiles/Rogue/DuststormInABottleProj.cs +++ b/Projectiles/Rogue/DuststormInABottleProj.cs @@ -1,4 +1,5 @@ using Microsoft.Xna.Framework; +using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -31,9 +32,12 @@ namespace CalamityMod.Projectiles.Rogue { Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, 85, Projectile.oldVelocity.X, Projectile.oldVelocity.Y); } - int cloudAmt = Main.rand.Next(20, 31); + double cloudAmt = Main.rand.Next(15, 20); if (stealth) - cloudAmt *= 2; + { + cloudAmt *= 1.5; + cloudAmt = Math.Round(cloudAmt); + } int projType = stealth ? ModContent.ProjectileType() : ModContent.ProjectileType(); if (Projectile.owner == Main.myPlayer) {