Greatly nerfed the Eradicator
This commit is contained in:
1 parent
ef9d3d20de
commit
151d2dd8bb
2 files changed
+5
No files matched your search
@@ -39,6 +39,9 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
{
|
||||
if (player.Calamity().StealthStrikeAvailable())
|
||||
damage /= 2;
|
||||
|
||||
int proj = Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, damage, knockBack, player.whoAmI);
|
||||
if (player.Calamity().StealthStrikeAvailable() && proj.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);
|
||||
|
||||
int laserDamage = (int)(projectile.damage * 0.5);
|
||||
if (projectile.Calamity().stealthStrike)
|
||||
laserDamage /= 4;
|
||||
Projectile laser = Projectile.NewProjectileDirect(projectile.Center, velocity, ModContent.ProjectileType<NebulaShot>(), laserDamage, 0f, projectile.owner);
|
||||
if (laser.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user