Package lineage2.gameserver.stats.conditions

Examples of lineage2.gameserver.stats.conditions.Condition


          break;
        case 30:
        case 20:
        case 10:
        case 5:
          Announcements.getInstance().announceToAll(new SystemMessage(SystemMessage.THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS__PLEASE_FIND_A_SAFE_PLACE_TO_LOG_OUT).addNumber(shutdownCounter));
          break;
        case 0:
          switch (shutdownMode)
          {
            case SHUTDOWN:
View Full Code Here


    {
      return;
    }
    if (!Config.ALT_ALLOW_SHADOW_WEAPONS)
    {
      show(new CustomMessage("common.Disabled", player), player);
      return;
    }
    if ((player.getLevel() > 19) || (player.getClassLevel() > 1))
    {
      show("Your level is too high!", player);
View Full Code Here

    {
      return;
    }
    if (!Config.ALT_ALLOW_SHADOW_WEAPONS)
    {
      show(new CustomMessage("common.Disabled", player), player);
      return;
    }
    if ((player.getLevel() > 39) || (player.getClassLevel() > 2))
    {
      show("Your level is too high!", player);
View Full Code Here

      ThreadPoolManager.getInstance().schedule(new RestoreOfflineTraders(), 30000L);
    }
    getListeners().onStart();
    if (Config.IS_TELNET_ENABLED)
    {
      statusServer = new TelnetServer();
    }
    else
    {
      _log.info("Telnet server is currently disabled.");
    }
View Full Code Here

            template.setUnequipeSkill(skill);
          }
        }
        else if (subName.equalsIgnoreCase("cond"))
        {
          Condition condition = parseFirstCond(subElement);
          if (condition != null)
          {
            int msgId = parseNumber(subElement.attributeValue("msgId")).intValue();
            condition.setSystemMsg(msgId);
            template.setCondition(condition);
          }
        }
        else if (subName.equalsIgnoreCase("attributes"))
        {
View Full Code Here

   * @param element Element
   * @return Condition
   */
  protected Condition parseTargetCondition(Element element)
  {
    Condition cond = null;
    for (Iterator<Attribute> iterator = element.attributeIterator(); iterator.hasNext();)
    {
      Attribute attribute = iterator.next();
      String name = attribute.getName();
      String value = attribute.getValue();
View Full Code Here

   * @param element Element
   * @return Condition
   */
  protected Condition parseZoneCondition(Element element)
  {
    Condition cond = null;
    for (Iterator<Attribute> iterator = element.attributeIterator(); iterator.hasNext();)
    {
      Attribute attribute = iterator.next();
      String name = attribute.getName();
      String value = attribute.getValue();
View Full Code Here

   * @param element Element
   * @return Condition
   */
  protected Condition parsePlayerCondition(Element element)
  {
    Condition cond = null;
    for (Iterator<Attribute> iterator = element.attributeIterator(); iterator.hasNext();)
    {
      Attribute attribute = iterator.next();
      String name = attribute.getName();
      String value = attribute.getValue();
View Full Code Here

   * @param element Element
   * @return Condition
   */
  protected Condition parseUsingCondition(Element element)
  {
    Condition cond = null;
    for (Iterator<Attribute> iterator = element.attributeIterator(); iterator.hasNext();)
    {
      Attribute attribute = iterator.next();
      String name = attribute.getName();
      String value = attribute.getValue();
View Full Code Here

      TriggerInfo trigger = new TriggerInfo(id, level, t, chance);
      triggerable.addTrigger(trigger);
      for (Iterator<Element> subIterator = element.elementIterator(); subIterator.hasNext();)
      {
        Element subElement = subIterator.next();
        Condition condition = parseFirstCond(subElement);
        if (condition != null)
        {
          trigger.addCondition(condition);
        }
      }
View Full Code Here

TOP

Related Classes of lineage2.gameserver.stats.conditions.Condition

Copyright © 2018 www.massapicom. 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.