Examples of ChangeWaitType


Examples of lineage2.gameserver.network.serverpackets.ChangeWaitType

  {
    super.onExit();
    Player player = (Player) getEffected();
    player.setNonAggroTime(System.currentTimeMillis() + 5000L);
    player.setFakeDeath(false);
    player.broadcastPacket(new ChangeWaitType(player, ChangeWaitType.WT_STOP_FAKEDEATH));
    player.broadcastPacket(new Revive(player));
    player.broadcastCharInfo();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ChangeWaitType

    }
    resetWaitSitTime();
    getAI().setIntention(CtrlIntention.AI_INTENTION_REST, null, null);
    if (throne == null)
    {
      broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_SITTING));
    }
    else
    {
      broadcastPacket(new ChairSit(this, throne));
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ChangeWaitType

    {
      return;
    }
    getEffectList().stopAllSkillEffects(EffectType.Relax);
    getAI().clearNextAction();
    broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_STANDING));
    _sittingObject = null;
    setSitting(false);
    sittingTaskLaunched = true;
    ThreadPoolManager.getInstance().schedule(new EndStandUpTask(this), 2500);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ChangeWaitType

    setIsFakeDeath(true);
    /* Aborts any attacks/casts if fake dead */
    abortAttack();
    abortCast();
    getAI().notifyEvent(CtrlEvent.EVT_FAKE_DEATH, null);
    broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_START_FAKEDEATH));
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ChangeWaitType

    if (this instanceof L2PcInstance)
    {
      ((L2PcInstance) this).setRecentFakeDeath(true);
    }
   
    ChangeWaitType revive = new ChangeWaitType(this, ChangeWaitType.WT_STOP_FAKEDEATH);
    broadcastPacket(revive);
    getAI().notifyEvent(CtrlEvent.EVT_THINK, null);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ChangeWaitType

   
    if (!_waitTypeSitting && !isAttackingDisabled() && !isOutOfControl() && !isImobilised())
    {
      breakAttack();
      setIsSitting(true);
      broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_SITTING));
      // Schedule a sit down task to wait for the animation to finish
      ThreadPoolManager.getInstance().scheduleGeneral(new SitDownTask(this), 2500);
      setIsParalyzed(true);
    }
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ChangeWaitType

      {
        setRelax(false);
        stopEffects(L2Effect.EffectType.RELAXING);
      }
     
      broadcastPacket(new ChangeWaitType(this, ChangeWaitType.WT_STANDING));
      // Schedule a stand up task to wait for the animation to finish
      ThreadPoolManager.getInstance().scheduleGeneral(new StandUpTask(this), 2500);
    }
  }
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.