Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Character.startAbnormalEffect()


        L2Character player = null;
        if (target instanceof L2Character)
        {
          player = (L2Character)target;
          if (type.equals("1"))
            player.startAbnormalEffect(0x0400);
          else
            player.startAbnormalEffect(0x0800);
          player.setIsParalyzed(true);
          StopMove sm = new StopMove(player);
          player.sendPacket(sm);
View Full Code Here


        {
          player = (L2Character)target;
          if (type.equals("1"))
            player.startAbnormalEffect(0x0400);
          else
            player.startAbnormalEffect(0x0800);
          player.setIsParalyzed(true);
          StopMove sm = new StopMove(player);
          player.sendPacket(sm);
          player.broadcastPacket(sm);
        }
View Full Code Here

      {
        for (L2PcInstance player : activeChar.getKnownList().getKnownPlayers().values())
        {
          if (!player.isGM())
          {
            player.startAbnormalEffect(0x0400);
            player.setIsParalyzed(true);
            StopMove sm = new StopMove(player);
            player.sendPacket(sm);
            player.broadcastPacket(sm);
          }
View Full Code Here

        L2Object target = activeChar.getTarget();
        L2Character player = null;
        if (target instanceof L2Character)
        {
          player = (L2Character)target;
          player.startAbnormalEffect(0x2000);
        }
      }
      catch (Exception e)
      {
      }
View Full Code Here

    {
      L2Character character=(L2Character)target;
      if ((character.getAbnormalEffect()&action) == action)
        character.stopAbnormalEffect(action);
      else
        character.startAbnormalEffect(action);
      return true;
    }
    return false;
  }
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.