Examples of openMe()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

          return;
        }
       
        if (success && (!door.getOpen()))
        {
          door.openMe();
          door.onOpen();
          SystemMessage msg = new SystemMessage(SystemMessageId.S1_S2);
          msg.addString("Unlock the door!");
          activeChar.sendPacket(msg);
          msg = null;
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

      if(door == null || castle == null)
        return false;

      if(castle.checkIfInZone(door.getX(), door.getY(), door.getZ()))
      {
        door.openMe();
      }

      door = null;
      castle = null;
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

    L2DoorInstance door = getDoor(doorId);
    if(door != null)
    {
      if(open)
      {
        door.openMe();
      }
      else
      {
        door.closeMe();
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

        if (door.getDoorName().startsWith("Anteroom"))
        {
          if (openChance > 0 && Rnd.get(100) < openChance)
          {
            activeChar.sendMessage("You opened Anterooms Door.");
            door.openMe();
            door.onOpen(); // Closes the door after 60sec
            activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));
          }
          else
          {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

        if (door.getDoorName().startsWith("Altar_Entrance") || door.getDoorName().startsWith("Chapel_Door"))
        {
          if (openChance > 0 && Rnd.get(100) < openChance)
          {
            activeChar.sendMessage("You opened Altar Entrance.");
            door.openMe();
            door.onOpen();
            activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));
          }
          else
          {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

        if (door.getDoorName().startsWith("Door_of_Darkness"))
        {
          if (openChance > 0 && Rnd.get(100) < openChance)
          {
            activeChar.sendMessage("You opened Door of Darkness.");
            door.openMe();
            door.onOpen();
            activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));
          }
          else
          {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2DoorInstance.openMe()

    if(door != null)
    {
      if(open)
      {
        door.openMe();
      }
      else
      {
        door.closeMe();
      }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2DoorInstance.openMe()

    }
    if(target.equals("doors") && activeChar.isClanLeader() && castle.checkIfInZone(door.getX(), door.getY()))
    {
      if(command.startsWith("open"))
      {
        door.openMe();
      }
      else if(command.startsWith("close"))
      {
        door.closeMe();
      }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2DoorInstance.openMe()

    for(int i : doors)
    {
      L2DoorInstance door = DoorTable.getInstance().getDoor(i);
      if(open)
      {
        door.openMe();
      }
      else
      {
        door.closeMe();
      }
View Full Code Here

Examples of l2p.gameserver.model.instances.L2DoorInstance.openMe()

    if(!L2NpcInstance.canBypassCheck(player, player.getLastNpc()))
    {
      return;
    }
    L2DoorInstance door = DoorTable.getInstance().getDoor(DoorId);
    door.openMe();
  }

  public void closeDoor()
  {
    L2Player player = (L2Player) getSelf();
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.