Examples of SetupGauge


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

      if(obj instanceof L2Character)
      {
        L2Character Char = (L2Character) obj;
        MagicSkillUser msk = new MagicSkillUser(Char, 1008, 1, 4000, 0);
        Char.broadcastPacket(msk);
        SetupGauge sg = new SetupGauge(0, 4000);
        Char.sendPacket(sg);
      }
      //end of animation
      obj.decayMe();
      obj.spawnMe(obj.getX(),obj.getY(),obj.getZ());
View Full Code Here

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

    {
      // Send a system message
      sendPacket(new SystemMessage(SystemMessageId.GETTING_READY_TO_SHOOT_AN_ARROW));
     
      // Send a Server->Client packet SetupGauge
      SetupGauge sg = new SetupGauge(SetupGauge.RED, sAtk + reuse);
      sendPacket(sg);
    }
   
    // Create a new hit task with Medium priority
    ThreadPoolManager.getInstance().scheduleAi(new HitTask(target, damage1, crit1, miss1, attack.soulshot, shld1), sAtk);
View Full Code Here

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

    if (hitTime > 210)
    {
      // Send a Server->Client packet SetupGauge with the color of the gauge and the casting time
      if ((this instanceof L2PcInstance) && !forceBuff)
      {
        SetupGauge sg = new SetupGauge(SetupGauge.BLUE, hitTime);
        sendPacket(sg);
      }
     
      // Disable all skills during the casting
      disableAllSkills();
View Full Code Here

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

    if (_taskWater != null)
    {
      _taskWater.cancel(false);
     
      _taskWater = null;
      sendPacket(new SetupGauge(2, 0));
    }
  }
View Full Code Here

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

  {
    if (!isDead() && (_taskWater == null))
    {
      int timeinwater = 86000;
     
      sendPacket(new SetupGauge(2, timeinwater));
      _taskWater = ThreadPoolManager.getInstance().scheduleEffectAtFixedRate(new WaterTask(), timeinwater, 1000);
    }
  }
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.