Package net.sf.l2j.gameserver.serverpackets

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


    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

   
    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

      {
        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

Related Classes of net.sf.l2j.gameserver.serverpackets.ChangeWaitType

Copyright © 2018 www.massapicom. 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.