Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2CommanderInstance


      _commanders = new FastList<L2CommanderInstance>();
    }

    for(SiegeSpawn _sp : FortSiegeManager.getInstance().getCommanderSpawnList(Id))
    {
      L2CommanderInstance commander;

      commander = new L2CommanderInstance(IdFactory.getInstance().getNextId(), NpcTable.getInstance().getTemplate(_sp.getNpcId()));
      commander.setCurrentHpMp(commander.getMaxHp(), commander.getMaxMp());
      commander.setHeading(_sp.getLocation().getHeading());
      commander.spawnMe(_sp.getLocation().getX(), _sp.getLocation().getY(), _sp.getLocation().getZ() + 50);

      _commanders.add(commander);
      commander = null;
    }
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2CommanderInstance

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.