Package lineage2.gameserver.model

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


    final Location pos = Location.findPointToStay(x, y, z, 50, 100, player.getGeoIndex());
    if (price > 0)
    {
      player.reduceAdena(price, true);
    }
    player.teleToLocation(pos);
  }
 
  /**
   * Method QuestGatekeeper.
   * @param param String[]
View Full Code Here


    }
    final int x = Integer.parseInt(param[0]);
    final int y = Integer.parseInt(param[1]);
    final int z = Integer.parseInt(param[2]);
    final Location pos = Location.findPointToStay(x, y, z, 20, 70, player.getGeoIndex());
    player.teleToLocation(pos);
  }
 
  /**
   * Method ReflectionGatekeeper.
   * @param param String[]
View Full Code Here

    if (!NpcInstance.canBypassCheck(player, npc))
    {
      return;
    }
    player.setVar("DCBackCoords", player.getLoc().toXYZString(), -1);
    player.teleToLocation(-114582, -152635, -6742);
  }
 
  /**
   * Method exit_dc.
   */
 
View Full Code Here

      return;
    }
    final String var = player.getVar("DCBackCoords");
    if ((var == null) || var.isEmpty())
    {
      player.teleToLocation(new Location(43768, -48232, -800), 0);
      return;
    }
    player.teleToLocation(Location.parseLoc(var), 0);
    player.unsetVar("DCBackCoords");
  }
View Full Code Here

    if ((var == null) || var.isEmpty())
    {
      player.teleToLocation(new Location(43768, -48232, -800), 0);
      return;
    }
    player.teleToLocation(Location.parseLoc(var), 0);
    player.unsetVar("DCBackCoords");
  }
}
View Full Code Here

      }
      if (zone.isActive())
      {
        if (zone.getName().equalsIgnoreCase("[tully1]"))
        {
          player.teleToLocation(TullyFloor2LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully2]"))
        {
          player.teleToLocation(TullyFloor4LocationPoint);
        }
View Full Code Here

        {
          player.teleToLocation(TullyFloor2LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully2]"))
        {
          player.teleToLocation(TullyFloor4LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully3]"))
        {
          player.teleToLocation(TullyFloor3LocationPoint);
        }
View Full Code Here

        {
          player.teleToLocation(TullyFloor4LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully3]"))
        {
          player.teleToLocation(TullyFloor3LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully4]"))
        {
          player.teleToLocation(TullyFloor5LocationPoint);
        }
View Full Code Here

        {
          player.teleToLocation(TullyFloor3LocationPoint);
        }
        else if (zone.getName().equalsIgnoreCase("[tully4]"))
        {
          player.teleToLocation(TullyFloor5LocationPoint);
        }
      }
    }
   
    /**
 
View Full Code Here

        Reflection r = player.getActiveReflection();
        if(r != null)
        {
          if(player.canReenterInstance(normalTautiInstanceId))
          {
            player.teleToLocation(r.getTeleportLoc(), r);
          }
        }
        else if(player.canEnterInstance(normalTautiInstanceId))
        {
          ReflectionUtils.enterReflection(player, new TautiNormal(), normalTautiInstanceId);
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.