Abstraction Layer GeoEngine.

This commit is contained in:
MobiusDevelopment
2022-07-16 06:04:42 +00:00
parent 534f5dbf33
commit beb1aa0b77
1220 changed files with 92917 additions and 72972 deletions

View File

@@ -581,7 +581,7 @@ public class Antharas extends Quest
final int ry = getRandom(112400, 116000);
final int rdt = ((_antharas.getX() - rx) * (_antharas.getX() - rx)) + ((_antharas.getY() - ry) * (_antharas.getY() - ry));
final Location randomLocation = new Location(rx, ry, -7704);
if (GeoEngine.getInstance().canSeeLocation(_antharas, randomLocation) && (rdt < dt))
if (GeoEngine.getInstance().canSeeTarget(_antharas, randomLocation) && (rdt < dt))
{
x = rx;
y = ry;