Package l2p.gameserver.model.quest

Examples of l2p.gameserver.model.quest.QuestTimer.cancel()


        st.set("cond", "3");
        st.setState(STARTED);
        QuestTimer timer = st.getQuestTimer("Wait1");
        if(timer != null)
        {
          timer.cancel();
        }
      }
    }
    else if(npcId == OlMahumInspector)
    {
View Full Code Here


        isQuest.deleteMe();
      }
      QuestTimer timer = st.getQuestTimer("Wait2");
      if(timer != null)
      {
        timer.cancel();
      }
      if(cond == 6)
      {
        st.set("cond", "7");
        st.setState(STARTED);
View Full Code Here

        isQuest.deleteMe();
      }
      QuestTimer timer = st.getQuestTimer("Wait3");
      if(timer != null)
      {
        timer.cancel();
      }
      if(cond == 8)
      {
        if(st.getQuestItemsCount(LetterOfBetrayer) == 0)
        {
View Full Code Here

        isQuest.deleteMe();
      }
      QuestTimer timer = st.getQuestTimer("Wait4");
      if(timer != null)
      {
        timer.cancel();
      }
      if(cond == 12)
      {
        st.set("cond", "13");
        st.setState(STARTED);
View Full Code Here

        isQuest.deleteMe();
      }
      QuestTimer timer = st.getQuestTimer("Wait5");
      if(timer != null)
      {
        timer.cancel();
      }
      if(cond == 15)
      {
        st.set("cond", "16");
        st.setState(STARTED);
View Full Code Here

    if(event.equalsIgnoreCase("32332-01.htm"))
    {
      QuestTimer timer = st.getQuestTimer("Katenar_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      st.giveItems(Sealed_Doc, 1);
      st.set("cond", "13");
      st.unset("id");
      st.setState(STARTED);
View Full Code Here

    if(npcId == Guardian_Angel)
    {
      QuestTimer timer = st.getQuestTimer("Guardian_Angel_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      Despawn_Guardian_Angel();
      if(cond == 12)
      {
        for(L2Player cha : L2World.getAroundPlayers(st.getPlayer()))
View Full Code Here

      st.set("cond", "13");
      st.giveItems(H_LETTER, 1);
      QuestTimer timer = st.getQuestTimer("HARKILGAMED_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      DESPAWN_HARKILGAMED();
    }
    else if(event.equalsIgnoreCase("32215-05a.htm"))
    {
View Full Code Here

    else if(cond == 4 && npcId == DrevanulPrinceZeruel)
    {
      QuestTimer timer = st.getQuestTimer("DrevanulPrinceZeruel_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel);
      if(isQuest != null)
      {
        isQuest.deleteMe();
View Full Code Here

        return "You trapped the Seal of Drevanul Prince Zeruel";
      }
      QuestTimer timer = st.getQuestTimer("DrevanulPrinceZeruel_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel);
      if(isQuest != null)
      {
        isQuest.deleteMe();
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.