Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2CommanderInstance.spawnMe()


      L2CommanderInstance commander = new L2CommanderInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(sp.getNpcId()));
      commander.setCurrentHpMp(commander.getMaxHp(), commander.getMaxMp(), true);
      commander.setXYZInvisible(sp.getLoc().correctGeoZ());
      commander.setSpawnedLoc(commander.getLoc());
      commander.setHeading(sp.getLoc().h);
      commander.spawnMe();
      _commanders.add(commander);
    }
  }

  public void operateGuardDoors(boolean open, int commanders_count)
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.