Examples of exitCurrentQuest()


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

    }
    Quest q = QuestManager.getQuest("_234_FatesWhisper");
    QuestState qs = player.getQuestState(q.getClass());
    if(qs != null)
    {
      qs.exitCurrentQuest(true);
    }
    q.newQuestState(player, Quest.COMPLETED);
    if(player.getRace() == Race.kamael)
    {
      q = QuestManager.getQuest("_236_SeedsOfChaos");
View Full Code Here

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

    {
      q = QuestManager.getQuest("_236_SeedsOfChaos");
      qs = player.getQuestState(q.getClass());
      if(qs != null)
      {
        qs.exitCurrentQuest(true);
      }
      q.newQuestState(player, Quest.COMPLETED);
    }
    else
    {
View Full Code Here

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

    {
      q = QuestManager.getQuest("_235_MimirsElixir");
      qs = player.getQuestState(q.getClass());
      if(qs != null)
      {
        qs.exitCurrentQuest(true);
      }
      q.newQuestState(player, Quest.COMPLETED);
    }
  }
View Full Code Here

Examples of l2p.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);
  }

  private boolean cmd_Show(Quest _quest, String[] wordList, L2Player activeChar)
  {
View Full Code Here

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

          {
            QuestState qsp = member.getQuestState(this._name);
            if(qsp != null && qsp.getCond() == 2)
            {
              qsp.giveItems(13776 + inst.rewardType, 1);
              qsp.exitCurrentQuest(true);
            }
          }
          player.getReflection().startCollapseTimer(60 * 1000);
          mSoI.breakThroughTheHallOfSuffering.remove(refId);
          htmltext = "ai_is_time_attack_reward_q0695_13.htm";
View Full Code Here

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

          {
            QuestState qsp = member.getQuestState(this._name);
            if(qsp != null && qsp.getCond() == 2)
            {
              qsp.giveItems(13776 + inst.rewardType, 1);
              qsp.exitCurrentQuest(true);
            }
          }
          player.getReflection().startCollapseTimer(60 * 1000);
          mSoI.defendTheHallofSuffering.remove(refId);
          htmltext = "ai_is_time_attack_reward_q0695_13.htm";
View Full Code Here

Examples of l2p.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 l2p.gameserver.model.quest.QuestState.exitCurrentQuest()

        if(qn != null)
        {
          QuestState qs = getQuestState(qn);
          if(qs != null)
          {
            qs.exitCurrentQuest(true);
          }
        }
      }
    }
    if(store)
View Full Code Here

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

        qs.playTutorialVoice("tutorial_voice_026");
        qs.giveItems(SOULSHOT_NOVICE, 200);
      }
      int SCROLL_RECOVERY = 8594;
      qs.giveItems(SCROLL_RECOVERY, 2);
      qs.exitCurrentQuest(false);
    }
    return "";
  }

  @Override
View Full Code Here

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

        {
          qs.exitCurrentQuest(true);
        }
        if ((qs2 != null) && (getReflection().getInstancedZoneId() == 116))
        {
          qs2.exitCurrentQuest(true);
        }
      }
      _gotReward = true;
      showChatWindow(player, 2);
    }
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.