Package lineage2.gameserver.model.entity

Examples of lineage2.gameserver.model.entity.Reflection.openDoor()


    Location teleto = null;
    boolean spawn_captain = false;
    if (npcId == ORACLE_GUIDE2)
    {
      Reflection r = ReflectionManager.getInstance().get(world.instanceId);
      r.openDoor(DOOR5);
      r.openDoor(DOOR6);
    }
    else if (npcId == OG1)
    {
      spawn_captain = true;
View Full Code Here


    boolean spawn_captain = false;
    if (npcId == ORACLE_GUIDE2)
    {
      Reflection r = ReflectionManager.getInstance().get(world.instanceId);
      r.openDoor(DOOR5);
      r.openDoor(DOOR6);
    }
    else if (npcId == OG1)
    {
      spawn_captain = true;
    }
View Full Code Here

        }
      }
      if (type == 1)
      {
        runEmeraldAndSteamFirstRoom(world);
        ref.openDoor(DOOR1);
        ref.openDoor(DOOR2);
      }
      else if (type == 2)
      {
        runCoralGardenHall(world);
View Full Code Here

      }
      if (type == 1)
      {
        runEmeraldAndSteamFirstRoom(world);
        ref.openDoor(DOOR1);
        ref.openDoor(DOOR2);
      }
      else if (type == 2)
      {
        runCoralGardenHall(world);
        ref.openDoor(CORAL_GARDEN_GATEWAY);
View Full Code Here

        ref.openDoor(DOOR2);
      }
      else if (type == 2)
      {
        runCoralGardenHall(world);
        ref.openDoor(CORAL_GARDEN_GATEWAY);
      }
    }
  }
 
  private void runEmeraldAndSteamFirstRoom(World world)
View Full Code Here

    world.DarnelRoom.npclist = new HashMap<>();
    NpcInstance newNpc;
    newNpc = addSpawnToInstance(DARNEL, new Location(152759, 145949, -12588, 21592), 0, world.instanceId);
    world.DarnelRoom.npclist.put(newNpc, false);
    Reflection r = ReflectionManager.getInstance().get(world.instanceId);
    r.openDoor(DOOR3);
    r.openDoor(DOOR4);
  }
 
  private void runSteamRoom1(World world)
  {
View Full Code Here

    NpcInstance newNpc;
    newNpc = addSpawnToInstance(DARNEL, new Location(152759, 145949, -12588, 21592), 0, world.instanceId);
    world.DarnelRoom.npclist.put(newNpc, false);
    Reflection r = ReflectionManager.getInstance().get(world.instanceId);
    r.openDoor(DOOR3);
    r.openDoor(DOOR4);
  }
 
  private void runSteamRoom1(World world)
  {
    world.status = 20;
View Full Code Here

    {
      if ((ref != null) && (player.getTransformation() == 113) && (st.getQuestItemsCount(GuardsoftheDawnIdentityCard) >= 1))
      {
        if (npc.getLoc().equals(new Location(-75695, 213537, -7128, 0)))
        {
          ref.openDoor(door1);
          ref.openDoor(door2);
          player.sendPacket(new SystemMessage(SystemMessage.BY_USING_THE_INVISIBLE_SKILL_SNEAK_INTO_THE_DAWN_S_DOCUMENT_STORAGE));
          player.sendPacket(new SystemMessage(SystemMessage.MALE_GUARDS_CAN_DETECT_THE_CONCEALMENT_BUT_THE_FEMALE_GUARDS_CANNOT));
          player.sendPacket(new SystemMessage(SystemMessage.FEMALE_GUARDS_NOTICE_THE_DISGUISES_FROM_FAR_AWAY_BETTER_THAN_THE_MALE_GUARDS_DO_SO_BEWARE));
          htmltext = "identityconfirmdevice_q195_1.htm";
View Full Code Here

      if ((ref != null) && (player.getTransformation() == 113) && (st.getQuestItemsCount(GuardsoftheDawnIdentityCard) >= 1))
      {
        if (npc.getLoc().equals(new Location(-75695, 213537, -7128, 0)))
        {
          ref.openDoor(door1);
          ref.openDoor(door2);
          player.sendPacket(new SystemMessage(SystemMessage.BY_USING_THE_INVISIBLE_SKILL_SNEAK_INTO_THE_DAWN_S_DOCUMENT_STORAGE));
          player.sendPacket(new SystemMessage(SystemMessage.MALE_GUARDS_CAN_DETECT_THE_CONCEALMENT_BUT_THE_FEMALE_GUARDS_CANNOT));
          player.sendPacket(new SystemMessage(SystemMessage.FEMALE_GUARDS_NOTICE_THE_DISGUISES_FROM_FAR_AWAY_BETTER_THAN_THE_MALE_GUARDS_DO_SO_BEWARE));
          htmltext = "identityconfirmdevice_q195_1.htm";
        }
View Full Code Here

          player.sendPacket(new SystemMessage(SystemMessage.FEMALE_GUARDS_NOTICE_THE_DISGUISES_FROM_FAR_AWAY_BETTER_THAN_THE_MALE_GUARDS_DO_SO_BEWARE));
          htmltext = "identityconfirmdevice_q195_1.htm";
        }
        else
        {
          ref.openDoor(door3);
          ref.openDoor(door4);
          player.sendPacket(new SystemMessage(SystemMessage.THE_DOOR_IN_FRONT_OF_US_IS_THE_ENTRANCE_TO_THE_DAWN_S_DOCUMENT_STORAGE_APPROACH_TO_THE_CODE));
          player.showQuestMovie(ExStartScenePlayer.SCENE_SSQ_RITUAL_OF_PRIEST);
          htmltext = "identityconfirmdevice_q195_1.htm";
        }
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.