Package l2p.gameserver.model.quest

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


      st.set("cond", "11");
      st.setState(STARTED);
      QuestTimer timer = st.getQuestTimer("AldersSpirit_Fail");
      if(timer != null)
      {
        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(AldersSpirit);
      if(isQuest != null)
      {
        isQuest.deleteMe();
View Full Code Here


        }
        st.set("Ex", "-3");
        QuestTimer timer = st.getQuestTimer("QT");
        if(timer != null)
        {
          timer.cancel();
        }
        st.startQuestTimer("QT", 30000);
      }
      else if(Ex == -3)
      {
View Full Code Here

    else if(event.startsWith("TE"))
    {
      QuestTimer timer = st.getQuestTimer("TE");
      if(timer != null)
      {
        timer.cancel();
      }
      int event_id = 0;
      if(!event.equalsIgnoreCase("TE"))
      {
        event_id = Integer.valueOf(event.substring(2));
View Full Code Here

    {
      Despawn_OlMahumSupportTroop();
      QuestTimer timer = st.getQuestTimer("Wait1");
      if(timer != null)
      {
        timer.cancel();
      }
      return null;
    }
    return htmltext;
  }
View Full Code Here

      return;
    } // Не убили, или убили чужого
    QuestTimer qt = st2.getQuestTimer("Archon Hellisha has despawned");
    if(qt != null)
    {
      qt.cancel();
    }
    if(st2.getQuestItemsCount(Items[3]) < 700)
    {
      st2.giveItems(Items[3], 1);
    }
View Full Code Here

        AutoChat(Mob_2, Text[13].replace("PLAYERNAME", player.getName()));
        DeleteMySpawn(player, NPC[4]);
        QuestTimer qt = st.getQuestTimer("Mob_2 has despawned");
        if(qt != null)
        {
          qt.cancel();
        }
        qt = st.getQuestTimer("NPC_4 Timer");
        if(qt != null)
        {
          qt.cancel();
View Full Code Here

          qt.cancel();
        }
        qt = st.getQuestTimer("NPC_4 Timer");
        if(qt != null)
        {
          qt.cancel();
        }
      }
      return null;
    }
    else if(event.equalsIgnoreCase("5-1"))
View Full Code Here

          st.set("Quest0", "1");
          st.set("Quest1", "0"); // На всякий случай
          QuestTimer qt = st.getQuestTimer("NPC_4 despawn");
          if(qt != null)
          {
            qt.cancel();
          }
          startQuestTimer("NPC_4 despawn", 180000, Mob_2, player);
        }
        htmltext = "10-04.htm";
      }
View Full Code Here

            npc.reduceCurrentHp(9999999, npc, null, true, true, false, false);
            DeleteMySpawn(player, Mob[2]);
            QuestTimer qt = st.getQuestTimer("Mob_2 despawn");
            if(qt != null)
            {
              qt.cancel();
            }
            st.set("Tab", "1");
          }
        }
      }
View Full Code Here

            }
          }
          QuestTimer qt = st.getQuestTimer("Mob_1 has despawned");
          if(qt != null)
          {
            qt.cancel();
          }
          DeleteMySpawn(st2.getPlayer(), Mob[0]);
        }
      }
      else if(npcId == Mob[1] && cond == 15)
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.