Valediction stealth was doing 120k DPS 💀
This commit is contained in:
1 parent
e4d2a23a5c
commit
c6a6a10402
4 files changed
+6
-5
No files matched your search
@@ -261,6 +261,9 @@ namespace CalamityMod.Balancing
|
||||
// 35% resist to Venusian Trident's explosions.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.DevourerOfGodsIDs, Do(new ProjectileResistBalancingRule(0.65f, ProjectileType<VenusianBolt>(), ProjectileType<VenusianExplosion>()))));
|
||||
|
||||
// 20% resist to Valediction's typhoons; will catch Nuclear Fury as well but that doesn't matter.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.DevourerOfGodsIDs, Do(new ProjectileResistBalancingRule(0.8f, ProjectileType<NuclearFuryProjectile>()))));
|
||||
|
||||
// 15% vulnerability to Time Bolt stealth strikes.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.DevourerOfGodsIDs, Do(new StealthStrikeBalancingRule(1.15f, ProjectileType<TimeBoltKnife>()))));
|
||||
#endregion The Devourer of Gods
|
||||
|
||||
@@ -31,6 +31,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.rare = ModContent.RarityType<PureGreen>();
|
||||
}
|
||||
|
||||
public override float StealthDamageMultiplier => 0.8f;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
if (player.Calamity().StealthStrikeAvailable()) //setting the stealth strike
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
if (Projectile.ai[0] != 0f)
|
||||
{
|
||||
int index = (int)(Projectile.ai[0] - 1);
|
||||
if (Main.npc[index].active && !Main.npc[index].dontTakeDamage && Main.npc[index].immune[Projectile.owner] == 0)
|
||||
if (Main.npc[index].active && !Main.npc[index].dontTakeDamage)
|
||||
{
|
||||
if ((Math.Abs(Projectile.Center.X - Main.npc[index].Center.X) + Math.Abs(Projectile.Center.Y - Main.npc[index].Center.Y)) < 1000f)
|
||||
{
|
||||
|
||||
@@ -148,11 +148,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
velocity *= (float)Main.rand.Next(70, 101) * 0.1f;
|
||||
Projectile typhoon = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<NuclearFuryProjectile>(), typhoonDamage, 0f, Projectile.owner, 0f, 1f);
|
||||
if (typhoon.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
typhoon.DamageType = RogueDamageClass.Instance;
|
||||
typhoon.usesLocalNPCImmunity = true;
|
||||
typhoon.localNPCHitCooldown = 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user