From 67f66155e9eeabf6e7f6ede367fc82d91f3b763f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 5 Jan 2025 15:28:51 -0600 Subject: [PATCH] SDR bind loc for errants --- src/engine/objects/AbstractCharacter.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 966a48ba..3c942a8f 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -14,10 +14,7 @@ import engine.Enum.*; import engine.InterestManagement.InterestManager; import engine.InterestManagement.WorldGrid; import engine.exception.SerializationException; -import engine.gameManager.CombatManager; -import engine.gameManager.ConfigManager; -import engine.gameManager.MovementManager; -import engine.gameManager.PowersManager; +import engine.gameManager.*; import engine.job.AbstractJob; import engine.job.JobContainer; import engine.job.JobScheduler; @@ -764,7 +761,11 @@ public abstract class AbstractCharacter extends AbstractWorldObject { public abstract Vector3fImmutable getBindLoc(); public final void setBindLoc(final Vector3fImmutable value) { - this.bindLoc = value; + if(this.getObjectType().equals(GameObjectType.PlayerCharacter) && this.guild.getNation().equals(Guild.getErrantGuild())){ + this.bindLoc = Vector3fImmutable.getRandomPointOnCircle(BuildingManager.getBuilding(27977).loc,20f); + }else { + this.bindLoc = value; + } } public final Vector3fImmutable getFaceDir() {