Package com.l2jfrozen.gameserver.ai.special.manager

Source Code of com.l2jfrozen.gameserver.ai.special.manager.AILoader

/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package com.l2jfrozen.gameserver.ai.special.manager;

import java.util.logging.Logger;

import com.l2jfrozen.Config;
import com.l2jfrozen.gameserver.ai.custom.KamalokaCoT;
import com.l2jfrozen.gameserver.ai.custom.KamalokaDvC;
import com.l2jfrozen.gameserver.ai.custom.KamalokaGc;
import com.l2jfrozen.gameserver.ai.special.Antharas;
import com.l2jfrozen.gameserver.ai.special.Baium;
import com.l2jfrozen.gameserver.ai.special.Barakiel;
import com.l2jfrozen.gameserver.ai.special.Core;
import com.l2jfrozen.gameserver.ai.special.FairyTrees;
import com.l2jfrozen.gameserver.ai.special.Frintezza_l2j;
import com.l2jfrozen.gameserver.ai.special.Golkonda;
import com.l2jfrozen.gameserver.ai.special.Gordon;
import com.l2jfrozen.gameserver.ai.special.Hallate;
import com.l2jfrozen.gameserver.ai.special.Kernon;
import com.l2jfrozen.gameserver.ai.special.Monastery;
import com.l2jfrozen.gameserver.ai.special.Orfen;
import com.l2jfrozen.gameserver.ai.special.QueenAnt;
import com.l2jfrozen.gameserver.ai.special.SummonMinions;
import com.l2jfrozen.gameserver.ai.special.Transform;
import com.l2jfrozen.gameserver.ai.special.Valakas;
import com.l2jfrozen.gameserver.ai.special.VarkaKetraAlly;
import com.l2jfrozen.gameserver.ai.special.Zaken;
import com.l2jfrozen.gameserver.ai.special.ZombieGatekeepers;
import com.l2jfrozen.gameserver.thread.ThreadPoolManager;

/**
* @author qwerty
*/

public class AILoader
{
  private static final Logger _log = Logger.getLogger(AILoader.class.getName());

  public static void init()
  {
    _log.info("AI load:");
   
    _log.info(" - Antharas");
    ThreadPoolManager.getInstance().scheduleAi(new Antharas(-1, "antharas", "ai"), 100);
   
    _log.info(" - Baium");
    ThreadPoolManager.getInstance().scheduleAi(new Baium(-1, "baium", "ai"), 200);
   
    _log.info(" - Core");
    ThreadPoolManager.getInstance().scheduleAi(new Core(-1, "core", "ai"), 300);
   
    _log.info(" - Queen Ant");
    ThreadPoolManager.getInstance().scheduleAi(new QueenAnt(-1, "queen_ant", "ai"), 400);
   
    //_log.info(" - Van Halter");
    //ThreadPoolManager.getInstance().scheduleAi(new VanHalter(-1, "vanhalter", "ai"), 500);
    _log.info(" - Gordon");
    ThreadPoolManager.getInstance().scheduleAi(new Gordon(-1, "Gordon", "ai"), 600);
   
    _log.info(" - Monastery");
    ThreadPoolManager.getInstance().scheduleAi(new Monastery(-1, "monastery", "ai"), 700);
   
    _log.info(" - Transform");
    ThreadPoolManager.getInstance().scheduleAi(new Transform(-1, "transform", "ai"), 800);
    _log.info(" - Fairy Trees");
    ThreadPoolManager.getInstance().scheduleAi(new FairyTrees(-1, "FairyTrees", "ai"), 900);
    _log.info(" - Summon Minions");
    ThreadPoolManager.getInstance().scheduleAi(new SummonMinions(-1, "SummonMinions", "ai"), 1000);
    _log.info(" - Zombie Gatekeepers");
    ThreadPoolManager.getInstance().scheduleAi(new ZombieGatekeepers(-1, "ZombieGatekeepers", "ai"), 1100);
    //_log.info(" - Ice Fairy Sirra");
    //ThreadPoolManager.getInstance().scheduleAi(new IceFairySirra(-1, "IceFairySirra", "ai"), 1200);
    _log.info(" - Golkonda");
    ThreadPoolManager.getInstance().scheduleAi(new Golkonda(-1, "Golkonda", "ai"), 1300);
    _log.info(" - Hallate");
    ThreadPoolManager.getInstance().scheduleAi(new Hallate(-1, "Hallate", "ai"), 1400);
    _log.info(" - Kernon");
    ThreadPoolManager.getInstance().scheduleAi(new Kernon(-1, "Kernon", "ai"), 1500);
    _log.info(" - Varka/Ketra Ally");
    ThreadPoolManager.getInstance().scheduleAi(new VarkaKetraAlly(-1, "Varka Ketra Ally", "ai"), 1600);
    _log.info(" - Barakiel");
    ThreadPoolManager.getInstance().scheduleAi(new Barakiel(-1, "Barakiel", "ai"), 1700);
   
    _log.info(" - Orfen");
    ThreadPoolManager.getInstance().scheduleAi(new Orfen(-1, "Orfen", "ai"), 1800);
   
    _log.info(" - Zaken");
    ThreadPoolManager.getInstance().scheduleAi(new Zaken(-1, "Zaken", "ai"), 1900);
   
    _log.info(" - Frintezza");
    ThreadPoolManager.getInstance().scheduleAi(new Frintezza_l2j(-1, "Frintezza", "ai"), 2000);
   
    _log.info(" - Valakas");
    ThreadPoolManager.getInstance().scheduleAi(new Valakas(-1, "valakas", "ai"), 2100);
   
    if (Config.K1_ENABLE_KAMALOKA) {
      _log.info(" - Kamaloka - CoT");
      ThreadPoolManager.getInstance().scheduleAi(new KamalokaCoT(-1, "KamalokaCoT", "ai"), 2000)
    }
   
    if (Config.K2_ENABLE_KAMALOKA) {
      _log.info(" - Kamaloka - DvC");
      ThreadPoolManager.getInstance().scheduleAi(new KamalokaDvC(-1, "KamalokaDvC", "ai"), 2000)
    }
          
    if (Config.K3_ENABLE_KAMALOKA) {
      _log.info(" - Kamaloka - Gc");
      ThreadPoolManager.getInstance().scheduleAi(new KamalokaGc(-1, "KamalokaGc", "ai"), 2000)
    }
   
   
   
  }
}
TOP

Related Classes of com.l2jfrozen.gameserver.ai.special.manager.AILoader

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.