Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.MagicSkillCanceld


      if(this instanceof L2PcInstance)
      {
        getAI().notifyEvent(CtrlEvent.EVT_FINISH_CASTING); // setting back previous intention
      }

      broadcastPacket(new MagicSkillCanceld(getObjectId())); // broadcast packet to stop animations client-side
      sendPacket(ActionFailed.STATIC_PACKET); // send an "action failed" packet to the caster
     
    }
      /*can't abort potion cast
      if(isCastingPotionNow()){
View Full Code Here


      cancelQuestTimer("skill03", npc, null);
      cancelQuestTimer("songs_play", npc, null);
      cancelQuestTimer("songs_effect", npc, null);
     
      if (frintezza != null)
        _Zone.broadcastPacket(new MagicSkillCanceld(frintezza.getObjectId()));
    }
    else if (event.equalsIgnoreCase("check_hp"))
    {
      if (npc.isDead())
      {
View Full Code Here

    // Enable all skills (set _allSkillsDisabled to False)
    enableAllSkills();

    // Send a Server->Client Packet MagicSkillCanceld to the L2PcInstance and all L2PcInstance in the _KnownPlayers of the L2Character (broadcast)
    MagicSkillCanceld msc = new MagicSkillCanceld(getObjectId());

    // Broadcast the packet to self and known players.
    Broadcast.toSelfAndKnownPlayersInRadius(this, msc, 810000/*900*/);
    msc = null;
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.MagicSkillCanceld

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.