Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2WorldRegion$NeighborsTask


    _homeZ = getZ();
    if(Config.DEBUG) {
      _log.finer(getObjectId() + ": Home location set to" + " X:" + _homeX + " Y:" + _homeY + " Z:" + _homeZ);
    }
    // check the region where this mob is, do not activate the AI if region is inactive.
    L2WorldRegion region = L2World.getInstance().getRegion(getX(), getY());
    if(region != null && !region.isActive()) {
      ((L2AttackableAI) getAI()).stopAITask();
    }
  }
View Full Code Here


  public void updateWorldRegion()
  {
    if(!getActiveObject().isVisible())
      return;

    L2WorldRegion newRegion = L2World.getInstance().getRegion(getWorldPosition());
    if(newRegion != getWorldRegion())
    {
      getWorldRegion().removeVisibleObject(getActiveObject());

      setWorldRegion(newRegion);
View Full Code Here

    {
      _log.finer(getObjectId() + ": Home location set to" + " X:" + _homeX + " Y:" + _homeY + " Z:" + _homeZ);
    }

    // check the region where this mob is, do not activate the AI if region is inactive.
    L2WorldRegion region = L2World.getInstance().getRegion(getX(), getY());
    if(region != null && !region.isActive())
    {
      ((L2AttackableAI) getAI()).stopAITask();
    }
    region = null;
  }
View Full Code Here

    super.onSpawn();
    // Notify Leader that Minion has Spawned
    getLeader().notifyMinionSpawned(this);

    // check the region where this mob is, do not activate the AI if region is inactive.
    L2WorldRegion region = L2World.getInstance().getRegion(getX(), getY());
    if(region != null && !region.isActive())
    {
      ((L2AttackableAI) getAI()).stopAITask();
    }
    region = null;
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.L2WorldRegion$NeighborsTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.