Examples of broadcastPacketToOthers()


Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

      Functions.npcSay(actor, "Готов�?те�?�? к �?мерти!!!");
      return true;
    }
    if ((rnd_per < 5) && (spawnTask == null) && (despawnTask == null))
    {
      actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 5441, 1, 3000, 0));
      spawnTask = ThreadPoolManager.getInstance().schedule(new SpawnMobsTask(), 3000);
      return true;
    }
    if (!actor.isAMuted() && (rnd_per < 75))
    {
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

    {
      isInside = ((Territory) spawnRange).isInside(x, y);
    }
    if (isInside)
    {
      actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 4671, 1, 500, 0));
      ThreadPoolManager.getInstance().schedule(new Teleport(new Location(x, y, z)), 500);
      _lastTeleport = System.currentTimeMillis();
    }
    return isInside;
  }
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

    setAttackTimeout(Long.MAX_VALUE);
    setAttackTarget(null);
    changeIntention(CtrlIntention.AI_INTENTION_ACTIVE, null, null);
    if (teleport)
    {
      actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 2036, 1, 500, 0));
      actor.teleToLocation(sloc.x, sloc.y, GeoEngine.getHeight(sloc, actor.getGeoIndex()));
    }
    else
    {
      if (!clearAggro)
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

    public void runImpl()
    {
      final NpcInstance actor = getActor();
      if (actor != null)
      {
        actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, PresentationBalor2, 1, 4000, 0));
      }
    }
  }
 
  /**
 
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

      return false;
    }
    final int rnd_per = Rnd.get(100);
    if (rnd_per < 5)
    {
      actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 5440, 1, 3000, 0));
      ThreadPoolManager.getInstance().schedule(new TrapTask(), 3000);
      return true;
    }
    final double distance = actor.getDistance(target);
    if (!actor.isAMuted() && (rnd_per < 75))
View Full Code Here

Examples of lineage2.gameserver.model.instances.NpcInstance.broadcastPacketToOthers()

    {
      return;
    }
    clientStopMoving();
    _pathfindFails = 0;
    actor.broadcastPacketToOthers(new MagicSkillUse(actor, actor, 2036, 1, 500, 600000));
    ThreadPoolManager.getInstance().schedule(new Teleport(loc), 500);
  }
 
  /**
   * Method getTopDesireTarget.
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.