Package l2p.gameserver.model.quest

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


          {
            st.playSound(SOUND_BEFORE_BATTLE);
            QuestTimer timer = st.getQuestTimer("Wait1");
            if(timer != null)
            {
              timer.cancel();
            }
          }
          else
          {
            st.startQuestTimer("Wait1", 300000);
View Full Code Here


          else
          {
            QuestTimer timer = st.getQuestTimer("Wait2");
            if(timer != null)
            {
              timer.cancel();
            }
            st.startQuestTimer("EnkuOrcOverlordQuestMonster", 200000);
            st.addSpawn(EnkuOrcOverlordQuestMonster);
            st.addSpawn(EnkuOrcOverlordQuestMonster);
            st.addSpawn(EnkuOrcOverlordQuestMonster);
View Full Code Here

          else
          {
            QuestTimer timer = st.getQuestTimer("Wait3");
            if(timer != null)
            {
              timer.cancel();
            }
            st.startQuestTimer("MakumBugbearThugQuestMonster", 200000);
            st.addSpawn(MakumBugbearThugQuestMonster);
            st.addSpawn(MakumBugbearThugQuestMonster);
            st.playSound(SOUND_BEFORE_BATTLE);
View Full Code Here

      if(npcId == PashikasSonOfVoltarQuestMonster)
      {
        QuestTimer timer = st.getQuestTimer("PashikasSonOfVoltarQuestMonster");
        if(timer != null)
        {
          timer.cancel();
        }
        L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(PashikasSonOfVoltarQuestMonster);
        if(isQuest != null)
        {
          isQuest.deleteMe();
View Full Code Here

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

      else if(npcId == RevenantOfTantosChief)
      {
        QuestTimer timer = st.getQuestTimer("RevenantOfTantosChief");
        if(timer != null)
        {
          timer.cancel();
        }
        timer = st.getQuestTimer("Wait4");
        if(timer != null)
        {
          timer.cancel();
View Full Code Here

          timer.cancel();
        }
        timer = st.getQuestTimer("Wait4");
        if(timer != null)
        {
          timer.cancel();
        }
        L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(RevenantOfTantosChief);
        if(isQuest != null)
        {
          isQuest.deleteMe();
View Full Code Here

        st.takeItems(ManakiaLetter1st, -1);
        st.giveItems(GloveOfVoltar, 1);
        QuestTimer timer = st.getQuestTimer("Wait1");
        if(timer != null)
        {
          timer.cancel();
        }
        st.startQuestTimer("PashikasSonOfVoltarQuestMonster", 200000);
        st.startQuestTimer("VultusSonOfVoltarQuestMonster", 200000);
        st.addSpawn(PashikasSonOfVoltarQuestMonster);
        st.addSpawn(VultusSonOfVoltarQuestMonster);
View Full Code Here

    else if(npcId == QuestMonsterDurkaSpirit)
    {
      QuestTimer timer = st.getQuestTimer("QuestMonsterDurkaSpirit_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      for(L2NpcInstance qnpc : L2ObjectsStorage.getAllByNpcId(QuestMonsterDurkaSpirit, false))
      {
        qnpc.deleteMe();
      }
View Full Code Here

          isQuest.deleteMe();
        }
        QuestTimer timer = st.getQuestTimer("Wait2");
        if(timer != null)
        {
          timer.cancel();
        }
      }
    }
    else if(npcId == Kakan)
    {
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.