From 7d657c6af4cc2ee0712c4ac6d97723c65234bdb8 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 9 Apr 2026 19:40:59 +0200 Subject: [PATCH] feat: increase portal detection range from 12m to 60m Co-Authored-By: Claude Opus 4.6 (1M context) --- MosswartMassacre/PluginCore.cs | 4 ++-- .../bin/Release/MosswartMassacre.dll | Bin 1760768 -> 1760768 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MosswartMassacre/PluginCore.cs b/MosswartMassacre/PluginCore.cs index d607624..6c190ed 100644 --- a/MosswartMassacre/PluginCore.cs +++ b/MosswartMassacre/PluginCore.cs @@ -812,11 +812,11 @@ namespace MosswartMassacre var decalCoords = portal.Coordinates(); if (decalCoords == null) return; - // Only report portals within 12 meters of the player + // Only report portals within 60 meters of the player var portalPos = new Coordinates(decalCoords.EastWest, decalCoords.NorthSouth); var playerPos = Coordinates.Me; double dist = playerPos.DistanceToFlat(portalPos); - if (dist > 12.0) return; + if (dist > 60.0) return; const string fmt = "F7"; string ns = decalCoords.NorthSouth.ToString(fmt, CultureInfo.InvariantCulture); diff --git a/MosswartMassacre/bin/Release/MosswartMassacre.dll b/MosswartMassacre/bin/Release/MosswartMassacre.dll index bd84ecb6cfe54f31134cc902691ef7b4cfc3cae1..93cf9c5945d26bcef2339b34871ef34ce6f0d122 100644 GIT binary patch delta 280 zcmZqJlijcQ9w6ogVm=_|2Vwyr76f7;AQlE<5g--?VzKSJW5vanv2Ze+VQas}ECIxl+pjT8 z73B%&-{RUDbgA3Ft?A0o{azoJZI39DI+4I;sb^?zVlZ9pveYuL3#VVWEM+2adewn5 z2VX_G&MMZ_$SvRw-7a!Ps)C983>zl{3&SgRAiaJ1HL2H(+?EV_42BHm3?>W)+k0Q9w6ogVm=_|2Vwyr76f7;AQlE<5g--?VzKSJW5vanv2ZY~WNp93ECIxl+pjT8 z73B#S%*+w`wX)A~-@0p0i$d$7w?`C7ok(D_&@(hKv7D}US!x;Bh0`xwmNF4Ieltx{ zr7F&K!Mu~^8%sSEwu@Yms$k+?$;!dN!tjb6NN=BhP3koxw*`Y9gCT