Package com.l2jfrozen.gameserver.model.quest

Examples of com.l2jfrozen.gameserver.model.quest.QuestTimer.cancel()


        }

        Object[] characters = result.toArray();
        QuestTimer timer = getQuestTimer("clean_player", npc, null);
        if (timer != null)
            timer.cancel();
        startQuestTimer("clean_player", 20000, npc, null);
        L2Character target = (L2Character) characters[Rnd.get(characters.length)];
        FastList.recycle(result);
        return target;
View Full Code Here


    QuestTimer timer = getQuestTimer("launch_random_skill", npc, null);
   
    if (npc == null)
    {
      if (timer != null)
        timer.cancel();
      return;
    }
   
    if (npc.isInvul())
      return;
View Full Code Here

      return;
    }
   
    if (Util.checkIfInRange(skill.getCastRange(), npc, target, true))
    {
      timer.cancel();
      npc.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
      //npc.setIsCastingNow(true);
      npc.setTarget(target);
      npc.doCast(skill);
     
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.