Examples of openDoor()


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

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

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

    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

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

    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

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

    {
      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

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

      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

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

          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

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

          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

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

    }
    else if (event.equalsIgnoreCase("correct_code"))
    {
      if (ref != null)
      {
        ref.openDoor(door5);
        ref.openDoor(door6);
      }
      htmltext = "passwordentrydevice_q195_1.htm";
    }
    else if (event.equalsIgnoreCase("bookshelf_q195_2.htm"))
View Full Code Here

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

    else if (event.equalsIgnoreCase("correct_code"))
    {
      if (ref != null)
      {
        ref.openDoor(door5);
        ref.openDoor(door6);
      }
      htmltext = "passwordentrydevice_q195_1.htm";
    }
    else if (event.equalsIgnoreCase("bookshelf_q195_2.htm"))
    {
View Full Code Here

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

      Reflection reflect = p.getReflection();
      NpcInstance officer = getNpcFromReflection(INFILTRATION_OFFICER, reflect);
      if(reflect.getInstancedZoneId() == INSTANCED_ZONE_ID)
      {
        st.set("stage", 1);
        reflect.openDoor(16240002);
        officer.setRunning();
        officer.setFollowTarget(st.getPlayer());
        officer.getAI().setIntention(CtrlIntention.AI_INTENTION_FOLLOW, st.getPlayer(), 150);
      }
      return null;
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.