Package lineage2.gameserver.model.instances

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


              if (activeChar.isInStoreMode())
              {
                activeChar.setPrivateStoreType(Player.STORE_PRIVATE_NONE);
              }
              target.sitDown(null);
              target.block();
              target.sendMessage("You moved to jail, time to escape - " + period + " minutes, reason - " + reason + " .");
              activeChar.sendMessage("You jailed " + player + ".");
            }
            else
            {
View Full Code Here


  {
    super.onEvtSpawn();
    final NpcInstance actor = getActor();
    iced = true;
    actor.setNpcState(1);
    actor.block();
    final Reflection r = actor.getReflection();
    if ((r != null) && (r.getPlayers() != null))
    {
      for (Player p : r.getPlayers())
      {
View Full Code Here

  {
    @Override
    public void runImpl() throws Exception
    {
      NpcInstance ballista = addSpawnWithoutRespawn(Ballista, new Location(-177125, 147856, -11384, 49140), 0);
      ballista.block();
      ballista.addListener(_currentHpListenerBallista);

      for(Player players : getPlayers())
        players.sendPacket(new ExShowScreenMessage(NpcString.AFTER_$s1_SECONDS_THE_CHARGING_MAGIC_BALLISTAS_STARTS, 5000, ScreenMessageAlign.TOP_CENTER, false, String.valueOf(1)));
View Full Code Here

      for(Player players : getPlayers())
        players.sendPacket(new ExShowScreenMessage(NpcString.AFTER_$s1_SECONDS_THE_CHARGING_MAGIC_BALLISTAS_STARTS, 5000, ScreenMessageAlign.TOP_CENTER, false, String.valueOf(1)));

      NpcInstance isthinaFinal = addSpawnWithoutRespawn(Isthina, new Location(-177128, 147224, -11414, 16383), 0);
      isthinaFinal.setTargetable(false);
      isthinaFinal.block();
    }
  }
}
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.