Package l2p.gameserver.model.quest

Examples of l2p.gameserver.model.quest.QuestTimer.cancel()


            }
          }
          QuestTimer qt = st.getQuestTimer("Archon Hellisha has despawned");
          if(qt != null)
          {
            qt.cancel();
          }
          DeleteMySpawn(st2.getPlayer(), Mob[1]);
        }
      }
      else if(npcId == Mob[2] && cond == 17)
View Full Code Here


          npc.reduceCurrentHp(9999999, npc, null, true, true, false, false);
          DeleteMySpawn(player, Mob[2]);
          QuestTimer qt = st.getQuestTimer("Mob_2 despawn");
          if(qt != null)
          {
            qt.cancel();
          }
          st.set("Tab", "1");
        }
      }
    }
View Full Code Here

        isQuest.deleteMe();
      }
      QuestTimer timer = st.getQuestTimer("Wait1");
      if(timer != null)
      {
        timer.cancel();
      }
      timer = st.getQuestTimer("Chest");
      if(timer != null)
      {
        timer.cancel();
View Full Code Here

        timer.cancel();
      }
      timer = st.getQuestTimer("Chest");
      if(timer != null)
      {
        timer.cancel();
      }
      if(st.getInt("cond") == 17)
      {
        st.set("cond", "16");
      }
View Full Code Here

            st.giveItems(POTION_OF_RECOVERY, 1);
            st.giveItems(VOUCHER_OF_FAITH, 1);
            QuestTimer timer = leader.getQuestTimer("poison_timer");
            if(timer != null)
            {
              timer.cancel();
            }
            removeQuestFromMembers(st, false);
            st.getPlayer().setImobilised(false);
            st.getPlayer().getEffectList().stopEffect(4082);
            st.set("cond", "4");
View Full Code Here

        st.playSound(SOUND_FINISH);
        st.giveItems(BLOOD_OF_EVA, 1);
        QuestTimer timer = leader.getQuestTimer("chest_timer");
        if(timer != null)
        {
          timer.cancel();
        }
        stop_chest_game(st);
        leader.set("chest_game", "3");
        return "30758-08.htm";
      }
View Full Code Here

          }
          if(count >= 4)
          {
            stop_chest_game(st);
            leader.set("chest_game", "2");
            timer.cancel();
            st.playSound(SOUND_MIDDLE);
          }
          else
          {
            st.playSound(SOUND_ITEMGET);
View Full Code Here

      {
        timer1.cancel();
      }
      if(timer2 != null)
      {
        timer2.cancel();
      }
      removeQuestFromMembers(st, true);
    }
    return null;
  }
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.