Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2FortEnvoyInstance$DeSpawn


          try
          {
            int castle_id = Integer.parseInt(st.nextToken());
            int npc_id = Integer.parseInt(st.nextToken());
            Location loc = new Location(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()));
            L2NpcInstance envoyNpc = new L2FortEnvoyInstance(IdFactory.getInstance().getNextId(), NpcTable.getTemplate(npc_id), castle_id);
            envoyNpc.setCurrentHpMp(envoyNpc.getMaxHp(), envoyNpc.getMaxMp(), true);
            envoyNpc.setXYZInvisible(loc.correctGeoZ());
            envoyNpc.setSpawnedLoc(envoyNpc.getLoc());
            envoyNpc.setHeading(loc.h);
            _envoyNpcs.add(envoyNpc);
          }
          catch(Exception e)
          {
            _log.warning("Error while loading envoy(s) for " + fortress.getName());
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.instances.L2FortEnvoyInstance$DeSpawn

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.