Chase functionality (/c name) to warp to the exact location of the target

This commit is contained in:
RubenD96
2021-04-22 22:03:59 +02:00
parent f6452b2320
commit ade50bad5e
3 changed files with 23 additions and 3 deletions

View File

@@ -255,6 +255,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
private long lastExpGainTime;
private boolean pendingNameChange; //only used to change name on logout, not to be relied upon elsewhere
private long loginTime;
private boolean chasing = false;
private MapleCharacter() {
super.setListener(new AbstractCharacterListener() {
@@ -11323,5 +11324,12 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
public int getLanguage() {
return getClient().getLanguage();
}
public boolean isChasing() {
return chasing;
}
public void setChasing(boolean chasing) {
this.chasing = chasing;
}
}