}
try
{
statement = con.prepareStatement("SELECT boss_id, minion_id, amount FROM minions");
rs = statement.executeQuery();
L2MinionData minionDat;
L2NpcTemplate npcDat;
int cnt = 0;
while(rs.next())
{
int raidId = rs.getInt("boss_id");
npcDat = _npcs[raidId];
minionDat = new L2MinionData();
minionDat.setMinionId(rs.getInt("minion_id"));
minionDat.setAmount(rs.getByte("amount"));
npcDat.addRaidData(minionDat);
cnt++;
}
_log.info("NpcTable: Loaded " + cnt + " Minions.");
}