Examples of startAbnormalEffect()


Examples of l2p.gameserver.model.L2Player.startAbnormalEffect()

      }
      //invul
      if(activeChar.getVarB("gm_invul"))
      {
        activeChar.setIsInvul(true);
        activeChar.startAbnormalEffect(AbnormalEffect.S_INVULNERABLE);
        activeChar.sendMessage(activeChar.getName() + " is now immortal.");
      }
      //gmspeed
      try
      {
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.startAbnormalEffect()

    if(_effected.isNpc())
    {
      L2NpcInstance npc = (L2NpcInstance) _effected;
      npc.setCollisionHeight(npc.getCollisionHeight() * 1.24);
      npc.setCollisionRadius(npc.getCollisionRadius() * 1.19);
      npc.startAbnormalEffect(AbnormalEffect.GROW);
    }
  }

  @Override
  public void onExit()
View Full Code Here

Examples of lineage2.gameserver.model.Creature.startAbnormalEffect()

          return false;
        }
        Creature effectTarget = target == null ? activeChar : (Creature) target;
        if (ae == AbnormalEffect.NULL)
        {
          effectTarget.startAbnormalEffect(AbnormalEffect.NULL);
          effectTarget.sendMessage("Abnormal effects clearned by admin.");
          if (effectTarget != activeChar)
          {
            effectTarget.sendMessage("Abnormal effects clearned.");
          }
View Full Code Here

Examples of lineage2.gameserver.model.Creature.startAbnormalEffect()

            effectTarget.sendMessage("Abnormal effects clearned.");
          }
        }
        else
        {
          effectTarget.startAbnormalEffect(ae);
          effectTarget.sendMessage("Admin added abnormal effect: " + ae.getName());
          if (effectTarget != activeChar)
          {
            effectTarget.sendMessage("Added abnormal effect: " + ae.getName());
          }
View Full Code Here

Examples of lineage2.gameserver.model.Player.startAbnormalEffect()

        activeChar.sendPacket(SystemMsg.MESSAGE_REFUSAL_MODE);
      }
      if (activeChar.getVarB("gm_invul"))
      {
        activeChar.setIsInvul(true);
        activeChar.startAbnormalEffect(AbnormalEffect.S_INVINCIBLE);
        activeChar.sendMessage(activeChar.getName() + " is now immortal.");
      }
      try
      {
        int var_gmspeed = Integer.parseInt(activeChar.getVar("gm_gmspeed"));
View Full Code Here

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

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

        {
          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

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

      {
        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

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

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

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

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