Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.MagicSkillCanceled


      if(_skillLaunchedTask != null)
      {
        _skillLaunchedTask.cancel(false); // cancels the skill hit scheduled task
        _skillLaunchedTask = null;
      }
      broadcastPacket(new MagicSkillCanceled(_objectId)); // broadcast packet to stop animations client-side
      getAI().setIntention(AI_INTENTION_ACTIVE);
      if(isPlayer())
      {
        sendPacket(Msg.CASTING_HAS_BEEN_INTERRUPTED);
      }
View Full Code Here


      return;
    }
    if(skill.getCastRange() < 32767 && skill.getSkillType() != SkillType.TAKECASTLE && skill.getSkillType() != SkillType.TAKEFORTRESS && !GeoEngine.canSeeTarget(this, aimingTarget, isFlying()))
    {
      sendPacket(Msg.CANNOT_SEE_TARGET);
      broadcastPacket(new MagicSkillCanceled(_objectId));
      onCastEndTime();
      return;
    }
    GArray<L2Character> targets = skill.getTargets(this, aimingTarget, forceUse);
    int hpConsume = skill.getHpConsume();
View Full Code Here

            for(L2Player pc : getPlayersInside())
            {
              pc.enterMovieMode();
            }
            blockAll(true);
            frintezza.broadcastPacket(new MagicSkillCanceled(frintezza.getObjectId()));
            frintezza.broadcastPacket(new SocialAction(frintezza.getObjectId(), 4));
            ThreadPoolManager.getInstance().scheduleGeneral(new ThirdMorph(2), 100);
            break;
          case 2:
            showSocialActionMovie(frintezza, 250, 120, 15, 0, 1000, 0);
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.MagicSkillCanceled

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.