Browse Source

SDR bind loc for errants

lakebane-optimize
FatBoy-DOTC 2 weeks ago
parent
commit
67f66155e9
  1. 9
      src/engine/objects/AbstractCharacter.java

9
src/engine/objects/AbstractCharacter.java

@ -14,10 +14,7 @@ import engine.Enum.*; @@ -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,8 +761,12 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @@ -764,8 +761,12 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
public abstract Vector3fImmutable getBindLoc();
public final void setBindLoc(final Vector3fImmutable 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() {
return this.faceDir;

Loading…
Cancel
Save