Package com.l2jfrozen.gameserver.templates

Examples of com.l2jfrozen.gameserver.templates.L2NpcTemplate


    }
   
    //olympiad mod
    public static void spawnEventNpc2()
    {
      L2NpcTemplate tmpl2 = NpcTable.getInstance().getTemplate(_npc2Id);

      try
      {
        _npc2Spawn = new L2Spawn(tmpl2);
        _npc2Spawn.setLocx(_npc2X);
View Full Code Here


    }
   
    //olympiad mod
    public static void spawnEventNpc3()
    {
      L2NpcTemplate tmpl3 = NpcTable.getInstance().getTemplate(_npc3Id);

      try
      {
        _npc3Spawn = new L2Spawn(tmpl3);
        _npc3Spawn.setLocx(_npc3X);
View Full Code Here

  public void useSkill(L2Character caster, L2Object[] targets)
  {
    if (caster.isAlikeDead())
      return;
   
    L2NpcTemplate template = NpcTable.getInstance().getTemplate(_effectNpcId);
    L2EffectPointInstance effectPoint = new L2EffectPointInstance(IdFactory.getInstance().getNextId(), template, caster);
    effectPoint.getStatus().setCurrentHp(effectPoint.getMaxHp());
    effectPoint.getStatus().setCurrentMp(effectPoint.getMaxMp());
    L2World.getInstance().storeObject(effectPoint);
   
View Full Code Here

    {
      if(i < 31921 || i > 31924)
      {
        continue;
      }
      L2NpcTemplate template1 = NpcTable.getInstance().getTemplate(i);
      if(template1 == null)
      {
        continue;
      }
      try
View Full Code Here

      PreparedStatement statement = con.prepareStatement("SELECT id, count, npc_templateid, locx, locy, locz, heading, respawn_delay, key_npc_id FROM four_sepulchers_spawnlist Where spawntype = ? ORDER BY id");
      statement.setInt(1, 0);
      ResultSet rset = statement.executeQuery();

      L2Spawn spawnDat;
      L2NpcTemplate template1;

      while(rset.next())
      {
        template1 = NpcTable.getInstance().getTemplate(rset.getInt("npc_templateid"));
        if(template1 != null)
View Full Code Here

  }

  private void initKeyBoxSpawns()
  {
    L2Spawn spawnDat;
    L2NpcTemplate template;

    for(int keyNpcId : _keyBoxNpc.keySet())
    {
      try
      {
View Full Code Here

        statement2.setInt(1, keyNpcId);
        statement2.setInt(2, 1);
        ResultSet rset2 = statement2.executeQuery();

        L2Spawn spawnDat;
        L2NpcTemplate template1;

        _physicalSpawns = new FastList<L2Spawn>();

        while(rset2.next())
        {
View Full Code Here

        statement2.setInt(1, keyNpcId);
        statement2.setInt(2, 2);
        ResultSet rset2 = statement2.executeQuery();

        L2Spawn spawnDat;
        L2NpcTemplate template1;

        _magicalSpawns = new FastList<L2Spawn>();

        while(rset2.next())
        {
View Full Code Here

        statement2.setInt(1, keyNpcId);
        statement2.setInt(2, 5);
        ResultSet rset2 = statement2.executeQuery();

        L2Spawn spawnDat;
        L2NpcTemplate template1;

        _dukeFinalSpawns = new FastList<L2Spawn>();

        while(rset2.next())
        {
View Full Code Here

        statement2.setInt(1, keyNpcId);
        statement2.setInt(2, 6);
        ResultSet rset2 = statement2.executeQuery();

        L2Spawn spawnDat;
        L2NpcTemplate template1;

        _emperorsGraveSpawns = new FastList<L2Spawn>();

        while(rset2.next())
        {
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.templates.L2NpcTemplate

Copyright © 2018 www.massapicom. 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.