Examples of spawnMe()


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

          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

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

      if(door.getCurrentHp() <= 0)
      {
        door.decayMe(); // Kill current if not killed already
        door = DoorTable.parseList(_doorDefault.get(i));

        door.spawnMe(door.getX(), door.getY(), door.getZ());
        getDoors().set(i, door);
      }
      else if(door.getOpen())
      {
        door.closeMe();
View Full Code Here

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

      {
        // Create list of the door default for use when respawning dead doors
        _doorDefault.add(rs.getString("name") + ";" + rs.getInt("id") + ";" + rs.getInt("x") + ";" + rs.getInt("y") + ";" + rs.getInt("z") + ";" + rs.getInt("range_xmin") + ";" + rs.getInt("range_ymin") + ";" + rs.getInt("range_zmin") + ";" + rs.getInt("range_xmax") + ";" + rs.getInt("range_ymax") + ";" + rs.getInt("range_zmax") + ";" + 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);

        door = null;
      }
View Full Code Here

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

        }
        else {
          door.setCurrentHpDirect(door.getMaxHp());
        }

        door.spawnMe(door.getX(), door.getY(), door.getZ());
        getDoors().set(i, door);
      }
      else if(door.getOpen())
      {
        door.closeMe();
View Full Code Here

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

      {
        // Create list of the door default for use when respawning dead doors
        _doorDefault.add(rs.getString("name") + ";" + rs.getInt("id") + ";" + rs.getInt("x") + ";" + rs.getInt("y") + ";" + rs.getInt("z") + ";" + rs.getInt("range_xmin") + ";" + rs.getInt("range_ymin") + ";" + rs.getInt("range_zmin") + ";" + rs.getInt("range_xmax") + ";" + rs.getInt("range_ymax") + ";" + rs.getInt("range_zmax") + ";" + 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);

        door = null;
      }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2EffectPointInstance.spawnMe()

      }
    }
    getEffects(caster, effectPoint, false, false, false);
   
    effectPoint.setIsInvul(true);
    effectPoint.spawnMe(x, y, z);
  }
}
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2EffectPointInstance.spawnMe()

        y = wordPosition.getY();
        z = wordPosition.getZ();
      }
    }
    effectPoint.setIsInvul(true);
    effectPoint.spawnMe(x, y, z);

    _actor = effectPoint;
   
//    skill_task = new SigmetMDAMTask();
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance.spawnMe()

  {
    L2ItemInstance i;

    // Init the dropped L2ItemInstance and add it in the world as a visible object at the position where mob was last
    i = ItemTable.getInstance().createItem("Combat", _itemId, 1, null, null);
    i.spawnMe(_location.getX(), _location.getY(), _location.getZ());
    itemInstance = i;
    i = null;
  }

  public synchronized void unSpawnMe()
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MinionInstance.spawnMe()

      spawnConstant *= -1;
    }

    int newY = master.getY() + spawnConstant;

    monster.spawnMe(newX, newY, master.getZ());

    if(Config.DEBUG)
    {
      _log.fine("Spawned minion template " + minionTemplate.npcId + " with objid: " + monster.getObjectId() + " to boss " + master.getObjectId() + " ,at: " + monster.getX() + " x, " + monster.getY() + " y, " + monster.getZ() + " z");
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2MonsterInstance.spawnMe()

        L2MonsterInstance questMob = new L2MonsterInstance(IdFactory.getInstance().getNextId(), template);
        questMob.setHeading(100);
        questMob.getStatus().setCurrentHpMp(questMob.getMaxHp(), questMob.getMaxMp());
        if(mobCounter == 1)
        {
          questMob.spawnMe(57069, -91797, -1360);
        }
        else if(mobCounter == 2)
        {
          questMob.spawnMe(58838, -92232, -1354);
        }
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.