Examples of exitCurrentQuest()


Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

      if ((questState == null) || (questState.getQuestItemsCount(8293) != 1))
      {
        showChatWindow(player, "residence2/clanhall/farm_kel_mahum_messenger_27.htm");
        return;
      }
      questState.exitCurrentQuest(true);
      register(player);
    }
    else if (command.equalsIgnoreCase("registerAsMember"))
    {
      CTBSiegeClanObject siegeClan = siegeEvent.getSiegeClan(SiegeEvent.ATTACKERS, player.getClan());
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

      if ((questState == null) || (questState.getQuestItemsCount(5009) != 1))
      {
        showChatWindow(player, "residence2/clanhall/agit_oel_mahum_messeger_24.htm");
        return;
      }
      questState.exitCurrentQuest(true);
      register(player);
    }
    else if (command.equalsIgnoreCase("registerByOffer"))
    {
      if (!checkCond(player, false))
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

          continue;
        }
        QuestState qs = player.getQuestState(getName());
        if (qs != null)
        {
          qs.exitCurrentQuest(true);
        }
      }
      offlineMemberExit(st);
    }
    catch (Exception e)
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

    if (qs == null)
    {
      activeChar.sendMessage("Player " + targetChar.getName() + " havn't Quest [" + _quest.getName() + "]");
      return false;
    }
    qs.exitCurrentQuest(true);
    return ShowQuestList(targetChar, activeChar);
  }
 
  /**
   * Method cmd_Show.
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

            htmltext = "33155-01.htm";
          }
          else
          {
            htmltext = "33155-02.htm";
            st.exitCurrentQuest(true);
          }
          break;
        case 1:
          if (st.getCond() != 1)
          {
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

            htmltext = "33406-01.htm";
          }
          else
          {
            htmltext = "33406-02.htm";
            st.exitCurrentQuest(true);
          }
          break;
        case 1:
          if (st.getCond() != 1)
          {
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

        else if (st.getCond() == 3)
        {
          htmltext = "33358-07.htm";
          st.addExpAndSp(3000000, 2500000);
          player.getInventory().getItemByItemId(CON4);
          st.exitCurrentQuest(false);
        }
      }
      else if (st.isCompleted())
      {
        htmltext = "33358-03.htm";
View Full Code Here

Examples of lineage2.gameserver.model.quest.QuestState.exitCurrentQuest()

          if (qn != null)
          {
            QuestState qs = getQuestState(qn);
            if (qs != null)
            {
              qs.exitCurrentQuest(true);
            }
          }
        }
      }
      if (store)
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.