Package lineage2.gameserver.model

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


      st.setState(STARTED);
      st.playSound(SOUND_ACCEPT);
    }
    else if (event.equalsIgnoreCase("teleport_in"))
    {
      player.teleToLocation(new Location(45512, -249832, -6760));
      teleportElcardia(player);
      return null;
    }
    else if (event.equalsIgnoreCase("teleport_out"))
    {
View Full Code Here


      teleportElcardia(player);
      return null;
    }
    else if (event.equalsIgnoreCase("teleport_out"))
    {
      player.teleToLocation(new Location(120664, -86968, -3392));
      teleportElcardia(player);
      return null;
    }
    else if (event.equalsIgnoreCase("use_staff"))
    {
View Full Code Here

        htmltext = "atlar_q10295_0.htm";
      }
    }
    else if (event.equalsIgnoreCase("teleport_solina"))
    {
      player.teleToLocation(new Location(56033, -252944, -6760));
      teleportElcardia(player);
      return null;
    }
    else if (event.equalsIgnoreCase("tombsaintess_q10295_2.htm"))
    {
View Full Code Here

        htmltext = "tombsaintess_q10295_3.htm";
      }
    }
    else if (event.equalsIgnoreCase("teleport_realtomb"))
    {
      player.teleToLocation(new Location(56081, -250391, -6760));
      teleportElcardia(player);
      player.showQuestMovie(ExStartScenePlayer.SCENE_SSQ2_ELYSS_NARRATION);
      return null;
    }
    else if (event.equalsIgnoreCase("solina_q10295_4.htm"))
View Full Code Here

    player.leaveParty();
    Reflection ref = _game.getReflection();
    InstantZone instantZone = ref.getInstancedZone();
    Location tele = Location.findPointToStay(instantZone.getTeleportCoords().get(_side - 1), 50, 50, ref.getGeoIndex());
    player._stablePoint = _returnLoc;
    player.teleToLocation(tele, ref);
    if (_type == CompType.TEAM)
    {
      player.setTeam(_side == 1 ? TeamType.BLUE : TeamType.RED);
    }
    player.sendPacket(new ExOlympiadMode(_side));
View Full Code Here

    }
    player.sendSkillList();
    player.sendPacket(new ExOlympiadMode(0));
    player.sendPacket(new ExOlympiadMatchEnd());
    player._stablePoint = null;
    player.teleToLocation(_returnLoc, ReflectionManager.DEFAULT);
  }
 
  /**
   * Method preparePlayer.
   */
 
View Full Code Here

      return null;
    }
    else if (event.equalsIgnoreCase("isle"))
    {
      st.addRadar(-119692, 44504, 380);
      player.teleToLocation(-120050, 44500, 360);
      String title = npc == null ? "" : npc.getTitle() + " " + npc.getName();
      htmltext = "<html><body>" + title + "<br>Go to the <font color=\"LEVEL\">Isle of Souls</font> and meet the <font color=\"LEVEL\">Newbie Guide</font> there to learn a number of important tips. He will also give you an item to assist your development.<br>Follow the direction arrow above your head and it will lead you to the Newbie Guide. Good luck!</body></html>";
    }
    else
    {
View Full Code Here

        }
        if (_isItemHandler)
        {
          if (_itemConsumeId[0] == 7125)
          {
            pcTarget.teleToLocation(17144, 170156, -3502, 0);
            return;
          }
          if (_itemConsumeId[0] == 7127)
          {
            pcTarget.teleToLocation(105918, 109759, -3207, 0);
View Full Code Here

            pcTarget.teleToLocation(17144, 170156, -3502, 0);
            return;
          }
          if (_itemConsumeId[0] == 7127)
          {
            pcTarget.teleToLocation(105918, 109759, -3207, 0);
            return;
          }
          if (_itemConsumeId[0] == 7130)
          {
            pcTarget.teleToLocation(85475, 16087, -3672, 0);
View Full Code Here

            pcTarget.teleToLocation(105918, 109759, -3207, 0);
            return;
          }
          if (_itemConsumeId[0] == 7130)
          {
            pcTarget.teleToLocation(85475, 16087, -3672, 0);
            return;
          }
          if (_itemConsumeId[0] == 9716)
          {
            pcTarget.teleToLocation(-120000, 44500, 352, 0);
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.