Package lineage2.gameserver.model

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


    NpcInstance npc = getNpc();
    if ((player == null) || (npc == null))
    {
      return;
    }
    player.teleToLocation(46776, 185784, -3528, 0);
    show("I don't know from where you came here, but I can teleport you the another border side.", player, npc);
  }
 
  /**
   * Method DialogAppend_30059.
View Full Code Here


    {
      if ((target != null) && !target.isDead())
      {
        Location loc_pet = target.getLoc();
        Location loc_cha = activePlayer.getLoc();
        activePlayer.teleToLocation(loc_pet);
        target.teleToLocation(loc_cha);
      }
    }
  }
}
View Full Code Here

      st.playSound(SOUND_MIDDLE);
      htmltext = "1-3.htm";
    }
    else if (event.equalsIgnoreCase("telep"))
    {
      player.teleToLocation(-24776, 188696, -3993);
      htmltext = "";
    }
    else if (event.equalsIgnoreCase("master"))
    {
      if (st.getPlayer().getRace() == Race.human)
View Full Code Here

        show("teleporter/" + npc.getNpcId() + "-4.htm", player);
      }
      else if (player.getAdena() >= 150000)
      {
        player.reduceAdena(150000, true);
        player.teleToLocation(-149406, 255247, -80);
      }
      else
      {
        show("teleporter/" + npc.getNpcId() + "-2.htm", player);
      }
View Full Code Here

      back = "1";
    }
    String htmltext = "Started.htm";
    if (npcId == GLUDIN_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "1", -1);
      return htmltext;
    }
    if (npcId == GLUDIO_DAWN)
    {
View Full Code Here

      player.setVar("id", "1", -1);
      return htmltext;
    }
    if (npcId == GLUDIO_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "2", -1);
      return htmltext;
    }
    if (npcId == DION_DAWN)
    {
View Full Code Here

      player.setVar("id", "2", -1);
      return htmltext;
    }
    if (npcId == DION_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "3", -1);
      return htmltext;
    }
    if (npcId == GIRAN_DAWN)
    {
View Full Code Here

      player.setVar("id", "3", -1);
      return htmltext;
    }
    if (npcId == GIRAN_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "4", -1);
      return htmltext;
    }
    if (npcId == OREN_DAWN)
    {
View Full Code Here

      player.setVar("id", "4", -1);
      return htmltext;
    }
    if (npcId == OREN_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "5", -1);
      return htmltext;
    }
    if (npcId == ADEN_DAWN)
    {
View Full Code Here

      player.setVar("id", "5", -1);
      return htmltext;
    }
    if (npcId == ADEN_DAWN)
    {
      player.teleToLocation(-80157, 111344, -4901);
      player.setVar("id", "6", -1);
      return htmltext;
    }
    if (npcId == HEINE_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.