Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Player.teleToClosestTown()


        if (_fortress)
        {
          pcTarget.teleToFortress();
          return;
        }
        pcTarget.teleToClosestTown();
      }
    }
    if (isSSPossible())
    {
      activeChar.unChargeShots(isMagic());
View Full Code Here


    }
    else if (dz >= (activeChar.isFlying() ? 1024 : 512))
    {
      if (activeChar.getIncorrectValidateCount() >= 3)
      {
        activeChar.teleToClosestTown();
      }
      else
      {
        activeChar.teleToLocation(activeChar.getLoc());
        activeChar.setIncorrectValidateCount(activeChar.getIncorrectValidateCount() + 1);
View Full Code Here

    }
    else if ((_loc.z < -30000) || (_loc.z > 30000))
    {
      if (activeChar.getIncorrectValidateCount() >= 3)
      {
        activeChar.teleToClosestTown();
      }
      else
      {
        correctPosition(activeChar);
        activeChar.setIncorrectValidateCount(activeChar.getIncorrectValidateCount() + 1);
View Full Code Here

    }
    else if (diff > 1024)
    {
      if (activeChar.getIncorrectValidateCount() >= 3)
      {
        activeChar.teleToClosestTown();
      }
      else
      {
        activeChar.teleToLocation(activeChar.getLoc());
        activeChar.setIncorrectValidateCount(activeChar.getIncorrectValidateCount() + 1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.