From fec1f8600a77939ed05ec4ab6fa04618fac34489 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Wed, 29 Jul 2026 22:14:51 +0700 Subject: [PATCH] Ares Exoskeleton tweaks/targeting fix --- Items/Weapons/Summon/AresExoskeleton.cs | 10 +++++----- Projectiles/Summon/SmallAresArms/CannonLaserbeam.cs | 2 +- Projectiles/Summon/SmallAresArms/ExoskeletonCannon.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Items/Weapons/Summon/AresExoskeleton.cs b/Items/Weapons/Summon/AresExoskeleton.cs index dee0622c01..f96f0909cb 100644 --- a/Items/Weapons/Summon/AresExoskeleton.cs +++ b/Items/Weapons/Summon/AresExoskeleton.cs @@ -21,9 +21,9 @@ namespace CalamityMod.Items.Weapons.Summon public const int PlasmaCannonShootRate = 30; - public const int TeslaCannonShootRate = 36; + public const int TeslaCannonShootRate = 42; - public const int LaserCannonNormalShootRate = 15; + public const int LaserCannonNormalShootRate = 12; public const int GaussNukeShootRate = 240; @@ -31,13 +31,13 @@ namespace CalamityMod.Items.Weapons.Summon public const float MinionSlotsPerCannon = 3f; - public const float PlasmaCannonBlastFactor = 0.9f; + public const float PlasmaCannonBlastFactor = 1f; // Multiple orbs can arc together when there are 2+ tesla cannons, resulting in a LOT of hits. // The local i-frames are also quite high to combat this problem. public const float TeslaOrbDamageFactor = 1f; - public const float LaserDamageFactor = 1.1f; + public const float LaserDamageFactor = 1f; public const float NukeDamageFactor = 1f; @@ -75,7 +75,7 @@ namespace CalamityMod.Items.Weapons.Summon { Item.width = Item.height = 36; Item.mana = 80; - Item.damage = 625; + Item.damage = 550; Item.useStyle = ItemUseStyleID.HoldUp; Item.noUseGraphic = true; Item.useAnimation = Item.useTime = 24; diff --git a/Projectiles/Summon/SmallAresArms/CannonLaserbeam.cs b/Projectiles/Summon/SmallAresArms/CannonLaserbeam.cs index d59573fd37..3463b97ee7 100644 --- a/Projectiles/Summon/SmallAresArms/CannonLaserbeam.cs +++ b/Projectiles/Summon/SmallAresArms/CannonLaserbeam.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Projectiles.Summon.SmallAresArms public Projectile OwnerProjectile => CalamityUtils.FindProjectileByIdentity((int)Projectile.ai[1], Projectile.owner); - public const int LifetimeConst = 75; + public const int LifetimeConst = 90; public override float MaxScale => 0.5f + (float)Math.Cos(Main.GlobalTimeWrappedHourly * 10f) * 0.07f; public override float MaxLaserLength => 1560f; public override float Lifetime => LifetimeConst; diff --git a/Projectiles/Summon/SmallAresArms/ExoskeletonCannon.cs b/Projectiles/Summon/SmallAresArms/ExoskeletonCannon.cs index 5b9c20254a..a064b4282a 100644 --- a/Projectiles/Summon/SmallAresArms/ExoskeletonCannon.cs +++ b/Projectiles/Summon/SmallAresArms/ExoskeletonCannon.cs @@ -132,7 +132,7 @@ namespace CalamityMod.Projectiles.Summon.SmallAresArms // 15NOV2024: Ozzatron: clamped mouse position unnecessary, only used for direction float idealRotation = Main.myPlayer != Projectile.owner ? Projectile.rotation : Projectile.AngleTo(Main.MouseWorld); - NPC potentialTarget = Projectile.Center.ClosestNPCAt(AresExoskeleton.TargetingDistance); + NPC potentialTarget = Projectile.Center.MinionHoming(AresExoskeleton.TargetingDistance, Owner); if (potentialTarget != null) { Projectile.ai[1] = 1f;