Package net.sf.l2j.gameserver.templates

Examples of net.sf.l2j.gameserver.templates.L2NpcTemplate.addRaidData()


          npcDat = _npcs.get(raidId);
          minionDat = new L2MinionData();         
          minionDat.setMinionId(minionData.getInt("minion_id"));
          minionDat.setAmountMin(minionData.getInt("amount_min"));
          minionDat.setAmountMax(minionData.getInt("amount_max"));
          npcDat.addRaidData(minionDat);
          cnt++;
        }

        minionData.close();
        statement4.close();
View Full Code Here


      if (classIds != null)
        for (ClassId classId : classIds)
          created.addTeachInfo(classId);

      for (L2MinionData minion : minions)
        created.addRaidData(minion);
    }
    catch (Exception e)
    {
      _log.warning("NPCTable: Could not reload data for NPC " + id + ": " + 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.