Examples of giveItems()


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

          {
            QuestState pst = pmember.getQuestState("_181_DevilsStrikeBackAdventOfBalok");
            if ((pst != null) && (pst.getCond() == 1))
            {
              pst.setCond(2);
              pst.giveItems(CON3, 1);
              pst.playSound(SOUND_MIDDLE);
            }
          }
        }
      }
View Full Code Here

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

      nextNpc.setRunning();
      nextNpc.setOwner(player);
      QuestState st = player.getQuestState("_020_BringUpWithLove");
      if ((st != null) && !st.isCompleted() && Rnd.chance(5) && (st.getQuestItemsCount(7185) == 0))
      {
        st.giveItems(7185, 1);
        st.setCond(2);
      }
      st = player.getQuestState("_655_AGrandPlanForTamingWildBeasts");
      if ((st != null) && !st.isCompleted() && (st.getCond() == 1))
      {
View Full Code Here

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

      st = player.getQuestState("_655_AGrandPlanForTamingWildBeasts");
      if ((st != null) && !st.isCompleted() && (st.getCond() == 1))
      {
        if (st.getQuestItemsCount(8084) < 10)
        {
          st.giveItems(8084, 1);
        }
      }
    }
    else
    {
View Full Code Here

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

            QuestState qs = member.getQuestState(getClass());
            if(qs != null && qs.isStarted())
            {
              if(st.getQuestItemsCount(Deadmans_Flesh) < 40)
              {
                qs.giveItems(Deadmans_Flesh, 1);
                qs.playSound(SOUND_ITEMGET);
                if(doneKill && st.getQuestItemsCount(Deadmans_Flesh) == 40)
                {
                  st.setCond(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.