Package l2p.gameserver.model.instances

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


            L2NpcInstance commanderNpc = new L2SupportUnitInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(npc1_id));
            commanderNpc.setCurrentHpMp(commanderNpc.getMaxHp(), commanderNpc.getMaxMp(), true);
            commanderNpc.setXYZInvisible(loc.correctGeoZ());
            commanderNpc.setSpawnedLoc(commanderNpc.getLoc());
            commanderNpc.setHeading(loc.h);
            commanderNpc.spawnMe();
            _commanderNpcs.add(commanderNpc);
            _commanderSpawns.add(new SiegeSpawn(fortress.getId(), loc, npc2_id));
          }
          catch(Exception 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.