Examples of openMe()


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

  {
    final int CLOSE_TIME = 10000; // 10 секунд
    L2DoorInstance door = DoorTable.getInstance().getDoor(doorId);
    if(!door.isOpen())
    {
      door.openMe();
      door.scheduleCloseMe(CLOSE_TIME);
    }
  }
}
View Full Code Here

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

            L2DoorInstance doorObj = DoorTable.getInstance().getDoor(door);
            if(door != 19260051 && door != 19260052)
            {
              ThreadPoolManager.getInstance().scheduleAi(new CloseDoor(door), 60000, false);
            }
            doorObj.openMe();
          }
        }
        //saveGlobalQuestVar("OpenDoor - " + npc.getNpcId(), String.valueOf(Calendar.getInstance().getTimeInMillis() + 120000));
      }
    }
View Full Code Here

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

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

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

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

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

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

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

          r.addDoor(door);
          door.setReflection(r);
          door.spawnMe();
          if(d.isOpen())
          {
            door.openMe();
          }
        }
      }
    }
    World world = new World();
View Full Code Here

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

      player.sendPacket(Msg.YOU_ARE_UNABLE_TO_UNLOCK_THE_DOOR);
      return;
    }
    L2ItemInstance ri = player.getInventory().destroyItem(item, 1, true);
    player.sendPacket(SystemMessage.removeItems(ri.getItemId(), 1), new SystemMessage("l2p.gameserver.skills.skillclasses.Unlock.Success", player));
    door.openMe();
    door.onOpen();
  }

  public int[] getItemIds()
  {
View Full Code Here

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

      door.setReflection(this);
      addDoor(door);
      door.spawnMe();
      if(d.isOpen())
      {
        door.openMe();
      }
      door.setIsInvul(d.isInvul());
    }
  }
View Full Code Here

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

          r.addDoor(door);
          door.setReflection(r);
          door.spawnMe();
          if(d.isOpen())
          {
            door.openMe();
          }
        }
      }
    }
    World world = new World();
View Full Code Here

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

        if(targ.isDoor())
        {
          L2DoorInstance target = (L2DoorInstance) targ;
          if(!target.isOpen() && (target.key > 0 || Rnd.chance(_unlockPower - target.level * 100)))
          {
            target.openMe();
            target.onOpen();
          }
          else
          {
            activeChar.sendPacket(Msg.YOU_HAVE_FAILED_TO_UNLOCK_THE_DOOR);
 
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.