Despoiler balancing
This commit is contained in:
1 parent
1f275c5b1c
commit
855a01c8ae
3 files changed
+5
-5
No files matched your search
@@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
float minMult = 0.25f;
|
||||
float minMult = 0.45f;
|
||||
int hitsToMinMult = 15;
|
||||
float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true);
|
||||
modifiers.SourceDamage *= damageMult;
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
SoundStyle fire2 = new("CalamityMod/Sounds/Item/ShadowboltReflect");
|
||||
SoundEngine.PlaySound(fire2 with { Volume = 0.9f, Pitch = -0.4f}, Projectile.Center);
|
||||
|
||||
Projectile proj = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<OntoligicalDespoilerBurst>(), (int)(Projectile.damage * 5.5f), Projectile.knockBack * 3, Projectile.owner, 0, 0, 0);
|
||||
Projectile proj = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<OntoligicalDespoilerBurst>(), (int)(Projectile.damage * 12f), Projectile.knockBack * 3, Projectile.owner, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
Vector2 shootVelocity = Projectile.velocity.SafeNormalize(Vector2.UnitY) * BulletSpeed;
|
||||
int charge2DamagePos = Projectile.damage; // Most of the damage comes from the explosion
|
||||
int charge2DamageNeg = Projectile.damage * 30;
|
||||
int charge2DamageNeg = Projectile.damage * 32;
|
||||
|
||||
if (Positive)
|
||||
{
|
||||
@@ -261,7 +261,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
float angle = i == 0 ? -0.25f : i == 2 ? 0.25f : 0;
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, fireVec.RotatedBy(angle) * (1 - Math.Abs(angle * 0.25f)), ModContent.ProjectileType<OntologicalDespoilerShot>(), Projectile.damage / 3, Projectile.knockBack, Projectile.owner, 0, 0, i);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), GunTipPosition, fireVec.RotatedBy(angle) * (1 - Math.Abs(angle * 0.25f)), ModContent.ProjectileType<OntologicalDespoilerShot>(), (int)(Projectile.damage / 2f), Projectile.knockBack, Projectile.owner, 0, 0, i);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -297,7 +297,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
if (ChargeLV1)
|
||||
ShotsLoaded = MaxLoadableShots;
|
||||
|
||||
CurrentChargingFrames += ((ChargeLV1 && !Positive) ? 1.2f : 2) * (Owner.Calamity().despoilerNerf ? 0.4f : 1); // Charges slower if nerfed, charge LV2 for Negative is slower
|
||||
CurrentChargingFrames += ((ChargeLV1 && !Positive) ? 1f : 2) * (Owner.Calamity().despoilerNerf ? 0.4f : 1); // Charges slower if nerfed, charge LV2 for Negative is slower
|
||||
|
||||
// Sounds
|
||||
if (!hasBegunFiring)
|
||||
|
||||
Reference in new issue
Block a user