Package net.sf.l2j.gameserver.serverpackets

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


      enableAllSkills(); // re-enables the skills
      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(new ActionFailed()); // send an "action failed" packet to the caster
    }
  }
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 */);
  }
 
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.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.