Examples of openMe()


Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

  protected void onEvtDead(Creature killer)
  {
    for (int door2 : doors)
    {
      DoorInstance door = ReflectionUtils.getDoor(door2);
      door.openMe();
    }
    super.onEvtDead(killer);
    setZoneActive();
  }
 
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

  protected void onEvtDead(Creature killer)
  {
    for (int door2 : doors)
    {
      DoorInstance door = ReflectionUtils.getDoor(door2);
      door.openMe();
    }
    for (NpcInstance npc : GameObjectsStorage.getAllByNpcId(25614, false))
    {
      npc.deleteMe();
    }
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

      door.setReflection(this);
      door.setIsInvul(true);
      door.spawnMe(template.getLoc());
      if (template.isOpened())
      {
        door.openMe();
      }
      _doors.put(template.getNpcId(), door);
    }
    initDoors();
    if (!zones.isEmpty())
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

      door.setReflection(this);
      door.setIsInvul(info.isInvul());
      door.spawnMe(info.getTemplate().getLoc());
      if (info.isOpened())
      {
        door.openMe();
      }
      _doors.put(info.getTemplate().getNpcId(), door);
    }
    initDoors();
    if (!zones.isEmpty())
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

  public void openDoor(int doorId)
  {
    DoorInstance door = _doors.get(doorId);
    if (door != null)
    {
      door.openMe();
    }
  }
 
  /**
   * Method closeDoor.
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

        if (targ.isDoor())
        {
          DoorInstance target = (DoorInstance) targ;
          if (!target.isOpen() && ((target.getKey() > 0) || Rnd.chance(_unlockPower - (target.getLevel() * 100))))
          {
            target.openMe((Player) activeChar, true);
          }
          else
          {
            activeChar.sendPacket(Msg.YOU_HAVE_FAILED_TO_UNLOCK_THE_DOOR);
          }
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

    public void runImpl()
    {
      for(int doorID : DOORS)
      {
        DoorInstance door = ReflectionUtils.getDoor(doorID);
        door.openMe();
      }
    }
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

    if (set != null)
    {
      for (int i : set.toArray())
      {
        DoorInstance doorToOpen = ReflectionUtils.getDoor(i);
        doorToOpen.openMe();
        ThreadPoolManager.getInstance().schedule(new DoorClose(doorToOpen), 120 * 1000L);
      }
    }
  }
 
 
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

   * @param doorId int
   */
  private static void openDoor(int doorId)
  {
    DoorInstance door = ReflectionUtils.getDoor(doorId);
    door.openMe();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.instances.DoorInstance.openMe()

        boolean open = Integer.parseInt(val) == 1;
        while(st.hasMoreTokens())
        {
          DoorInstance door = ReflectionUtils.getDoor(Integer.parseInt(st.nextToken()));
          if(open)
            door.openMe(player, true);
          else
            door.closeMe(player, true);
        }
      }
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.