Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.teleToLocation()


                pcTarget.teleToLocation(85475, 16087, -3672, 0);
                return;
              }
              if(_itemConsumeId[0] == 9716) // Scroll of Escape: Kamael Village for starters
              {
                pcTarget.teleToLocation(-120000, 44500, 352, 0);
                return;
              }
              if(_itemConsumeId[0] == 7618)
              {
                pcTarget.teleToLocation(149864, -81062, -5618, 0);
View Full Code Here


                pcTarget.teleToLocation(-120000, 44500, 352, 0);
                return;
              }
              if(_itemConsumeId[0] == 7618)
              {
                pcTarget.teleToLocation(149864, -81062, -5618, 0);
                return;
              }
              if(_itemConsumeId[0] == 7619)
              {
                pcTarget.teleToLocation(108275, -53785, -2524, 0);
View Full Code Here

                pcTarget.teleToLocation(149864, -81062, -5618, 0);
                return;
              }
              if(_itemConsumeId[0] == 7619)
              {
                pcTarget.teleToLocation(108275, -53785, -2524, 0);
                return;
              }
              if(_townId > 0) // SoE: Town
              {
                pcTarget.teleToLocation(TownManager.getInstance().getTown(_townId).getSpawn());
View Full Code Here

                pcTarget.teleToLocation(108275, -53785, -2524, 0);
                return;
              }
              if(_townId > 0) // SoE: Town
              {
                pcTarget.teleToLocation(TownManager.getInstance().getTown(_townId).getSpawn());
                return;
              }
              if(_castle) // SoE: Castle
              {
                pcTarget.teleToCastle();
View Full Code Here

  public void TeleRabbits()
  {
    L2Player player = (L2Player) getSelf();
    if(player.getInventory().getItemByItemId(RABBIT_TRANSFORMATION_SCROLL) != null && player.getInventory().getItemByItemId(RABBIT_TRANSFORMATION_SCROLL).getCount() >= 1)
    {
      player.teleToLocation(-59703, -56061, -20360);
    }
    else
    {
      show(Files.read("data/scripts/events/RabbitsToRiches/NoTele.htm", player), player);
    }
View Full Code Here

    try
    {
      if(activeChar.isFestivalParticipant())
      {
        activeChar.setIsPendingRevive(true);
        activeChar.teleToLocation(activeChar.getLoc());
        return;
      }
      Location loc = null;
      long ref = 0;
      boolean isInDefense;
View Full Code Here

        default:
          loc = MapRegion.getTeleToClosestTown(activeChar);
          break;
      }
      activeChar.setIsPendingRevive(true);
      activeChar.teleToLocation(loc, ref);
    }
    catch(Throwable e)
    {
    }
  }
View Full Code Here

    {
      return;
    }
    if(player.isGM() || player.isQuestCompleted("_130_PathToHellbound") || player.isQuestCompleted("_133_ThatsBloodyHot"))
    {
      player.teleToLocation(-11272, 236464, -3248);
      return;
    }
    show(Files.read("data/scripts/services/warpgate/tele-no.htm", player), player, npc);
  }
View Full Code Here

    if(world != null)
    {
      if(npcId == SOTruth)
      {
        player.setReflection(0);
        player.teleToLocation(new Location(139968, 150367, -3111));
        if(!world.rewarded.contains(player.getStoredId()))
        {
          st.giveItems(CC, 1);
          world.rewarded.add(player.getStoredId());
        }
View Full Code Here

    }
    // Dawn Locations
    String htmltext = "Started.htm";
    if(npcId == GLUDIN_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "1");
      return htmltext;
    }
    if(npcId == GLUDIO_DAWN)
    {
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.