Package l2p.gameserver.model.instances

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


    for(int i = 0; i < getDoors().size(); i++)
    {
      L2DoorInstance door = getDoors().get(i);
      if(door.getCurrentHp() <= 0) // Сломанные восстанавливаем
      {
        door.decayMe(); // Kill current if not killed already
        door.spawnMe();
      }
      door.setCurrentHp(isDoorWeak ? door.getMaxHp() / 2 : door.getMaxHp(), true);
      door.closeMe();
    }
View Full Code Here


      while(rset.next())
      {
        id = rset.getInt("id");
        L2DoorInstance door = DoorTable.getInstance().getDoor(rset.getInt("id"));
        door.setSiegeUnit(this);
        door.decayMe();
        door.spawnMe();
        _doors.add(door);
      }
    }
    catch(Exception e)
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.