From da1929462e4786911fbc2146602d242ca4a9a8a4 Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Mon, 2 Jun 2025 13:40:13 -0700 Subject: [PATCH] im sobbing --- NPCs/SunkenSea/EutrophicRay.cs | 5 +++++ NPCs/SunkenSea/Probesnout.cs | 6 ++++++ NPCs/SunkenSea/Sharkoon.cs | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/NPCs/SunkenSea/EutrophicRay.cs b/NPCs/SunkenSea/EutrophicRay.cs index 14b826a6b5..ce3fe26a48 100644 --- a/NPCs/SunkenSea/EutrophicRay.cs +++ b/NPCs/SunkenSea/EutrophicRay.cs @@ -119,6 +119,11 @@ namespace CalamityMod.NPCs.SunkenSea public override void OnSpawn(IEntitySource source) { + pathfinding = new PathfindingManager(NPC) + { + MaxSpeed = 4.85f, + Acceleration = 0.5f + }; CurrentBehavior = IdleBehavior; } diff --git a/NPCs/SunkenSea/Probesnout.cs b/NPCs/SunkenSea/Probesnout.cs index 49796ce307..f65242bb4b 100644 --- a/NPCs/SunkenSea/Probesnout.cs +++ b/NPCs/SunkenSea/Probesnout.cs @@ -131,6 +131,12 @@ namespace CalamityMod.NPCs.SunkenSea public override void OnSpawn(IEntitySource source) { + pathfinding = new PathfindingManager(NPC) + { + Acceleration = 0.4f, + MaxSpeed = 8f, + MinimumPointDistance = 60f + }; CurrentBehavior = IdlingBehavior; NPC.spriteDirection = Main.rand.NextBool().ToDirectionInt(); NPC.GravityMultiplier *= 2f; diff --git a/NPCs/SunkenSea/Sharkoon.cs b/NPCs/SunkenSea/Sharkoon.cs index c01f3e7bd6..7b967eb4e4 100644 --- a/NPCs/SunkenSea/Sharkoon.cs +++ b/NPCs/SunkenSea/Sharkoon.cs @@ -221,6 +221,11 @@ namespace CalamityMod.NPCs.SunkenSea public override void OnSpawn(IEntitySource source) { + pathfinding = new PathfindingManager(NPC) + { + Acceleration = 0.3f, + MaxSpeed = 6f, + }; CurrentBehavior = IdlingBehavior; NPC.spriteDirection = Main.rand.NextBool().ToDirectionInt(); NPC.GravityMultiplier *= 2f;