From 61c9ff90e47bd6fe9d0fc525492f07965b85f86d Mon Sep 17 00:00:00 2001 From: Avi Weinstock Date: Sat, 6 Mar 2021 10:50:04 -0500 Subject: [PATCH] Increase MAX_CHASE_DIST from 20 to 250, so enemies don't ignore you if you're fireballing them from a hallway. --- server/src/sys/agent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/sys/agent.rs b/server/src/sys/agent.rs index a38e55bbc9..ebdac75da4 100644 --- a/server/src/sys/agent.rs +++ b/server/src/sys/agent.rs @@ -90,7 +90,7 @@ pub struct ReadData<'a> { const DAMAGE_MEMORY_DURATION: f64 = 0.1; const FLEE_DURATION: f32 = 3.0; const MAX_FOLLOW_DIST: f32 = 12.0; -const MAX_CHASE_DIST: f32 = 20.0; +const MAX_CHASE_DIST: f32 = 250.0; const MAX_FLEE_DIST: f32 = 20.0; const LISTEN_DIST: f32 = 16.0; const SEARCH_DIST: f32 = 48.0;