Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance.spawnMe()


            {
                door.decayMe()// Kill current if not killed already
                door = DoorTable.parseList(_doorDefault.get(i));
                if (isDoorWeak)
                    door.setCurrentHp(door.getMaxHp() / 2);
          door.spawnMe(door.getX(), door.getY(),door.getZ());
          getDoors().set(i, door);
            }
            else if (door.getOpen() == 0)
                door.closeMe();
        }
View Full Code Here


                        + ";" + rs.getInt("hp")
                        + ";" + rs.getInt("pDef")
                        + ";" + rs.getInt("mDef"));

                L2DoorInstance door = DoorTable.parseList(_doorDefault.get(_doorDefault.size() - 1));
        door.spawnMe(door.getX(), door.getY(),door.getZ());
                _doors.add(door);
                DoorTable.getInstance().putDoor(door);
            }

            statement.close();
View Full Code Here

            if (door.getCurrentHp() <= 0)
            {
                door.decayMe()// Kill current if not killed already
                door = DoorTable.parseList(_doorDefault.get(i));
                if (isDoorWeak) door.setCurrentHp(door.getMaxHp() / 2);
          door.spawnMe(door.getX(), door.getY(),door.getZ());
          getDoors().set(i, door);
            }
            else if (door.getOpen() == 0)
                door.closeMe();
        }
View Full Code Here

        if (line.trim().length() == 0 || line.startsWith("#"))
          continue;

        L2DoorInstance door = parseList(line);
        _staticItems.put(door.getDoorId(), door);
        door.spawnMe(door.getX(), door.getY(),door.getZ());
        ClanHall clanhall = ClanHallManager.getInstance().getNearbyClanHall(door.getX(), door.getY(), 500);
        if (clanhall != null)
        {
            clanhall.getDoors().add(door);
            door.setClanHall(clanhall);
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.