Examples of openDoor()


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", 3);
        reflect.openDoor(16240004);
        officer.setRunning();
        officer.setFollowTarget(st.getPlayer());
        officer.getAI().setIntention(CtrlIntention.AI_INTENTION_FOLLOW, st.getPlayer(), 150);
        st.getPlayer().sendPacket(new ExShowScreenMessage(NpcString.MARK_OF_BELIS_CAN_BE_ACQUIRED_FROM_ENEMIES, 7000, ScreenMessageAlign.TOP_CENTER));
        st.startQuestTimer("belise_mark_msg_timer", 10000);
View Full Code Here

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

            Player player = st.getPlayer();
            Reflection reflect = player.getActiveReflection();
            if(reflect.getInstancedZoneId() == INSTANCED_ZONE_ID)
            {
              st.set("stage", 4);
              reflect.openDoor(16240005);
              NpcInstance officer = getNpcFromReflection(INFILTRATION_OFFICER, reflect);
              if(officer != null)
                officerMoveToLocation(officer, new Location(-117896, 214248, -8617, 49151));
            }
            htmltext = "belis_verification_system_q10331_3.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", 5);
        reflect.openDoor(16240006);
        officer.setRunning();
        NpcInstance generator = getNpcFromReflection(ELECTRICITY_GENERATOR, reflect);
        if(generator != null)
        {
          generator.setNpcState(1);
View Full Code Here

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

        int defenderKills = st.getInt("defender_kills");
        if(defenderKills >= NEED_DEFENDERS_KILLS_COUNT)
        {
          st.set("stage", 6);
          st.getPlayer().sendPacket(new ExShowScreenMessage(NpcString.ELECTRONIC_DEVICE_HAS_BEEN_DESTROYED, 5000, ScreenMessageAlign.TOP_CENTER));
          reflect.openDoor(16240007);
          reflect.getZone("[belise_labyrinth_03_1]").setActive(true);
          reflect.getZone("[belise_labyrinth_03_2]").setActive(false);

          NpcInstance officer = getNpcFromReflection(INFILTRATION_OFFICER, reflect);
          if(officer != null)
View Full Code Here

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

      Player player = st.getPlayer();
      Reflection reflect = player.getActiveReflection();
      if(reflect.getInstancedZoneId() == INSTANCED_ZONE_ID)
      {
        st.set("stage", 7);
        reflect.openDoor(16240008);
        SceneMovie scene = SceneMovie.sc_talking_island_boss_opening;
        st.getPlayer().showQuestMovie(scene);
        st.startQuestTimer("spawn_nemertess", scene.getDuration(), npc);
      }
      return null;
View Full Code Here

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

          {
            int killsCount = st.getInt("operative_kills") + 1;
            if(killsCount >= NEED_OPERATIVES_KILLS_COUNT)
            {
              st.set("stage", 2);
              reflect.openDoor(16240003);
              NpcInstance officer = getNpcFromReflection(INFILTRATION_OFFICER, reflect);
              if(officer != null)
                officerMoveToLocation(officer, new Location(-117037, 212504, -8592, 39479));
            }
            else
View Full Code Here

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

    Reflection r = player.getReflection();
    if ((r == null) || r.isDefault())
    {
      return;
    }
    r.openDoor(21100101);
    r.openDoor(21100102);
    r.openDoor(21100103);
    r.openDoor(21100104);
    r.spawnByGroup("tombguards1");
    r.spawnByGroup("tombguards2");
View Full Code Here

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

    if ((r == null) || r.isDefault())
    {
      return;
    }
    r.openDoor(21100101);
    r.openDoor(21100102);
    r.openDoor(21100103);
    r.openDoor(21100104);
    r.spawnByGroup("tombguards1");
    r.spawnByGroup("tombguards2");
    r.spawnByGroup("tombguards3");
View Full Code Here

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

    {
      return;
    }
    r.openDoor(21100101);
    r.openDoor(21100102);
    r.openDoor(21100103);
    r.openDoor(21100104);
    r.spawnByGroup("tombguards1");
    r.spawnByGroup("tombguards2");
    r.spawnByGroup("tombguards3");
    r.spawnByGroup("tombguards4");
View Full Code Here

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

      return;
    }
    r.openDoor(21100101);
    r.openDoor(21100102);
    r.openDoor(21100103);
    r.openDoor(21100104);
    r.spawnByGroup("tombguards1");
    r.spawnByGroup("tombguards2");
    r.spawnByGroup("tombguards3");
    r.spawnByGroup("tombguards4");
  }
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.