Reverted Scales cap buff cuz that also affects Dragon Rage
This commit is contained in:
1 parent
f9f0630627
commit
b856bf4750
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user