Examples of takeItems()


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

    int npcId = npc.getNpcId();
    int cond = st.getCond();
    if(npcId == STONES && cond == 17)
    {
      st.playSound(SOUND_MIDDLE);
      st.takeItems(DETECTOR, 1);
      st.giveItems(DETECTOR2, 1);
      st.setCond(18);
      player.sendPacket(new ExShowScreenMessage("The radio signal detector is responding. A suspicious pile of stones catches your eye.", 4500, ScreenMessageAlign.TOP_CENTER));
    }
    return "";
View Full Code Here

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

        }
        else if ((step == 1) && (st.getQuestItemsCount(t.item) == 0) && (Ex <= 2))
        {
          if (st.getQuestItemsCount(BLUE_GEM) > 0)
          {
            st.takeItems(BLUE_GEM, st.getQuestItemsCount(BLUE_GEM));
            st.giveItems(t.item, 1);
            st.set("step", "2");
            qs.set("Ex", "3");
            st.startQuestTimer("TimerEx_NewbieHelper", 30000);
            qs.set("ucMemo", "3");
View Full Code Here

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

    int npcId = npc.getNpcId();
    int cond = st.getCond();
    if ((npcId == STONES) && (cond == 17))
    {
      st.playSound(SOUND_MIDDLE);
      st.takeItems(DETECTOR, 1);
      st.giveItems(DETECTOR2, 1);
      st.setCond(18);
      player.sendPacket(new ExShowScreenMessage(NpcString.THE_RADIO_SIGNAL_DETECTOR_IS_RESPONDING_A_SUSPICIOUS_PILE_OF_STONES_CATCHES_YOUR_EYE, 4500, ScreenMessageAlign.TOP_CENTER));
    }
    return "";
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.