lists moment
This commit is contained in:
1 parent
098c4658d9
commit
f6ec00cbe2
2 files changed
+6
-2
No files matched your search
@@ -898,6 +898,8 @@ namespace CalamityMod
|
||||
ProjectileType<FinalDawnHorizontalSlash>(),
|
||||
ProjectileType<FinalDawnFireSlash>(),
|
||||
|
||||
ProjectileType<RelicOfDeliveranceSpear>(),
|
||||
|
||||
// Some hostile boss projectiles
|
||||
ProjectileID.SaucerDeathray,
|
||||
ProjectileID.PhantasmalDeathray,
|
||||
@@ -2028,6 +2030,7 @@ namespace CalamityMod
|
||||
ProjectileType<PrismaticRay>(),
|
||||
ProjectileType<RancorLaserbeam>(),
|
||||
ProjectileType<ReaperProjectile>(),
|
||||
ProjectileType<RelicOfDeliveranceSpear>(),
|
||||
ProjectileType<RespiteblockHoldout>(),
|
||||
ProjectileType<SacrificeProjectile>(),
|
||||
ProjectileType<SnapClamProj>(),
|
||||
|
||||
@@ -439,9 +439,10 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
}
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
float minMult = 0.35f;
|
||||
int hitsToMinMult = 25;
|
||||
float minMult = 0.01f;
|
||||
int hitsToMinMult = 15;
|
||||
float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true);
|
||||
|
||||
float driftMult = (driftPower == 1 ? 0.3f : driftPower == 2 ? 1.7f : 2.5f) * damageMult; // Drift power scaling is lower than regular
|
||||
modifiers.SourceDamage *= driftMult * ((Projectile.numHits == 0 && driftPower > 1) ? 1.9f : 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user