Reverted Scales cap buff cuz that also affects Dragon Rage

This commit is contained in:
Storm2103 committed 2023-11-13 19:58:10 -06:00
1 parent f9f0630627
commit b856bf4750
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ namespace CalamityMod.Projectiles.Rogue
// Reduce damage of projectiles if more than the cap are active
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
{
int cap = 6;
int cap = 5;
float capDamageFactor = 0.05f;
int excessCount = Main.player[Projectile.owner].ownedProjectileCounts[Projectile.type] - cap;
modifiers.SourceDamage *= MathHelper.Clamp(1f - (capDamageFactor * excessCount), 0f, 1f);