Examples of MagicSkillCanceld


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

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

      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

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

    // 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

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

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

   
    // 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
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.