Pierce reduction for Reaper
This commit is contained in:
1 parent
40f2fd1c3f
commit
cf40e16354
1 file changed
+5
@@ -259,6 +259,11 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
}
|
||||
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 90);
|
||||
|
||||
float minMult = 0.25f;
|
||||
int hitsToMinMult = 8;
|
||||
float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true);
|
||||
modifiers.SourceDamage *= damageMult;
|
||||
}
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
|
||||
Reference in new issue
Block a user